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...
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...
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))
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...
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
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
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?
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...
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...