thank you smiley, and i added the if then for the y axis as well, but there is one problem, the ball
does go up and down, but only one 'jump' or something
sync on
`added this for smoother faster refresh rate or sync rate
sync rate 60
make object sphere 1,1
color object 1,rgb(255,0,0)
`changed this section. Just moved it out of the loop. This will define your initial starting place.
position object 1,-5,0,0
position camera 0,10,-10
do
`just modified this. different than what you had but gives you an example.
IF rightkey()=1 then playerXpos#=playerXpos#+0.5
IF leftkey()=1 then playerXpos#=playerXpos#-0.5
IF upkey()=1 then playerypos#=playerXpos+0.5
IF downkey()=1 then playerypos#=playerXpos-0.5
`position object 1,-5,0,0
`position camera 0,10,-10
point camera 0,0,0
`added this to update your new object position each time the program loops
position object 1,playerXpos#, playerYpos#, playerZpos#
`forgot this. Thats why you had the black screen.
sync
loop
Dude