Jumper is a game where the player can move left, right and jump (also fly). The goal of the game is to collect all seven "Dragon Balls" and bring them to "Master Roshi" at the top of the map. (Yes, this is DBZ themed) Along the way, the player can "die" when they collide with obstacles (deadly snowballs & shuriken). You have three lives, so be careful! Upon dying, a "Game Over" screen will appear with the ability to restart game. On the other hand, if you win, you'll receive a proper congratulatory "You Win" screen.
I like anime a lot, so if you do too then you'll probably enjoy the references :)
https://stefanhranek.github.io/jumper/
CANVAS, This is a game where the player can move & jump from platform to platform with the ability to complete the game by reaching "Master Roshi".
- Jumping - currently, you can fly around the map by holding 'up' key
- Special win condition
- Character sprite
- Coin sprite
- Screen transitions
buildSplashScreen(){
}
buildGameScreen(){
}
buildGameOverScreen(){
}
buildDom() {
}
Game() {
this.canvas;
}
Game.prototype.startLoop() {
}
Game.prototype.checkCollisions {
}
Game.prototype
Player() {
this.canvas
this.ctx
this.size
this.x
this.y
this.direction
this.speed
}
Player.prototype.startPosition() {
}
Player.prototype.movement() {
}
Player.prototype.screenCollision () {
}
Player.prototype.enemyCollision () {
}
Player.prototype.winCollision () {
}
Player.prototype.draw() {
this.ctx.fillStyle
this.ctx.fillRect
}
Enemy() {
this.canvas
this.ctx
this.size
this.x
this.y
this.speed
}
Enemy.prototype.draw() {
this.ctx
this.ctx.FillRect
this.x
this.y
this.size
this.size
}
Enemy.prototype.updatePosition() {
}
Enemy.prototype.isInsideScreen() {
}
- splashScreen
- buildSplash()
- addEventListener(startGame)
- gameScreen
- buildGameScreen()
- addEventListener(enemyCollision)
- addEventListener(winCollision)
- gameoverScreen
- buildGameOverScreen()
- addEventListener(startGame)
- winScreen
- buildWinScreen()
- addEventListener(startGame)
- Main - buildDom
- Main - buildSplashScreen
- Main - addEventListener
- Main - buildGameScreen
- Main - buildGameOverScreen
- Main - buildWinScreen
- Game - buildCanvas
- Game - clearCanvas
- Game - updateCanvas
- Game - drawCanvas
- Game - setGameOver
- Game - setWin
- Game - addEventListeners
- Player - construct Player
- Player - basic movement
- Player - jumping
- Player - screenCollision
- Player - enemyCollision
- Player - winCollision
- Enemy - construct Enemy
- Enemy - setRandomLocation
- Enemy - setDirection
- Enemy - updatePosition
- Enemy - isInsideOfScreen
URls for the project repo and deploy Link Repo Link Deploy
URls for the project presentation (slides) Link Slides.com