Skip to content

Instantly share code, notes, and snippets.

View tickle-monster's full-sized avatar

tickle-monster

View GitHub Profile
@tickle-monster
tickle-monster / base.js
Last active July 18, 2023 22:28 — forked from samme/base.js
Phaser 3.60 BaseScene with user data JSON, HUD and Event Emitter to share data across scenes
import { theatre } from './hud.js';
export class BaseScene extends Phaser.Scene
{
constructor(config)
{
super(config);
}
init()
@tickle-monster
tickle-monster / base.js
Last active April 4, 2020 02:32
Phaser 3 BaseScene (bugged)
import phaser from 'phaser';
export class BaseScene extends phaser.Scene
{
constructor (config)
{
super(config);
this.user;
}
init ()