First hurdle fall... Help!

Blitz3D Forums/Blitz3D Beginners Area/First hurdle fall... Help!

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.

yes, as a general rule. its called a game loop, you'll get used to it.

so you:

setbuffer backbuffer()
while GameOn = true ;start game loop
do game stuff
flip
wend ;end game loop

end ;end program

you do all your calculations, and draw to the backbuffer, then flip to screen ONCE every game loop, usually. Look at the examples, and you will see this pattern

[edit] you dont do:
text 100,200,"hello"
flip
text 100,220,"hello again"
flip



its:

text 100,200,"hello"
text 100,220,"hello again"
flip


get it?