Canvas not Updating

Blitz3D Forums/Blitz3D Beginners Area/Canvas not Updating

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.

The command waitevent() will actualy stop your program executing until a specified time EG waitevent(1000), or an event happens.

So the behaviour you notice is the correct one, where teh mouse causes the event to happen, and thus your program can continue past waitevent().

Do as skidracer suggests, add a timer, and put your canvas update stuff in the $4001 event.