Browse code

Merge origin/master

devnewton authored on 08/08/2014 at 10:00:24
Showing 5 changed files
... ...
@@ -2,30 +2,38 @@ Requirements
2 2
 ============
3 3
 
4 4
 Java JDK, [openjdk](http://openjdk.java.net/) or [Oracle](http://java.com): 1.7+
5
-[Maven](http://www.maven.org) 3+
5
+[Maven](http://www.maven.org) 3+,
6
+[bash](https://www.gnu.org/software/bash/) 4+
6 7
 
7
-Manual procedure
8
-================
8
+Build
9
+=====
9 10
 
10
-Compile
11
+Go to the source folder and run the build.sh script using bash:
11 12
 
12
-Go to the source folder and run maven with the following command:
13
+	bash build.sh
13 14
 
14
-	mvn package
15
+Install
16
+=======
15 17
 
16
-This will generate an executable jar installer in packages/generic/target subfolder named newton-adventure-installer-${project.version}.jar
18
+The build.sh script generate installers for various OS in the target/release subfolder. Use them to install the game.
17 19
 
18
-Install
20
+Run without install 
21
+===================
22
+
23
+Go to the source folder and run the play.sh script using bash:
24
+
25
+        bash play.sh
26
+
27
+Develop, debug
28
+==============
19 29
 
20
-Go to the source folder and launch the generic installer:
30
+Newton Adventure is maven based project, open it with Netbeans or Eclipse.
21 31
 
22
-    java -jar packages/generic/target/newton-adventure-installer-${project.version}.jar
32
+Contribute
33
+==========
23 34
 
24
-Create other packages and installers
35
+Please contact me:
25 36
 
26
-Using maven 3 plugins, rpm, deb and exe package/installer can be generated:
37
+- by mail: devnewton at bci.im
38
+- using IRC: #GGP on freenode.net.
27 39
 
28
-	mvn clean package -Pdeb,rpm,win
... ...
@@ -1,9 +1,12 @@
1
+Newton Adventure
2
+================
3
+
1 4
 Newton Adventure is a free and open source 2D platform game. You play Newton, a very special hero who has the power to change gravity direction.
2 5
 
3
-It runs on every Linux, Windows, Mac OS X or any OS with Java and OpenGL support.
6
+It runs on Linux, Windows, Mac OS X or any OS with Java and OpenGL support.
4 7
 
5 8
 Code is available under BSD licence, data under CC-BY-SA or more permissive licences.
6 9
 
7
-[Official website](http://devnewton.bci.im/games/newton_adventure)
10
+[Official website](http://newtonadventure.bci.im)
8 11
 
9 12
 ![screenshots](wiki/screenshots/montage_800_600.jpg)
10 13
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
+}