thanks,<br><br>=> I don't measure its speed, I just see if my game is fluid,<br><br>And actually If I move the mousse (it moves my cannon) and in the same time I click to shoot a ball : I see some slow-down on my canvas.<br>
<br>=> I try to change sleep/yield time :<br>0.01-0.02 it's OK but it doesn't change.<br>0.1 it becomes really lagging<br><br>But this troubles came since I made my cannon:<br>it's 72 bitmap of the same picture but different angle in a vector.<br>
and every time when I move my mousse: I compute an angle and pick the correct bitmap in my vector.<br><br><br>=> I don't know how I can get more fluidity. (using opengl ? )<br><br> (actually my prog takes 20 sec to load and 160 MO memory oO)<br>
<br><br>