Sean-Nishi / M1Wengine

A action-adventure game developed with Python 3.11.1 and pygame. Complete missions before timer expires.
3 stars 0 forks source link

Fix speed setting bug #324

Closed owalk closed 7 months ago

owalk commented 8 months ago

When speed is not set to 1, the behavior does not appear to be correct. Debug and resolve this issue so any speed can be used.

Speed set to 2 on minotaurs does not work when they run away. They also seem to be more than twice as fast on patrol.

Sean-Nishi commented 8 months ago

Requires debugging skills! This is a test Look at all characters and players. Does not work as expected!

owalk commented 7 months ago

The bug is not as described above: UPdate

For certain states, speed is hardcoded. Be based off of character speed instead

Sean-Nishi commented 7 months ago

Issue partly completed in #348 when adding in self.DEFAULT_SPEED. Make sure it is referenced in all locations instead of magic numbers