Patern loading/using
I read all examples and saw that every time people draw image as big as they need it.
I need to have street in my game. Nothing special, it could be as long as 5px and then repeated all over the place there I need.
In webdesign you can set background url and then choose repeat, repeat-x, repeat-y, no-repeat.
Can we have something similar in gameQuery in near future?
I need to have street in my game. Nothing special, it could be as long as 5px and then repeated all over the place there I need.
In webdesign you can set background url and then choose repeat, repeat-x, repeat-y, no-repeat.
Can we have something similar in gameQuery in near future?
Comments
- if you set an animation as HORIZONTAL you can make the sprite bigger vertically than the animation and it will repeat along the y-axis.
- if you set an animation as VERTICAL you can make it bigger horizontally and it will repeat along the x-axis.