Skip to content

emilvictor/level-up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ocean Run

This is a game inspired by the Offline Dinosaur Chrome with our own touch to it. In this game our unicorn cat has sunk down to the bottom of the ocean, help him swim his way out while tryng to avoid the obsticles in the water. Press spacebar to swim up to avoid the obsticles.

This was created using Phaser 3 game engine. See the project hosted live on THIS LINK

Have fun playing.

Installation

  1. Clone the repository to your computer through your terminal.
  2. Go to the cloned repo (cd name of repo).
  3. Type npm install followed by npm run dev.
  4. A localhost server should have started for you and you can access the game from there. Have fun.

Changelog

Code Review by Simon Lindstedt and Hugo Sundberg

  • New game reloads entire site
  • Favicon is missing
  • index.js:99 Left over console.log.
  • index.js:52-58 Obsticles can be made into a seperate class.
  • index.js:112-136 The moveObsticles functions could be reduced to a single function (or method on the obsticles-class). This function or method could be written in a way that allows various parameters for manipulating the obsticle-instances.
  • No support for mobile
  • index.js:92-94Collition with physics.add.collider can be added by looping through an array of obsticle instances.
  • Hitbox could be smaller
  • ``index.html:25```Better to put event listers in JS instead of inline on the html element.
  • ./publicRemove unused assets.
  • index.js:2Use of const or let is recommended over var.
  • index.html:22Remove commented out line.

Testers

Tested by the following people:

  1. Hugo Sundberg
  2. Simon Lindstedt
  3. Jane Doe

Tested by the following muggles (non-coders):

  1. Daniel P
  2. Parsa Z
  3. Therese A
  4. Brandon E

Created by

Gilda A Emil P

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published