Skip to content

Eevee Run is a classic runner game based on the Pokemon, Eevee. The goal of this game is to collect 20 stones in total in order to evolve Eevee.

Notifications You must be signed in to change notification settings

tnizam/Eevee-Jump

Repository files navigation

README



Eevee Run is a classic runner game based on the Pokemon, Eevee. The goal of this game is to collect 20 stones in total in order to evolve Eevee.

Click here to play!


Technologies

  • Javascript
  • HTML5 Canvas
  • CSS

Features

Some key features within this game are:

  • The ability to move around freely and jump onto platforms within the game.
  • At each game play the stones and platforms will render at random.
  • When the character comes into contact with the stone it will be collected and the total number of stones will increase in an interval of one.
  • After collecting all 20 of the stone then the Eevee will evolve, changing the sprite into a different character.



Technical challenges

One challanged I faced when working on this game was trying to collect each stone that the player had collision with. The way I went around this was by using splice to take out that stone from a saved array of stones that was being created.

    function stoneCollision() {
        
        for(let i = 0; i < stones.length; i++) {
            if (stoneCollisionCheck(stones[i])) {
                stones.splice(i, 1);
                totalStones += 1;
                scoreCount.innerHTML = totalStones;
            }
        }
    }

About

Eevee Run is a classic runner game based on the Pokemon, Eevee. The goal of this game is to collect 20 stones in total in order to evolve Eevee.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published