aspose file tools*
The moose likes Android and the fly likes move sprite around screen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "move sprite around screen" Watch "move sprite around screen" New topic
Author

move sprite around screen

wayne ferguson
Greenhorn

Joined: Feb 22, 2013
Posts: 4
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
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: move sprite around screen