Skip to content

Commit

Permalink
Switched to @geckos.io/phaser-on-nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
yandeu committed Apr 28, 2019
1 parent 7e84117 commit a3e4092
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 38 deletions.
23 changes: 16 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "phaser3-multiplayer-example-with-geckos.io",
"version": "1.0.0",
"version": "0.0.0",
"description": "",
"main": "index.js",
"scripts": {
Expand All @@ -18,13 +18,12 @@
"dependencies": {
"@babel/polyfill": "^7.4.3",
"@geckos.io/client": "0.0.6",
"@geckos.io/phaser-on-nodejs": "^1.0.0",
"@geckos.io/server": "0.0.6",
"axios": "^0.18.0",
"canvas": "^2.4.1",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.16.4",
"jsdom": "^14.0.0",
"phaser": "3.16.2"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions server/game/config.js
@@ -1,3 +1,5 @@
require('@geckos.io/phaser-on-nodejs')

const Phaser = require('phaser')
const GameScene = require('./gameScene')

Expand Down
1 change: 0 additions & 1 deletion server/game/game.js
@@ -1,4 +1,3 @@
require('../mockBrowser')
const config = require('./config')

class PhaserGame extends Phaser.Game {
Expand Down
27 changes: 0 additions & 27 deletions server/mockBrowser.js

This file was deleted.

0 comments on commit a3e4092

Please sign in to comment.