View Single Post
Old 20 July 2015, 02:12   #9
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,338
Quote:
Originally Posted by Cylon View Post
Quick review shows:
You are blitting ALWAYS, even if nothing changed.
You check xcoords on the right, even if the coords have been confirmed to be left, and vice versa. Dito for vertical.
Means: You check everything everytime. And blit, everytime. Change that.
While that could help his demo, it won't help for the purposes of his shmup, as long as there is a possibility that more than 30 objects move at the same time.
idrougge is offline  
 
Page generated in 0.04185 seconds with 11 queries