Hi all,
Ive got around 10 functions already and ive done some quite cool things but ive got a problem now.
Im my function: DoGetInit(.....)
i am calling: Start_Game()
which is a function here:
Function Start_Game()
CLS
print "GAME STARTED"
sync
`setup game
`game_started$ = "1"
`have moved game_started to doinit
`camera setup variables
Camdist# = 35.0
TrackAngle = 0: Rem 0 - Behind, 180 - Front, 90 & 270 - Sides
ReqCamHeight# = 80.0
`tile sizes
startplaceX=5
startplaceZ=5
`setup light
make light 1 : set directional light 1, 90, 90, 0 : show light 1
-edit-I Forgot to mention, the above function is truncated - im just showing you the bits of code that im having real trouble with.
..Problem? yes of course: all im getting is the "game started" at the top which i put there for debugging - the actual 3d backdrop (standard blue backdrop) appears but i dont get any objects created etc?
Is there something im missing?
I was going to do this:
Function DoGetInit(...)
If requirements met: start_game()
endfunction
Function Start_Game()
setup everything here including making objects etc
do
print "the game code is here"
loop
endfunction
-Any ideas, someone must be using this method?
Paul