Pause

Blitz3D Forums/Blitz3D Programming/Pause

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Anyone have proper solutions for pausing a 3D game?

global key = 0
global pausekey = 25

while not key = pausekey
    key = waitkey()
wend


like solutions doesn't work for me.Especially after loading, when level starts, everything appears to be started moving, AI attacking etc. until it starts to render something to the screen.So I want to add a "press a key to start" on each level.Pausing during the game is needed also.

I hope you will understand what I mean.Thanks.

(code above is just an example, I don't know even if it's working lol)