PokéSanta - collect the good, destroy the bad!
PokéSanta (patent pending, don't rush it!) it's a game where Santa and its pokédeer go around the snowy mountains to collect good pokemons, dodge assassin rocks and save Christmas, by offering good Pokémons to all the children!
- game has a character that moves vertically
- rocks are obstacles and will end game
- collect good pokemons to increase score
- pikatchu collect increases score by 10 points
- wins if score reaches 100 points
- win page allows to reach for level up button
- sound on / off - check
- input button for player name - check
- Santa starting in platform - future version
- level up button - check
#style.css
#index.html
#main.js
-
window.onload()
- addEventListener:
- start button;
- reset button;
- event key: keyUp & keyDown;
- addEventListener:
-
obstacles []
-
beginGame()
-
gameScreen(): . canvas movement . character movement . collision . score increase
-
showGameOver()
-
showWin()
- introScreen - shows input for players to log their name, explains key use, description of the game & start game button
- gameScreen - Santa in a sleight that moves vertically, dodges rocks and collects good pokemons and pikachus
- gameoverScreen - shows sarcastic motivational quote and restart button
- winScreen - shows final score and level up button (not working in this version)
- create html & css files
- load all images
#main
- build DOM
- build splashscreen
- event listeners
- build gamescreen
- build gameoverscreen