RonaldVilorio / mario

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Functionality:

  • created my Mario object
  • created a floor object for Mario to stand on
  • created dark blocks ready to be turned into yellow blocks
  • Mario is able to move left and right by using keydown and keyup handlers
  • Char is able to jump or right/jump, left/jump a number of pixels
  • Gravity feature that pulls Mario when jumping or getting off of blocks
  • Mario is able to stand on blocks and is able to fall off the edges
  • Mario does not phase through blocks in the x coordinate
  • Char below the floor block bounces off when trying to rise above it.
  • If char slips out of canvas, he is reset back to the starting position
  • Score feature to track the number of blocks activated
  • Timer feature to count down the time to zero
  • Alerts player if game is won or lost

About


Languages

Language:JavaScript 88.7%Language:HTML 7.9%Language:CSS 3.3%