Help the mage survive the Underworld.

The first four levels are time trials, so your fastest time is saved.

Level 5 is survival mode.  Try to survive as long as possible.

You get a free weapon upgrade on Level 3.

Controls

Sorry did not have time for mouse controls.

A and S Keys
Rotate Left/Right
LEFT and RIGHT Cursor KeysRotate Left/Right
CTRL KeySlow down rotation
Right Mouse ButtonPause Menu
G KeyShadow quality toggle.  Reduce shadow quality significantly, but will boost your FPS.  Only use if you are below 60 FPS.  

High Scores

Scores are saved via GameJolt API.  If you have a GameJolt userid, you can log in with your credentials, and earn trophies.  

If you do not have a GameJolt userid, its ok, just login as GUEST and select a username. The game will remember it, so you only need to do this once.

Your best scores are also saved to local browser storage. 

You can clear out your guest name and local scores by pressing the L KEY from the main menu.

Instancing

This is a simple game, but its using instancing to draw 300 (plus 300 hidden) models on the screen.  Each individual instance has its location, rotation and scale controlled, while your GPU is doing very little work to render the scene.

Even on an old 2017 laptop with integrated graphics, I manage to get 27 FPS.

Newer hardware should perform much better.

If you have low FPS type the G Key at any time to reduce the shadow quality.  This should boost your FPS.

Note: Your PC/Laptop needs to support OpenGL 4.1.

Credits

Music by: PettyTheftSoundCloud: https://soundcloud.com/ppettytheftt

3D models by KayKithttps://kaylousberg.itch.io/kaykit-adventurers

libGDX GameJolt API: https://github.com/raeleus/game-jolt-api

Download

Download
UnderworldSurvival.jar 27 MB

Install instructions

Download to JAR file to play the game on Windows or Linux.

You must have Java 11+ installed on your system.

To launch the game, from the command line or terminal:

java -jar UnderworldSurvival.jar

Development log

Comments

Log in with itch.io to leave a comment.

Nice, but i only be getting like 10 fps in the browser. Also the jar gives me this error:

[LWJGL] GLFW_VERSION_UNAVAILABLE error

Description : Requested OpenGL version 4.3, got version 4.1

Stacktrace  :

org.lwjgl.glfw.GLFW.nglfwCreateWindow(Unknown Source)

org.lwjgl.glfw.GLFW.glfwCreateWindow(Unknown Source)

com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Unknown Source)

com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Unknown Source)

com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Unknown Source)

com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Unknown Source)

com.antz.marble.lwjgl3.Lwjgl3Launcher.main(Unknown Source)

Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't create window

at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Unknown Source)

at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Unknown Source)

at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Unknown Source)

at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Unknown Source)

at com.antz.marble.lwjgl3.Lwjgl3Launcher.main(Unknown Source)

 Requested OpenGL version 4.3, got version 4.1

Hello.  I got that error on my old 2013 Mac Mini.   It means your PC does not support Open GL 4.3.

I tested on my 2018 Linux laptop with integrated graphics and got 27 FPS.

So I need to ask what hardware were you trying to run it on?