About My Piece of code!

Blitz3D Forums/Blitz3D Beginners Area/About My Piece of code!

The Forum Archive 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.

The ":" is just a statement separator. Doing this...
statement1 : statement2
...is the same as this:
statement1
statement2

So no worries there.

As far as the other stuff goes, I would recommend re-drawing everything every frame (or everytime you go through the loop). Basically, like this:

1) Draw your stuff
2) Flip
3) Clear the backbuffer (cls)
4) Return to 1

This way if you just change the coordinates of where the pointer is during your loop, it will appear to animate.