PalashBansal / Pacman

Game based on collision detection in Javascript
http://palashbansal.github.io/Pacman
MIT License
3 stars 4 forks source link

Taking bonus cherries is difficult #65

Open PalashBansal opened 2 years ago

PalashBansal commented 2 years ago

Description of the Issue

On successfully hovering pacman over cherry, cherry stays and is not able to detect collision with pacman. Occurs 50% of the time.

Steps to Reproduce the Issue

  1. Wait for cherry to appear.
  2. Hover over cherry and keep moving over it. (disable collision with obstacles temporarily via code change to easily reproduce)
  3. Observe that collision is not detected.

Expected Behavior

Collision with cherry should be sensitive enough.

Actual Behavior

Not able to take bonus cherries most of the times.