This is a serious game developed for the Master's course "Building Serious Games" IN4302 at TU Delft. The publication accompanying it can be found here.
- Ravi Snellenberg (Producer)
- Joris Rijsdijk (Lead Designer)
- Scott Jochems (Playtesting)
- Martin Starkov (Lead Programmer)
- Luca Stoffels (Lead Art and Sound)
Primary Commands | Description |
---|---|
npm install |
Install project dependencies |
npm run start |
Run in Browser (open locally, hot reloading) |
npm run build |
Build a local version (in dist directory) |
npm run deploy |
Update website with changes |
main.js
Entry point for Electron
index.html
Entry point for HTML
game.ts
Entry point for Phaser
assets
Location of binary resources
- Node.Js : Node JS
- Phaser : HTML5 Game Framework
- TypeScript : Better than JavaScript
From natonato's template repository:
- Electron
useContentSize
not working properly.- Electron appears to include a title bar and menu in width/height by default.
useContentSize
option was expected to solve this problem because it takes the size of the browser window and uses it, but the problem is that the phaser has set the 'height:100%' option throughout the document.
- Running Electron with Devtool, keyboard input ignored.
- Devtool snatched keyboard input.
- There was a bug in Electron
24.x.x
, so version 23 was used instead.
natonato for his great phaser electron template.