PalashBansal / Pacman

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

Star feature #63

Open PalashBansal opened 2 years ago

PalashBansal commented 2 years ago

Like in many games, a star appears and player becomes immune to any kill for limited amount of time. Eg.: The famous "Super Mario bros"

A Star(or something else, open to creativity) appears for some time after random interval, at random location inside game canvas. If player manages to hit it, make pacman immune to collision with obstacles for some time.

PalashBansal commented 2 years ago

Very similar in implementation to the Food(cherries) feature.