A game built with Phaser.JS!
Play It!
.
Report Bug
ยท
Request Feature
demo.mov
-
Transition to React
-
Transition to Tailwind CSS
-
FreePlay Mode
-
Two Player Mode
-
Contextual game over scene (messages of how you died/ won)
-
Create components(volume slider, controls page, banner)
-
Code seperation & OOP ( easier to build two player mode and other game features )
-
Use localStorage to keep track of users highest score and update it live
-
Use localStorage to keep track of users mute sound preference
-
Game Music and SFX for all scenes & events
-
Shoot Lasers & destroy meteors
-
Single Player Mode
Make sure you have node
, git
and npm
installed before beginning.
๐ Install Dependencies:
git clone https://github.com/Kisokumar/galaxy-quest
cd galaxy-quest
npm i
Make sure you have completed installation in the section above.
๐ Run a devserver :
npm run dev
๐ Build locally & preview:
npm run build
npm run preview
๐ Script to build & deploy (github pages):
#!/usr/bin/env sh
# abort on errors
set -e
# build
npm run build
# navigate into the build output directory
cd dist
# place .nojekyll to bypass Jekyll processing
echo > .nojekyll
# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME
git init
git checkout -B main
git add -A
git commit -m 'deploy'
# if you are deploying to https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git main
# if you are deploying to https://<USERNAME>.github.io/<REPO>
git push -f git@github.com:username/repo.git main:gh-pages
cd -
Source for the script above: Vite Docs