Source code for my LD24 Jam entry titled Evolution is the Key.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DEBIAN
data
lwjgl-2.9.3
src/com/michaelhitchens/ld24
.gitignore
JARSPLICEPLUS-LICENSE
JarSplicePlus.jar
LICENSE
README.md
README.txt
build.xml
evolution-is-the-key
evolution-is-the-key.desktop
icon.png
package_all.sh
package_debian.sh

README.md

Evolution is the Key

Source code for my Ludum Dare 24 Jam entry Evolution is the Key. You can check it the entry here or download it here.

Requirements

  • Java JDK 1.6+ (Oracle or OpenJDK)
  • Apache ant

Compilation

ant <target>

There are several targets:

  • compile: run javac on the source files; output is in build/
  • jar (default): bundle all the built files into ld24.jar
  • dist: create the dist/ directory with platform-independent files for distribution
  • fatjar-windows: create dist/EvolutionIsTheKey.jar with Windows natives, ready to run
  • fatjar-mac: create dist/EvolutionIsTheKey.jar with macOS natives, ready to run
  • fatjar-linux: create dist/EvolutionIsTheKey.jar with Linux natives, ready to run
  • dist-zip: zip the contents of dist/ into EvolutionIsTheKey.zip
  • clean: remove all artifacts

Running

Build one of the fatjar-* targets, then navigate into dist/ and run java -jar EvolutionIsTheKey.jar. Depending on your platform, you may be able to double-click EvolutionIsTheKey.jar to launch.

Distribution

Build a fatjar-* target, then build dist-zip to create EvolutionIsTheKey.zip.

Some Notes

  • This source is v1. The released game is v4. Based on my adventures decompiling my submission, it looks like this is the v4 source after all.
  • The code is a mess because I only had 72 hours.
  • Sound works inconsistently across platforms (thanks Java). Support looks better now than it did five years ago, though, so you may be lucky.
    • That said, there's no easy way to compile without sounds.

Licenses

Everything under src/ and data/ was made by me and is under the MIT license (see LICENSE).

This game uses the Leightweight Java Game Library, see lwjgl-2.9.3/doc/LICENSE. You can find LWJGL builds here.

JarSplicePlus is used for fat jar packaging and distribution. It has its own license included as JARSPLICEPLUS-LICENSE. You can find JarSplicePlus here.