- Notifications
You must be signed in to change notification settings - Fork11
sharpfives/the-gems-game
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a game made for GithubGameOff 2019 - a web-based game using the Phaser 3 engine, Typescript, and Webpack. Play the gamehere.
All code goes insrc/
, all resources (images, music, etc.) go inresources/
.
The game entry point is insrc/main-game.ts
.
This project uses Webpack and NodeJS to run a minimal webserver for hosting the game. First download and install NodeJS (https://nodejs.org). Then,
cd the-gems-gamenpm i
npm run dev
This will open a browser window and launch the game. You can now edit any of your files insrc/
orresources/
and the game will automatically get rebuilt and the browser page will refresh. Pretty cool! You can debug and set break points in the Typescript source using the Developer Tab window in Chrome.