Results 1 to 2 of 2

Thread: Moving objects

  1. #1
    rsjava24 is offline Member
    Join Date
    Jan 2010
    Posts
    23
    Rep Power
    0

    Default Moving objects

    Hello! Can i have a sample code of how to move objects in java? I am planning to create a games. Thank you.

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    Quote Originally Posted by rsjava24 View Post
    Hello! Can i have a sample code of how to move objects in java? I am planning to create a games. Thank you.

    this is not trivial, because moving objects imply other code ex. screen scrolling, reaction if bounds reached, reaction if contacting other objects and so on. so, why not use a good book that introduce you in the basics of game animation?

Similar Threads

  1. Moving Box
    By anilanar in forum New To Java
    Replies: 2
    Last Post: 08-30-2009, 01:29 PM
  2. Moving objects - setting different speed
    By Antigol in forum Java 2D
    Replies: 2
    Last Post: 08-14-2009, 02:14 AM
  3. Replies: 1
    Last Post: 01-22-2009, 05:25 PM
  4. moving a file
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-10-2007, 08:52 PM
  5. examples of moving objects
    By fred in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 07:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •