Commit d0e8fe21 by oriol gomez Sentis


parent 74e6eb8d
No preview for this file type
......@@ -6,7 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npm run webpack",
"webpack": "webpack -d --display-error-details"
"webpack": "webpack -d --watch --display-error-details"
"repository": {
"type": "git",
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
"use strict";
var ins=null;
export var ins=null;
export default class Game {
constructor() {
var GAME_NAME = "Killing Spree";
var GAME_VERSION = 1.0;
var isElectron = false;
var GAME_NAME = "Killing Spree";
import 'jquery'
export {GAME_NAME}
var GAME_VERSION = 1.0;
var isElectron = false;
if (typeof process != "undefined") {
\ No newline at end of file
export {isElectron}
\ No newline at end of file
'use strict';
import 'jquery';
import {InputHandler} from 'inputHandler'
export class KeyboardInput {
export default class KeyboardInput {
constructor() {
this.keyDown = [];
this.justPressed = [];
"use strict";
import KeyEvent from 'keycodes'
import {Strings} from 'strings.js'
import Menu from 'menu'
import MenuItem from 'menuItem'
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery'
import 'jquery';
import 'keycodes';
import 'header';
import Strings from 'strings';
import 'menu';
import 'menuItem'
var strings=new Strings();
var tick=null;
var sKill;
......@@ -13,9 +20,9 @@ var timeToLoad=0;
var sndProgress=null;
var isMobile=false
import {KeyboardInput} from 'input.js';
import 'input'
var inp=new KeyboardInput;
import {Game} from 'game';
import 'game'
var game=new Game;
var progress=0;
"use strict";
import 'jquery';
export default class Menu {
constructor(name, menuData) {
this.menuData = menuData;
......@@ -5,8 +5,7 @@ export var MenuTypes={
export class MenuItem {
export default class MenuItem {
constructor(id, name) { = name; = id;
'use strict';
import 'jquery';
if (typeof speech == "undefined") var speech = new TTS();
if (runningText == undefined) var runningText = 0;
class ScrollingText {
//import {create,canPlay} from 'sono/core/sono';
//import {cloneBuffer} from 'sono/core/utils/utils'
import sono from 'sono';
import {isElectron} from 'header';
class SoundObjectItem {
constructor(file, callback=0, tag=0) {
export class Strings {
export default class Strings {
constructor() {
start:"start game",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment