Jump to content
  • Advertisement
Sign in to follow this  
Corona89

Android: Rotating Bitmaps

This topic is 2503 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!