autumn-sonata / Food-boy-saves-the-kitchen

Orbital project 2022
0 stars 0 forks source link

Bug: Object becomes cut when pushed into a knife only after the next turn. Recreate: Level 19: Push cheese into knife #32

Closed Chick3nBoy closed 2 years ago

Chick3nBoy commented 2 years ago

image

autumn-sonata commented 2 years ago

Has to do with hasMoved() function in Coordinator.cs not working as intended. This causes the function that updates sprites, SpriteUpdate(), not to update the sprites at all. Therefore, hasMoved cannot depend on this implementation of allMovementsComplete() and checkedMove.

autumn-sonata commented 2 years ago

Instead, checkedMove should likely be turned to false after the timer allows movement again and an input is made by the player.