Skip to content

blascokoa/BubbleTrouble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BubbleTrouble

Description

Bubble Trouble can be categorized as an Indi version of the famous game of 80's, this game will got only 1 level where the enemies will appear non-stop till your player die.

MVP

  • The player will be able to move between the screen jumping and falling depending of their position
  • The player will be able to shoot to the enemies
  • The enemies will appear randomly at the top of the screen and will start moving in direction of the player.

Backlog

  • Instead kill the enemies when get a shoot, they will be put inside the bubble.
  • Add an highscore register
  • Extra lives when reach certain level

Data Structure

main.js

  • startGame
  • eventListeners for keystrokes

game.js

  • Game class:
    • playMonsterCollision
    • playLevelUpMusic
    • clearBackground
    • drawBackground
    • drawData
    • drawBonus
    • spawnAttack
    • spawnEnemy
    • increaseLevel
    • bonusLive
    • collisionWithPlayer
    • collisionWithAttack
    • livesHandler
    • removeDedEnemies
    • handleAttack
    • gameLoop

player.js

  • Player class:
    • drawPlayer
    • moveLeft
    • moveRight
    • drawJump
    • jump
    • moveJumping
    • gravity
    • getImageUsed
    • play_collision
    • playSound

enemy.js

  • Enemy class:
    • drawEnemy
    • moveEnemy
    • imageMovingEnemy
    • drawDedEnemy

attack.js

  • Attack class:
    • playSound
    • drawAttack
    • moveAttack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published