Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

move sprite around screen

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43075
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Hey! You're stepping on my hand! Help me tiny ad!
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic