Hi,
I’m an experienced Java developer but new at writing games. I’m trying to implement a 2D sidescrolling airplane-type game. I’ve been reading tutorials from all over, but would like to ask some more specific questions.
The main character sprite will be a plane that flies left/right and is able to loop. The base image for the plane would be a nice horizontal picture of the plane. The plane should be able to fly at any angle. In order to render the plane at an arbitrary angle, I was going to rotate on demand - during the update process. Is it common to rotate on demand, or should I pre-generate frames for the plane in every possible position and store them in an array somewhere? Perhaps I should point out that the image will be in the region of 50x30 pixels when horizontal.
While I have plenty more questions, that’s probably most pressing for now.
Thanks