Skip to content

Instantly share code, notes, and snippets.

View sbchapin's full-sized avatar

Sam Chapin sbchapin

View GitHub Profile
@rvanzon
rvanzon / bootstrap.js
Last active June 26, 2018 20:08
ES6 setup for MelonJS (using Webpack)
import game from './game';
import PlayerEntity from './entities/player';
import PlayScreen from './screens/play';
import TitleScreen from './screens/title';
class Bootstrap {
constructor() {
// Initialize the video.