Use waitevent() and a timer (which can be caught as event $4001). When the program hits waitevent() it'll stop hogging the cpu and wait for an event (a timer in this case). One the event takes place the program can do all it calculating and rendering and then take a breather when it hits the next waitevent(). Waitevent() doesn't just have to be used when programming apps.
CPU load, VWait
BlitzPlus Forums/BlitzPlus Programming/CPU load, VWaitThe Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.