OK, I think it has to do with your camera. Position and pointing. You might want to play around with that. However, here is a favorite example that I already have dealing with objects. I combined it with your code.
rem my favorite example showing not only an object shape but also how to move an object around
rem I added all of your code into the code I already have.
Global frog = 1
global frogspeed = 2
global trafficspeed =10
global dim traffic(9)
global lives = 3
global dim pond(1)
global pondflag
global score
`
global angle as integer
global radius as integer
global posx as integer
global posy as integer
global posz as integer
`initialize program
sync on
sync rate 60
hide mouse
backdrop on
color backdrop rgb(0,40,40)
`for this example we don't want autocam off
`autocam off
`create box
make object box frog,20,25,20
color object frog,RGB(0,255,0)
set object collision on frog
position object frog,0,-100,0
`the following won't work probably because the camera might be in the wrong place and/or pointing wrong
`position camera 0,0,0
`point camera 0,-100,0
`reposition the camera to get the whole view
pitch camera down 25
move camera -200
`set initial angle for box
angle = 216
radius=150
`start the loop
repeat
`calculate x position using cosine
posx = cos(angle) * radius
`calculate y position using sine
posz = sin(angle) * radius
`increment the angle
angle = angle + 1
`move and rotate the object
position object frog, posx, 0, posz
xrotate object frog,object angle x(frog) + 1
yrotate object frog,object angle y(frog) + .05
`display frame rate and update the screen
text screen width()-80,screen height()-30,"FPS: " + str$(SCREEN fps())
sync
until escapekey() = 1
`wait key
end
Addendum:
I have to say that I'm not familiar with the Dark Principles tutorial. Although most tutorial will take you a step at a time, or a few lines of code at a time and it keeps building. That may be the case here. Where the few lines of code that you are working with at the beginning of the tutorial is not complete and it would make sense that it may not be working the way you are expecting it to work.
I just added code so that you would be able to see the box. I changed the background colour only because that is what my saved code was. You will notice that your box construct is the same and therefore your box will show up. You have to understand the concept of the camera a little better perhaps.