There is a way to get it but I think the way you showed...like you said...is in DBPro (to cheap to buy pro
) anyway..i have another problem look at this new code
rem Load stone floor bitmap into image
LOAD BITMAP "GRASS15.bmp",1
GET IMAGE 1,0,0,128,128
DELETE BITMAP 1
rem Activate manual syncronization and hide mouse
SYNC ON
Sync Rate 60
HIDE MOUSE
AUTOCAM OFF
rem Load and Place Trees
For T= 11 TO 51
Load Object "Tree2.x",T
Scale Object T,50000,50000,50000
Position Object T,RND(20000),400,RND(20000)
Next T
rem Make a 3D landscape
MAKE MATRIX 1,10000.0,10000.0,25,25
rem Load and Loop Music
Load Music "Final.mid",1
Play Music 1
Loop Music 1
rem Set Distance and Color of Fog
Fog On
Fog Color 0
Fog Distance 3000
rem Texture landscape
PREPARE MATRIX TEXTURE 1,1,1,1
`Create Character
Load Object "Walk.x",10
rem Begin loop
DO
Rem Store Object angle Y in aY#
aY# = Object angle Y(10)
Rem Control input for camera
If Upkey()=1 then Move object 10,10
If Leftkey()=1 then Yrotate object 10,Wrapvalue(aY#-5)
If Rightkey()=1 then Yrotate object 10,Wrapvalue(aY#+5)
Rem get player object position and store in X# and Z#
X# = Object position x(10)
Z# = Object position z(10)
rem Character Animations
If Upkey()=1 then Loop Object 10, 5, 24
If Upkey()=0 then Stop Object 10
IF Upkey()=0 then Loop Object 10,1,1
Rem get new camera position and store in cZ# and cX#
cZ# = Newzvalue(Z#,aY#-180,100)
cX# = Newxvalue(X#,aY#-180,100)
Rem position camera
Position Camera cX#,100,cZ#
Rem point the camera at the player object
Point camera X#,50,Z#
rem Refresh screen
SYNC
rem End loop
LOOP
I cant figure out how to get him to turn around so he walks forward instead of backwards. This is my last post for the night (Bed for school
) Anyway ill take my Manual to school with me and try to find different ways to work it out when i get back. But if any of you nice people wanna help I'll make them let me use the net at school to check the posts. A little help with this and when I finish ill start asking about monsters walking around lol.
Once again thanks in advance for any help I might get.