Hello check out the incredible jumping object!!!
Make object cube 1,5 : Position object 1,-3,-15,0 : Color object 1,rgb(255,255,0)
Make object cube 2,5 : Position object 2,3,-15,0 : Color object 2,rgb(0,255,0)
Make object cube 3,50 : Position object 3,0,-50,0
p=0
p2=0
gravity=1
Do
If leftkey()=1 then move object left 2,0.5 : left=1 : right=0 : up=0 : down=0
If rightkey()=1 then move object right 2,0.5 : left=0 : right=1 : up=0 : down=0
If upkey()=1 then move object 2,object angle z(2)+0.5 : left=0 : right=0 : up=1 : down=0
If downkey()=1 then move object 2,object angle z(2)-0.5 : left=0 : right=0 : up=0 : down=1
If gravity=1 then move object down 1,5
If object collision(1,3) then move object up 1,5
If gravity=1 then move object down 2,5
If object collision(2,3) then move object up 2,5
If spacekey()=1 then move object up 2,5 : jump=1
If object collision(1,2) and left=1 then move object left 1,1
If object collision(1,2) and right=1 then move object right 1,1
If object collision(1,2) and up=1 then move object 1,object angle z(1)+1
If object collision(1,2) and down=1 then move object 1,object angle z(1)-1
Loop
[/code
There is a only 1 problem when you jump and hold down the spacekey you float.. but i think i did it kind of right though XD
D.C