Jump to content



Android: Rotating Bitmaps

  • You cannot reply to this topic
2 replies to this topic

#1 Corona89   Members   -  Reputation: 100

Like
0Likes
Like

Posted 09 February 2012 - 09:11 PM

Hey all, first time posting Posted Image

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 Posted Image 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.

Ad:

#2 frob   Moderators   -  Reputation: 2055

Like
0Likes
Like

Posted 10 February 2012 - 01:48 PM

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?
Recently made a moderator, but still a regular programmer.

#3 Corona89   Members   -  Reputation: 100

Like
0Likes
Like

Posted 11 February 2012 - 10:16 AM

Yes I have. I've done platformers and turn based RPGs as well but this is my first foray into this particular genre.






We are working on generating results for this topic
PARTNERS