Project for OGPC 2016.
  • Java 98.7%
  • GLSL 1.2%
Find a file
2018-09-19 17:24:24 -07:00
android/assets Remove unused projects 2016-05-03 13:58:00 -07:00
core Optimize rendering even more 2016-05-03 13:58:36 -07:00
desktop Set window title 2016-02-06 19:09:46 -08:00
gradle/wrapper Initial Commit. 2015-12-07 21:26:21 -08:00
Icons Icon! 2015-12-20 21:30:24 -08:00
sprites Cross symbol 2016-04-16 13:15:49 -07:00
.gitignore Ignore docs 2015-12-12 23:35:38 -08:00
.gitlab-ci.yml Fix the artifact thing. Probably. 2016-01-10 00:06:02 -08:00
build.gradle Remove unused projects 2016-05-03 13:58:00 -07:00
gradle.properties Initial Commit. 2015-12-07 21:26:21 -08:00
gradlew Initial Commit. 2015-12-07 21:26:21 -08:00
gradlew.bat Initial Commit. 2015-12-07 21:26:21 -08:00
Instructions.pdf Add instructions. 2015-12-22 17:40:03 -08:00
README.md Remove Imgur gif due to GitHub file size limits. 2018-09-19 17:24:24 -07:00
Screenshot.png Add screenshot. 2018-09-19 17:22:22 -07:00
settings.gradle Remove unused projects 2016-05-03 13:58:00 -07:00
sort.jar Stuff to sort assets 2015-12-26 21:46:17 -08:00
sort.sh Stuff to sort assets 2015-12-26 21:46:17 -08:00

Cave Prototype

Imgur

A simple implementation of a platformer written in Java / LibGDX using the Ashley entity component system. Very unfinished

About

I tried to finish this in time for the Oregon Game Project challenge, spending most of my time writing rendering code. I didn't succeed, but I hope seeing my code will help someone else out there.

Setup

Clone the repo. To run the game, run:

./gradlew desktop:run

This uses the LWJGL3 backend, and if you experience a crash related to "-XstartOnFirstThread", simply run

./gradlew desktop:dist
java -jar -XstartOnFirstThread desktop-1.0.jar

Settings

According to the LibGDX wiki, the preferences of this game are stored in

%UserProfile%/.prefs/My Preferences

on Windows and

~/.prefs/My Preferences

on Mac. The settings are just LibGDX keycodes for input buttons.

Debug mode

The f1 key, in combination with other buttons is used for various debugging purposes. f1-B toggles collision boxes. f1-S shakes the screen (screenshake!). f1-R resets the position of the player character.