realbasic-games
[Top] [All Lists]

Gravity, Physics etc.

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Gravity, Physics etc.
From: Josh Farquhar <farquhars at mac dot com>
Date: Tue, 14 Dec 2004 09:27:03 +1100
Delivered-to: realbasic-games at lists dot realsoftware dot com
Hi again,
For my major project in software, I am programming a collection of mini-games. However, I have already hit a snag. I am not too good with advanced maths or physics or anything, so I am not sure how to program in gravity. The mini-game is one where you click on a ball to bounce it back up, before it hits the ground. http://www.neopets.com/games/zurroball.phtml is an example. I have managed some simple gravity code, where I add a certain number to a variable called VertVelocity, which I then add to the sprites Y position. This looks OK, but I know there must be something that will look a lot better. I also need the ball to bounce off walls etc. too. Any help would be appreciated! If I have missed out on telling you anything, just ask

-Josh

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>