How to jump?

For my computer science class we have to make a game using xojo. I was wondering if there was an easy way to make an object jump( just the default ones). I want the object to go up, then come back down smoothly.
any help is appreciated :slight_smile:

You could try a simple Timer to move the object.

Check out this 2D engine made for Xojo to see more sophisticated techniques:

Also, check out the Flappy Bird clone at It uses OpenGL so might be beyond where you are at right now (or maybe not!). As Paul says, the simplest way you could get something moving is probably with a Timer.

thanks for the answers, ill check out the physics engine also :slight_smile:

… and you may want to have a look at the animations examples, included in Xojo!

and now I just found a little test which I wrote for myself some time ago: a bouncing arrow. You can download a zipped rbp from here: