I hang my head in shame! I'm just finishing up my first game in DBPro (a 2D puzzler) and was experimenting with the 3D command set to get started on my next project.
I wanted to set up a special effect that you often see in RPGs of a character casting a spell being uplit by a funky spotlight, with some textured plains of arcane symbols dancing round them.
I thought that I would start with a sphere as my character, and a normal spotlight.
And my light is just not appearing.
Here is my code, could someone just give me a gentle nudge in the right direction.
Cheers!
sync on: sync rate 60: autocam off: color backdrop rgb(0,0,0)
make object sphere 1,5
position object 1,0,0,0
position camera 0,50,50
point camera 0,0,0
set spot light 0,90,130
position light 0,0,0,0
point light 0,0,0,1000
set light range 0,1000
color light 0,rgb(255,0,0)
do
sync
loop