Well, I have to be honest. I've looked through tutorials and searched Google for help. Even with through all of Xenocythe's tutorial (which helped quite a bit anyway), but I'm still lost. And reading up on what every command does didn't help me either.
I'm trying to make a simple adventure game, but this is what I need the most help with:
1) I want to have the character face the direction he's going in. Right now he only faces the camera. Here's my code:
Do
walk=0
gameTime=timer()-time `The time elapsed between the start of the game and the current time
MSframe#=gameTime*(movespeed/1000.0)
TSframe#=gameTime*(turnspeed/1000.0)
If Upkey()=1
Move Object 1,MSframe#
walk=1
endif
If Downkey()=1
Move Object 1,-MSframe#
walk=1
endif
If Leftkey()=1
yrotate object 1,90
Move Object 1,-MSframe#
walk=1
endif
If Rightkey()=1
yrotate object 1,-90
Move Object 1,MSframe#
walk=1
endif
yrotate object 1,a#
if walk=0 then loop object 1,1,1
if walk=1 then loop object 1,2,13
rem Track hero with camera
x#=object position x(1)
y#=object position y(1)
z#=object position z(1)
a#=object angle y(1)
d#=100.0
h#=60.0
s#=50.0
set camera to follow x#,y#,z#,a#,d#,h#,s#,1
time=timer()
sync
Loop
2) I'm confused on how to implement lighting, ambients and stuff like that.
3) I also want to know how to add a sky cube, and what the procedure is for that. I know in another engine you used a hollow cube, but I don't think DBPro has hollow cube primitives
Thanks in advance, you've been very help as far as helping me lay the foundation.
a total noob.