1. Move moves the cube in the direction it is pointing. Upkey doesn't mean move an object up.
2. It has to be in a loop for the Upkey to work. You aren't using a loop.
3. The cube doesn't move because it's object 2. You are moving object 1 when you press the upkey.
4. Well, you would be if you were using UpKey() properly - it should be If UpKey()=
1 - not 2!
5. Moving anything -1 moves it backwards not forwards-
6. Unless you press the upkey within a fraction of a second, the program has gone past it and is sitting at the Wait Key.
7. Also, you can't use Sync Rate 30 if you've not turn Sync on!
8. And without a Sync in the loop you won't see any screen updates.
9. You shouldn't have turned the backdrop off.
10. You shoiuld have grabbed the star screen as a texture and textured the backdrop with it.
Not bad - 10 problems in such a short snippet!
Fixed version:
Sync On: Sync rate 30
CLS 0: Sync
hide mouse
autocam off
rem create a starry background the size of the screen. The dots are random so you will have a similiar but different sky each time
for star= 1 to 400
dot rnd(640), rnd(480)
next star
Get Image 1,0,0,640,480
Backdrop On: Texture Backdrop 1
rem turn off the 3d screen so you can see the 2d starry background we just made :) NOT!! :)
make object plain 1,230,30
rem make object plain is using a flat 3d mesh as a platform in this example
position camera 1,100,-700
rem we are positioning the camera at 100 xpos. and pullin away from the screen to get a giant picture
make object cube 2,30
position object 2,50,50,50
Do
if upkey()=1 then Position object 2,Object Position X(2),Object Position Y(2)+1,Object Position Z(2)
Sync
Loop
End
Finally, what on earth is that style of indentation you are using? It's insane!! Lol...
TDK_Man