Kovak / CBL_SECRET_PROTOTYPE_RUNNING_GAME

0 stars 0 forks source link

Make sure all the platform speed calculations are outside of the object loops #36

Closed Kovak closed 11 years ago

Kovak commented 11 years ago

Making this issue to remind myself to do this at some point

a few of our _advance_time's calculate the amount of movement required for each object such as in foreground:

for platform in self.platforms: scroll_multiplier = self.speed * self.speed_multiplier * dt

gonna fix this so that it happens outside of the loop