Stephcraft / Project-16x16

2D Platformer game made with processing
GNU General Public License v3.0
97 stars 77 forks source link

restructure to add maven #99

Closed cl2snide closed 5 years ago

cl2snide commented 5 years ago

this will now use jdk 8 - openjdk 8 bundled with jfx 8 can be found here: https://www.azul.com/downloads/zulu-community/?&version=java-8-lts&package=jdk-fx&show-old-builds=true

and there's an open issue for a openjdk 8 + jfx 8 bundle at AdoptOpenJDK here: https://github.com/AdoptOpenJDK/openjdk-build/issues/577

this gets us out of hosting processing or jfx ourselves.

The project can be run with mvn clean package exec:java, or in eclipse set the goals parameter of a maven build configuration to clean package exec:java.

There's some awkwardness around map saves, etc... now because Storage/* was being used both for static resources and dynamic saves. These will need to be split into static resources (eg. fonts, etc) which will still live under src/resources and will be bundled with the JAR, and some type of runtime save folder on the system.

I have not added launch4j to this yet because I figured there was enough here already but that can certainly be added next.

cl2snide commented 5 years ago

@micycle1 updated to keep the SideScroller class name and with lowercase project_16x16 package name.