Matt Rix
Matt Rix
If someone sets sprite.element and then tries to get sprite.width, it will be incorrect because the actual texture rect is created during the update loop. There should probably be a...
GoKit is great, so I probably don't need to make anything new, but I had some neat ideas today about how a very simple tween lib could be set up.
This little script makes switching to full-screen much more configurable. Futile already does some of this anyway, but there are some other good ideas here: http://games.powerword.de/2012/09/unity-webplayer-full-screen-issue/
Currently the FSliceButton is basically a clone of the FButton code (so any fixes/changes to one have to be made to the other). Also, it currently has hardcoded slice values...
Create an FBaseButton class with basic button functionality in it, so that it's easier to create variations on the button. The FButton class would still exist and act the same...
Allow a node to exist in the hierarchy of one FContainer for depth purposes, and another FContainer for transform/position reasons, this will give people an easier way of controlling layers...
Should be super easy to make, and it'll be handy for background stuff that is guaranteed to not need any alpha blending or depth checks.
Having a global resourceScale is alright, but I think it'd make more sense to have a per-atlas resourceScale that defaults to the global resourceScale, but can be changed.