Yes, I know there are many threads on this, but I simply cannot get this code to work:
set display mode 800,600,32,1
sync on
sync rate 60
phy start
autocam off
max_aa=get maximum antialias level()
set antialias level max_aa
hide light 0
set ambient light 30
phy make scene 1,0,2,1
phy set current scene 1
position camera -10,9,-20
point camera 0,0,0
make object cube 1,100
scale object 1,100,1,100
set shadow shading on 1,-1,1000,1
phy make rigid body static box 1
boxheight=10
for x=2 to 200
make object cube x,1
position object x,0,boxheight,0
boxheight=boxheight+1
color object x,rgb(rnd(255),rnd(255),rnd(255))
set shadow shading on x,-1,1000,1
phy make rigid body dynamic box x
next x
make light 1
set point light 1,10,10,10
set light range 1,1000
set shadow light 1,10,10,10,1000
set shadow position 1,0,0,0
do
text 0,0,"YOUR FRAME RATE: "+str$(screen fps())+" FRAMES PER SECOND, WITH A CAP OF 60."
phy update
sync
loop
Shouldn't shadows be working? I don't quite understand what's wrong here. If you don't have Darkphysics, just rem out the phy commands and change boxheight to 0.