AntzBanner2

Welcome to AntzGames

Play/explore my games and tools at: https://antzgames.itch.io/

Watch my videos here: https://www.youtube.com/@AntzGames

Keep up to date here: https://twitter.com/AntzGames


 

libGDX MeshOptimizer Tool

image

I developed a tool to optimize your GLTF models for use in libGDX. It uses the popular MeshOptimizer library.

Simplification, mesh optimization and model import/export are feature complete.

Only gdx-gltf supported GLB and GLTF files can be imported/exported.

Here is the supported pipeline:

  • Indexing
  • Simplification
  • Vertex cache optimization
  • Overdraw optimization
  • Vertex fetch optimization

Why is this important?

This will give the libGDX 3D community the ability to have Level of Detail (LoD) rendering and also provide improved frame per second (FPS) on their 3D games.

Initial testing has shown 10-50% rendering improvements on an un-simplified mesh that has been optimized.

The JNI interface to MeshOptimizer is provided via LWJGL.

The Java jar file can be run on Windows and Linux , but you need Java 11+ installed.

User Interface

download

Here are the before and after optimization metrics:

OOUfua

 


 

Underworld Survival

download4

gj1

1DC8yA

zK3pBh

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

A and S Keys Rotate Left/Right
LEFT and RIGHT Cursor Keys Rotate Left/Right
CTRL Key Slow down rotation
Right Mouse Button Pause Menu
G Key Shadow 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: PettyTheft: SoundCloud: https://soundcloud.com/ppettytheftt

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

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

Play online

You can play online:

 


 

Little Jaina

My entry in the Pirate Software – Game Jam 14 with over 7800 participants, and 1400 game entries. This is my first game jam entry using Godot 4.2.1 game engine.

The theme of the game jam was: It’s Spreading

You can download the game at: https://antzgames.itch.io/little-mage

FHSyZH

HHrtKJ

YT2GvH

 


 

Raid on Bungeling Bay Remake

Getting ready for the 40th anniversary of Will Wright’s 1984 release of Raid on Bungeling Bay. I released version 1.1 with many improvements. The video below shows a few of them.

Now available to download on the Google Play store securely and safely at: Get it on Google Play

Or you can play the game in your web browser at:

fG5A6X

lyTdMU

 


 

Marble Marcher: Browser Edition

Marble Marcher is entirely ray-marched (similar to ray-tracing) in real time and is played on the surface of evolving fractals.  The goal is to get your marble to the goal as quickly as possible.  There are 24 unique levels to master.

Best times are stored via the Game Jolt API.

Ported to Java utilizing libGDX

The C++ code has been migrated to Java using the libGDX game framework.  All linear algebra math converted to libGDX’s math classes (i.e. no more Eigen linear algebra library needed).  This code base can support iOS, Android, HTML and any desktop (Linux/Windows).

Levels unlocks are saved (persisted) via local browser storage.

AqPZlZ

fRIWoJ

RznvxS

6HNEsH

 


 

Tank vs. Dinos: My libGDX Jam #26 Entry

image

Main objective for this JAM is to get 3D navigation mesh, pathfinding and crowd control working with libGDX. Here is a video showing some pathfinding tests:

You can play the game in your browser at:

xkcBvl

NsGBWt

rSRqTH

 


 

ODE4J Physics engine ported to libGDX

I have sucessfully ported ODE4J physics engine to libGDX and is compatible with GWT/HTML builds. This makes it the only real option for using a physics engine for the libGDX GWT/HTML backend.

Versions

Both ODE4J v0.4.1 and v0.5.1 have been ported.

Version v0.4.1 GitHub repo: https://github.com/antzGames/gdx-ode4j

Version v0.5.1 GitHub repo: https://github.com/antzGames/ode4j

Where has ODE4J libGDX version been used?

Here are some games and projects and tutorials that have used v0.4.1 of ODE4J for libGDX:

https://github.com/MonstrousSoftware/VehicleTest

https://monstrous-software.itch.io/base-invaders

https://monstrous-software.itch.io/fps-demo

https://antzgames.itch.io/physics-in-a-browser

https://antzgames.itch.io/shotgun-wedding

https://antzgames.itch.io/tank-vs-dinos

3D FPS Tutorial using ODE4J

A full blown tutorial on making a libGDX FPS game using ODE4J can be found here:

Tutorial on creating a 3D game with LibGDX

Some videos showing ODE4J in libGDX:

 


 

Shotgun Wedding: libGDX Game JAM #24 Entry

I started late but managed to put something together. This is a good example that sometimes using physics does not make for good gameplay.

When the robot jumps platforms, it is commited. You cannot change directions or velocity like other platforms games allow you to do. This was the feedback I got from a few players.

So in real life, if you jump forward, can you change direction mid jump, like go backwards?

You can play Shotgun Wedding in your browser at:

SlRYHM

T8f5tt

FsDIOQ

 


 

Raid on Bungeling Bay 3D

This is a 3D remake of Raid on Bungeling Bay, a 1984 Commodore 64 classic game created by Will Wright, who went on to create other classic games like Sim City and The Sims.

Play in your browser at:

K_3cBm

dVsDpj

d_qd7W

 


 

Posts

subscribe via RSS