Code for 3D game
Blitz3D Forums/Blitz3D Programming/Code for 3D game
| ||
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 |
| ||
had to update file link...lol...one above should work now |
| ||
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()"). |
| ||
thanks alot matey |