jump obje by ozmoz14th Mar 2008 16:51
|
---|
Summary if press space key , obje is jump. Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com MAKE OBJECT SPHERE 1, 10 MAKE OBJECT PLAIN 2, 100, 100 xrotate object 2,90 y#=5 do set cursor 10,10:print "if press spacekey , obje is jump!" if durum=0 and spacekey()=1 then durum=1 if durum=1 then y#=y#+.4 if durum=2 then y#=y#-.4 if y#>80 then durum=2 if y#<5 then durum=0 position object 1,0,y#,0 loop |