courselab / snaskii22

Programming exercise based on snaskii (class of 2022)
GNU General Public License v3.0
8 stars 11 forks source link

Make snake velocity not FPS dependent #100

Closed rzimmerdev closed 1 year ago

rzimmerdev commented 1 year ago

Regarding one of the "TODOS" left within the code, the snake's movement shouldn't be slow if the FPS were reduced, neither too fast so as to not allow the player to react to it.

I'll be implementing a system to correctly fix and control the snakes movement when dealing with floating point adjusts. (This will also be useful for the Issue and PR #99

rzimmerdev commented 1 year ago

The main point for this Issue will be the need to deal with float divisions (resulting from dividing and multiplying the FPS value by the Snakes default velocity)

lmkobe commented 1 year ago

This issue can be closed, right?