Android: Rotating Bitmaps

Started by
1 comment, last by Corona89 12 years, 2 months ago
Hey all, first time posting happy.png

I'm designing a 2D space shooter for Android and I've run into a big problem. I plan on setting up a virtual joystick on the screen that'll be used to rotate the player's ship. Thing is...I really don't know how to code it unsure.png So I've come here seeking help (Source code if you've got it but I'll take what I can get).

Like I said, first time posting so please let me know if this is in the wrong location or anything. Thanks in advance for any help you can provide.
Advertisement
I'm not sure if that is just rotating a bitmap. Usually a ship is a model. If it is a 3D model it would involve much more than a single rotation. If it is a 2D model you will need to do work elsewhere in your code to manage orientation for future movement.

Are you sure you're up to this project? Have you done basic games like pong and breakout and tetris?
Yes I have. I've done platformers and turn based RPGs as well but this is my first foray into this particular genre.

This topic is closed to new replies.

Advertisement