Combining the spriteSheets with the frames as an array of images seems to provide better performance. No example is really complete without the use of particles so I had to add some fun there. The ship uses atan2 to generate the angle between the sprite and the mouse location. Then the ship adjusts its Y […]
04.05.2013
03.31.2013
Categories: processing | Add a Comment
I have been trying out a few new styles for making sprite sheets when using processing. The technique I decided to try was putting each frame of a sprite animation as an image in an array. Then during the render of the animation it is a simple image(frame[currentSprite],x,y) call. Previously, I called either copy or […]