I do not have darkphysics, therefore, is there anyway to implement gravity with this code im using right now?
sound = 0
sync on
sync rate 60
make object cube 1,25
make light 1
set light range 1,90000
sync on
sync rate 0
message = 0
make object cube 2,25
load image "floor.png",2
make matrix 1,500,500,50,50
position matrix 1,0,-15,0
prepare matrix texture 1,2,1,1
load music "jumpstyle.mp3",1
Y#=0
set object collision on 1
set object collision to boxes 1
do
texture object 2,2
position object 2,0,0,100
X=object position X(1)
Y=object position Y(1)
Z=object position Z(1)
AY#=object angle Y(1)
AX#=object angle X(1)
AZ#=object angle Z(1)
set camera to follow X,Y,Z,wrapvalue(AY#),100,50,1,0
if rightkey()=1 then inc AY#,3.0:yrotate object 1,wrapvalue(AY#)
if leftkey()=1 then dec AY#,3.0:yrotate object 1,wrapvalue(AY#)
if upkey()=1 then move object 1,3
if downkey()=1 then move object 1,-3
print "X:", object position X(1)
print "Y:", object position Y(1)
print "Z:", object position Z(1)
center text 0,0,"X"
center text 0,0,"Y"
center text 0,0,"Z"
sync
loop
onhcet d(-_-)b techno