Browse code

add embedded web files

devnewton authored on 07/08/2014 at 21:23:50
Showing 3 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,30 @@
0
+<!DOCTYPE html>
1
+<html>
2
+    <head>
3
+        <title>Newton Adventure Web Edition</title>
4
+        <style>
5
+            #playn-root {
6
+                margin: 0;
7
+                padding: 0;
8
+                display:block;
9
+                position:absolute;
10
+                top:0;
11
+                left:0;
12
+                width:100%;
13
+                height:100%;
14
+            }
15
+            html,body {
16
+                margin: 0;
17
+                padding: 0;
18
+                background-color: black;
19
+            }
20
+            canvas {
21
+                display: block;
22
+            }
23
+        </style>
24
+    </head>
25
+    <body>
26
+        <script src="playn/playn.nocache.js"></script>
27
+        <div id="playn-root"></div>
28
+    </body>
29
+</html>
0 30
new file mode 100644
1 31
Binary files /dev/null and b/game/playn/html/src/main/webapp/icon_128.png differ
2 32
new file mode 100644
... ...
@@ -0,0 +1,13 @@
0
+{
1
+	"name": "Newton Adventure",
2
+	"description": "Newton Adventure is a 2D platformer with a twist: the player can rotate gravity at 360°. Each level contains a key that must be brought to the exit door using Newton body to push it or the gravity power to make it fall. Gravity must also be used to avoid trap, kill enemy or solve puzzle.",
3
+	"version": "1.16",
4
+	"app": {
5
+		"launch": {
6
+			"local_path": "embedded.html"
7
+		}
8
+	},
9
+	"icons": {
10
+		"128": "icon_128.png"
11
+	}
12
+}