Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Location
    bangalore
    Posts
    1
    Rep Power
    0

    Default how to apply gravity in tossing an egg

    hi ,
    i am new to java, i have been working on an egg game using jdk1.1..
    i have to toss an egg with the gravity,we are using timer function to run the animation.. limitation in my animation class is it does not take float values,i should give only integer values, can anyone please guide me..

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    First of all, what are you trying to do with JDK 1.1. Why don't you updated with the latest. I cannot see any reason to stick with old versions.

    Regarding your question, what you have done so far? Show your effort here first of all. Are you asking from us to write the code for you? Keep in mind lol, this is a forum.

    Good luck! :)

Similar Threads

  1. Kindly Help me to apply Stylesheet
    By AMATYA-CHANAKYA in forum Advanced Java
    Replies: 0
    Last Post: 03-18-2008, 06:30 AM
  2. Replies: 1
    Last Post: 08-07-2007, 07:40 AM

Posting Permissions

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