Skip to content

Commit 79ba7cc

Browse files
committed
Commit boilerplate.
1 parent 80f54a2 commit 79ba7cc

21 files changed

+783
-0
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Enable top configuration file
2+
root = true
3+
4+
# Global configuration
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_style = tab
9+
indent_size = 1
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
*.db
3+
dist/
4+
node_modules/
5+
.idea/

assets/fonts/font.png

86.4 KB
Loading

assets/fonts/font.xml

Lines changed: 204 additions & 0 deletions
Large diffs are not rendered by default.

assets/sounds/button.m4a

2.6 KB
Binary file not shown.

assets/sounds/button.mp3

7.03 KB
Binary file not shown.

assets/sounds/button.ogg

7.32 KB
Binary file not shown.

assets/sprites/mushroom.png

3.56 KB
Loading

index.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>Template</title>
5+
<meta http-equiv="X-UA-Compatible" content="chrome=1, IE=9">
6+
<meta name="format-detection" content="telephone=no">
7+
<meta name="HandheldFriendly" content="true"/>
8+
<meta name="robots" content="noindex,nofollow"/>
9+
<meta name="mobile-web-app-capable" content="yes">
10+
<meta name="apple-mobile-web-app-capable" content="yes"/>
11+
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
12+
<meta name="apple-mobile-web-app-title" content="Template">
13+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
14+
15+
<style type="text/css">
16+
body, html {
17+
height: 100%;
18+
width: 100%;
19+
}
20+
21+
body {
22+
font-size: 13px;
23+
background: #000000;
24+
25+
-webkit-touch-callout: none;
26+
-webkit-user-select: none;
27+
-khtml-user-select: none;
28+
-moz-user-select: none;
29+
-ms-user-select: none;
30+
user-select: none;
31+
32+
-ms-touch-action: manipulation;
33+
touch-action: manipulation;
34+
35+
cursor: pointer;
36+
overflow: hidden;
37+
38+
margin: 0;
39+
padding: 0;
40+
}
41+
</style>
42+
</head>
43+
44+
<body>
45+
</body>
46+
</html>

package.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "phaser-typescript-webpack",
3+
"version": "1.0.0",
4+
"description": "A good place to get started with Phaser and TypeScript development",
5+
"scripts": {
6+
"start": "webpack-dev-server --config webpack.dev.config.js -d --inline --hot --progress --no-info --port 8000",
7+
"build": "rimraf ./dist && webpack --config webpack.prod.config.js -p --progress",
8+
"lint": "tslint src/**/*.ts",
9+
"lint:fix": "npm run lint -- --fix"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/numbofathma/phaser-typescript-webpack.git"
14+
},
15+
"engines": {
16+
"node": ">= 7.0.0"
17+
},
18+
"author": "Costin Mirica <hi@costinmirica.com> (http://www.costinmirica.com/)",
19+
"license": "MIT",
20+
"homepage": "https://github.com/numbofathma/phaser-typescript-webpack",
21+
"devDependencies": {
22+
"copy-webpack-plugin": "^3.0.1",
23+
"expose-loader": "^0.7.1",
24+
"html-webpack-plugin": "^2.29.0",
25+
"rimraf": "^2.5.4",
26+
"ts-loader": "^0.8.2",
27+
"tslint": "^5.8.0",
28+
"tslint-loader": "^3.5.3",
29+
"tslint-webpack-plugin": "^1.0.0",
30+
"typescript": "^2.6.2",
31+
"webpack": "^3.10.0",
32+
"webpack-dev-server": "^2.9.7",
33+
"webpack-obfuscator": "^0.13.0",
34+
"webpack-uglify-js-plugin": "^1.1.9"
35+
},
36+
"dependencies": {
37+
"@types/howler": "^2.0.5",
38+
"howler": "^2.0.7",
39+
"phaser-ce": "^2.9.4"
40+
}
41+
}

0 commit comments

Comments
 (0)