Here is the most basic example that comes to mind:
rem Build objects
make object cube 1, 1
make object box 2, 100, 5, 100
move object up 1, 100
rem Create settings
global Bounce#
global Gravity#
Bounce# = 0.0001
Gravity# = 0.1
rem Run the engine
do
rem Gravity or bounce
if object collision(1, 2)
move object up 1, Bounce#
rem Allow user to press spacebar to invoke jump action
if spacekey()
move object up 1, 20
endif
else
move object down 1, Gravity#
endif
rem Watch the object
point camera object position x(1), object position y(1), object position z(1)
loop
Note that the Y axis is up.
Next time you need any assistance, have a look in the snippets, codebase or newcomers section. There are also some tutorials on my site.