Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

move sprite around screen

 
wayne ferguson
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently trying to learn java so I can develop some apps and games for mobile device. I am currenty working on my first project and have created a basic image sprite. what I want to do now it add some functionality to be able to move the ship (sprite) around the screen preferably using a dpad touch emulation. I want the image to rotate in the direction its heading just like a ship would. Can anyone point me and give me some examples to achieve what I need it to do.

my project so far can be downloaded from Ship Shapes Beta
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I doubt that anyone will download a zip file from some site of unknown provenance, and then try to figure out what all the involved pieces are.

Why don't you describe here what specific problem you're facing, along with some selected code excerpts that demonstrate what you have so far?

Since you mention a touch screen, have you been able to detect and track touch gestures in your code? If not, that's where you could start, irrespective of what the gestures should ultimately accomplish.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic