Commit d0e8fe21 by oriol gomez Sentis

fuck

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() {
this.musicVolume=1;
......
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;
export {GAME_VERSION}
var isElectron = false;
if (typeof process != "undefined") {
isElectron=true;
}
\ 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'
webpack=require("webpack")
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
$(document).ready(playIntro);
import {KeyboardInput} from 'input.js';
import 'input'
var inp=new KeyboardInput;
import {Game} from 'game';
import 'game'
var game=new Game;
game.mode="insects"
var progress=0;
......
"use strict";
import 'jquery';
export default class Menu {
constructor(name, menuData) {
this.menuData = menuData;
......
......@@ -5,8 +5,7 @@ export var MenuTypes={
SLIDER:2,
EDIT:3
}
export class MenuItem {
export default class MenuItem {
constructor(id, name) {
this.name = name;
this.id = 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) {
console.log(file);
......
export class Strings {
export default class Strings {
constructor() {
this.english={
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