Violet Martin
Violet Martin
Silly question that I can't quite get from reading the code: what is the intended difference between this and the existing Crafty.zoom, which does move towards a point while it...
Something to think about: the zoom function api is written as though the state of the viewport is determined by a scale factor and a center position. But to actually...
There are a few ways to accomplish this right now: - If you're targeting the web, you can just use the 'old-school' approach of including a script element pointing to...
Having a separate method for setting x/y/w/h in one swoop would be reasonable, but I think `attr` should remain the general purpose setter. (There's already an internal method called `_setPosition`...
I've thought about this in the past, and I think the best approach would be to create a new "ImageText" component that uses a spritemap, as per approach #2. That...
From everything you've said, it sounds like it involves some combination of using WebGL and having the game run for a while. This could be a bug in how we...
The texture manager prefers to swap out smaller images, so if the bug is there adding those pixels could have changed the behavior.
> After how many images should he begin to swap? At the moment I have only 13 textures, but it will be a lot more in the future. AFAIK it...
You should be able to define multiple sheets per image, if you have mixed sizes. WebGL cares about the image URL only.
I suspect there is a bug with texture switching somewhere -- I'm going to reopen this until I can at least attempt to reproduce.