Code for 3D game

Blitz3D Forums/Blitz3D Programming/Code for 3D game

Gavin Beard(Posted 2003) [#1]
Hi, i've started writing my FIRST game, normally i just mess about coding. i was wondering if some could look at the little source i have so far and tell me how i can tidy it up and gice it a better flow.....

source is at http://hometown.aol.co.uk/gavinbeard/game.zip


Gavin Beard(Posted 2003) [#2]
had to update file link...lol...one above should work now


WendellM(Posted 2003) [#3]
Looks OK overall. splScr = loadimage(PAK("splash.jpg")) :DLPak() under Case 1 seems unnecessary, since Case 0 has already loaded it.

You also might want to use a combination time-and-keypress condition instead of WaitKey() in Case 0 so that the splash screens will progress after a couple of seconds even if the player doesn't hit a key (so that WaitKey() would be replaced with something like "start=MilliSecs():Repeat:Until MilliSecs()-start>2000 Or GetKey()").


Gavin Beard(Posted 2003) [#4]
thanks alot matey