elefas
January 11, 2019, 7:36am
35
Hi @IndieImprint ! That’s great!
Well I think the best way is to create a pull request to the forked repository of @guu at: https://github.com/cuu/GSP/tree/master/GSPGames (if guu agrees, your game could come pre-installed in the clockworkpi image).
Else of course you can create a pull request to the original repository (https://github.com/pleft/GSP/tree/master/GSPGames ) and I will merge your PR to the master branch. You can find instructions about how to include your game in the launcher in the README.md
file:
# GSPGames
    
GameShell-Phaser Games repo. Phaser.io games ported to work on GameShell via [GSPLauncher](https://github.com/pleft/GSPLauncher)
## Introduction
This repository contains Phaser.io games ported to work on GameShell. Porting is required for adjusting to the screen resolution of GameShell which is 320x240 pixels. This require to also adjust the playfield and the sprites/assets resolution (mostly by scaling them down) and changing the coordinates of the screen they render to. Apart from this, game controls also need adjusting. GameShell's gamepad is detected as keyboard and this makes it very easy to map it's buttons.
## List of ported games
*  [Breakout](https://phaser.io/examples/v2/games/breakout)
*  [Defender](https://phaser.io/examples/v2/games/defender)
*  [Invaders](https://phaser.io/examples/v2/games/invaders)
*  [Infinite Mario](https://github.com/robertkleffner/mariohtml5)
*  [Pacman](https://github.com/daleharvey/pacman)
## Porting guidelines
### File/Folder structure
The games are loaded by GSPLauncher which runs on `nwjs`. The only requirement is that the game should have an `index.html` file as a starting point like the following:
This file has been truncated. show original
1 Like