Hmmm.... This is very strange.
When i try to run this code it doesn't work, all that comes up is a black screen with the DB mouse on the screen. I ran my other game and it worked fine. i'm wondering if this is a bug or just a problem with my code. Please Help, Take my code and Run it on your computers and tell me if it works.
`|-----------------------------------|
`|Chester The Jester-----------------|
`|By Axel Williams-------------------|
`|With Help From Various other coders|
`|Date Started: 12/7/04--------------|
`|Date Ended: yet to be confirmed----|
`|-----------------------------------|
`set up the game
SYNC ON
SYNC RATE 30
HIDE MOUSE
`Make the Player (Model not found yet.)
MAKE OBJECT SPHERE 1,15
`Make The Level
MAKE MATRIX 1,1000,1000,1,1
`Variables
PlayerMove = 0
angy# = 0
angx# = 0
angz# = 0
`Main Loop
DO
`Controls
`Moving
`Forward
IF UPKEY() = 1
INC PlayerMove
ENDIF
IF PlayerMove > 0
MOVE OBJECT 1,1
DEC PlayerMove
ENDIF
`Backwards
IF Downkey() = 1
DEC PlayerMove
ENDIF
IF PlayerMove < 0
MOVE OBJECT 1,-1
INC PlayerMove
ENDIF
`Left
IF Leftkey() = 1
angy# = angy# - 4
ENDIF
IF Rightkey() = 1
angy# = angy# + 4
ENDIF
ROTATE OBJECT 1,wrapvalue(angy#),wrapvalue(angx#),wrapvalue(angz#)
LOOP
CURRENT PROJECT: Enemy At The Gates