Skip to content

Commit

Permalink
Linux Support
Browse files Browse the repository at this point in the history
Linux Support without unpacking the Linux.zip added!
  • Loading branch information
nirokay committed May 30, 2021
1 parent 2d23b28 commit 21c0997
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@ SpaceGravityThingy is a small Open Source game made in Processing.
The objective is flying close to planets with your small spaceship and gather research about them! Currently there is no definitive goal other than having fun and build up your highscore.
(still in development)


# How to download/execute
You will need Java 8 installed for this program to run.

### Windows
Download the .zip file, unpack it and execute the .exe file
### Linux
Download the .zip file, unpack it, open your terminal in the folder and type `./SpaceGravityThingy`. This should start the game.


# Controls
* Movement: can be switched from either wasd or arrow keys (in-game settings)
* other: if you crash, revert to your base by clicking 'r'


# Changelog
(can be seen separately in changelog.txt)

Expand Down
5 changes: 5 additions & 0 deletions SpaceGravityThingy
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

APPDIR=$(readlink -f "$0")
APPDIR=$(dirname "$APPDIR")
java -Djna.nosys=true -Djava.library.path="$APPDIR:$APPDIR/lib" -cp "$APPDIR:$APPDIR/lib/SpaceGravityThingy.jar:$APPDIR/lib/core.jar:$APPDIR/lib/jogl-all.jar:$APPDIR/lib/gluegen-rt.jar:$APPDIR/lib/jogl-all-natives-linux-amd64.jar:$APPDIR/lib/gluegen-rt-natives-linux-amd64.jar:$APPDIR/lib/javamp3-1.0.4.jar:$APPDIR/lib/jsyn-20171016.jar:$APPDIR/lib/sound.jar" SpaceGravityThingy "$@"
Binary file removed SpaceGravityThingy-Linux64.zip
Binary file not shown.

0 comments on commit 21c0997

Please sign in to comment.