Full Steam Ahead!!!!

Blitz3D Forums/Blitz3D Programming/Full Steam Ahead!!!!

DeathSniper(Posted 2003) [#1]
i made a basic chat program in blitz3D and it works great exept when i look on task manager the computer is running at 100% and the chat program i using 4MB ram

the ram part is ok i dont mind that its just the computer usage with msn runing my computer runs at 15% computer usage

so how would i lower the computer usage for my program?


semar(Posted 2003) [#2]
Try to use Blitz+ instead; AFAIK, it should limit the cpu usage (I may be wrong though).

Sergio.


Skitchy(Posted 2003) [#3]
Put a delay in the main loop. That's what I did with LightBulb and it works perfectly (greater delay=less CPU use=lower framerate).
:)


yinch(Posted 2003) [#4]
use
delay(10) ;delay in milliseconds, frees up CPU

somewhere in the main loop.
experiment with higher values as long as it doesnt impact on your program performance

yinch'03