Search found 61 matches

by tio
Fri Mar 07, 2014 4:30 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1499104

Re: What's everyone working on? (tigsource inspired)

Ranguna259 wrote:tio in portuguese is uncle :P
If the person is your relative, yes.
Otherwise, it's a colloquial form of "guy" :ultrahappy:
by tio
Fri Mar 07, 2014 4:28 pm
Forum: Libraries and Tools
Topic: Debug draw for box2d physics World
Replies: 30
Views: 24262

Re: Debug draw for box2d physics World

Think of it this way. Always taking care to keep a default state for the system removes a lot of headaches. If you have 200 draw calls in your code, 5 of which are rendered with different colors, you'd only need to setColor for those 5 sprites (a total of 10, once before the sprite and once to rese...
by tio
Fri Mar 07, 2014 2:33 pm
Forum: Libraries and Tools
Topic: Debug draw for box2d physics World
Replies: 30
Views: 24262

Re: Debug draw for box2d physics World

Well, since I don't need to take care about color (in normal circumstances) to draw sprites Only you do, if you intend to draw your sprites in the color as you have them in your image file then you have to set the color to full white, i.e. 255,255,255 or you will start wondering why your sprites su...
by tio
Fri Mar 07, 2014 2:00 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1499104

Re: What's everyone working on? (tigsource inspired)

I'm doing a minecart-theme, rollercoaster-like mechanics game:
https://copy.com/Rktv1IeawDSJ/gameplay.png
(image in a link to don't overload the post (image is too big))
by tio
Fri Mar 07, 2014 1:46 pm
Forum: Libraries and Tools
Topic: Debug draw for box2d physics World
Replies: 30
Views: 24262

Re: Debug draw for box2d physics World

Well, since I don't need to take care about color (in normal circumstances) to draw sprites, I often don't need to set color values. When I do, I restore to whatever state it was before (since previous state was working as expected). Again, if that's not the right way to do, sorry, my bad. I just fo...
by tio
Fri Mar 07, 2014 12:22 pm
Forum: Libraries and Tools
Topic: Debug draw for box2d physics World
Replies: 30
Views: 24262

Re: Debug draw for box2d physics World

I always thought that this was the right way (save current colors, change to draw a thing and change it back), mainly because of bitmap drawing.
Good to know that ^^
by tio
Thu Mar 06, 2014 4:50 pm
Forum: Libraries and Tools
Topic: Debug draw for box2d physics World
Replies: 30
Views: 24262

Re: Debug draw for box2d physics World

There's a little problem in this function: the colors and line widths are not restored at the end of function.
Despite that, it's a very great function :D
by tio
Mon Feb 24, 2014 2:28 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 406
Views: 352924

Re: Löve Frames - A GUI Library

Is there a way to create a frame that will appear on any selected state?

Additionally, if I set a frame to be modal, but its state is not the active one, it is still modal, even if the frame doesn't show on screen. Is this right?
by tio
Fri Dec 13, 2013 4:13 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 406
Views: 352924

Re: Löve Frames - A GUI Library

Move your call to frame:SetSkin("Transp") to the bottom of your console.init function, that should work. Thanks! Works great! :D Another thing: can I add some "dynamic" text on columnlist? (using list, I can put a text object and update it accordingly) Or do I need to iterate ov...
by tio
Fri Dec 13, 2013 12:26 pm
Forum: Libraries and Tools
Topic: Löve Frames - A GUI Library
Replies: 406
Views: 352924

Re: Löve Frames - A GUI Library

Is it possible to change list background color via skin? I've tried to duplicate blue theme color variables, but none of them seems to change it. The variable for list background color in the default skins is skin.controls.list_body_color. I tried to set this value, but without success... Here's my...