Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  GDX-Proto (FPS/3D Engine, libgdx)  (Read 13894 times)
0 Members and 1 Guest are viewing this topic.
Offline jrenner
« Posted 2014-07-24 13:04:30 »

(this top was formerly title 'FPS Engine', I've since given the project a name and open sourced it on Github).

Github Repo:

GDX-Proto is a lightweight 3d engine for libgdx.

Some of its main features are:
1. fast collision detection using bullet physics library (but not simulating the world, for better performance and allowing manual collision resolution).
2. collision resolution in Java code, easily modified, or used as is.
2. full featured server/client networking with entity interpolation and client prediction (no prediction for projectiles yet). Local single-player play is also supported, of course.
3. simple entity system that handles velocity, position, rotation with easy to use API
4. support for Decals (billboard sprites) or 3d models
5. simple chat system over network
7. uses libgdx new 3D API

It's early days and the project is immature, but there is already a nice FPS demo jar that can be downloaded and run from the github repo bin directory.
Offline Thotep
« Reply #1 - Posted 2014-07-24 13:43:51 »

Good start! Did you use the new 3d API?

@thotep, made Prophour23, currently working on PANZERBOMB.
Offline SHC
« Reply #2 - Posted 2014-07-24 13:45:35 »

Wow! Looking awesome. Did you use the new 3D API?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline jrenner
« Reply #3 - Posted 2014-07-24 13:58:29 »

This is indeed the latest 3d api.  The ground and the big purple house is me trying to make objects progamatically out of boxes.  The other strange objects are imported fbx files I made from blender
Offline tkausl

Junior Devvie

Medals: 3
Exp: 5 years

« Reply #4 - Posted 2014-07-24 14:40:58 »

OT: May i ask whats the "new 3D API"?

My English isnt that great. Correct me, if you want, im still learning this Language Smiley
Offline orange451

JGO Kernel

Medals: 391
Projects: 6
Exp: 7 years

Your face? Your ass? What's the difference?

« Reply #5 - Posted 2014-07-24 18:07:53 »

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: ERROR: 0:334: No matching function for call to min(vec4, vec3)

   at org.jrenner.fps.View.render(
   at org.jrenner.fps.Main.render(
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(
   at com.badlogic.gdx.backends.lwjgl.LwjglApplication$

Doesn't seem to run on macs Sad

First Recon. A java made online first person shooter!
Offline gouessej
« Reply #6 - Posted 2014-07-24 18:18:43 »


Where is the source code? Maybe it can help to solve orange451 's problem :

Good luck.

Edit.: I have the same error under Mageia Linux 4 64 bits, IntelĀ® 963Q Express.

Julien Gouesse | Personal blog | Website | Jogamp
Offline jrenner
« Reply #7 - Posted 2014-07-25 01:42:26 »

tkausl, the new 3D API, is actually not so new anymore.  It's just an abstraction layer on top of OpenGL to make things a little easier to develop with.  I actually don't have any experience with the old 3D API
Offline jrenner
« Reply #8 - Posted 2014-07-25 02:18:07 »

I fixed my shader problems. shouldn't crash on mac or other linux distros anymore. Link is the same.
Offline gouessej
« Reply #9 - Posted 2014-07-25 08:30:55 »

shouldn't crash on mac or other linux distros anymore
It was probably reproducible under Windows too. I'm sure that the OS wasn't the culprit, only quite "tolerant" drivers accepted your shader as it was. I'll give it another try when I'm at home.

Edit.: I've just tested it a few minutes under Windows 7 64 bits, Nvidia Quadro 600. It works correctly. You said that there is no shooting yet. I advise you to read this discussion about collisions in FPS. To sum up, if you need a quick and dirty method to implement the shooting, just use rays, otherwise use multisampling (a posteriori discrete collision detection, easy to implement but expensive) or a priori continuous collision detection (harder to implement but more accurate, more efficient most of the time, supported by some physics engine). I quoted some articles in the thread above, I hope it will be helpful for you. Anyway, you can use the LibGDX 3D physics Bullet wrapper, maybe it is already the case.

Julien Gouesse | Personal blog | Website | Jogamp
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline jrenner
« Reply #10 - Posted 2014-07-28 02:42:15 »

Here is a video of the engine being tested.  The framerate is only choppy due to recording.
Offline jrenner
« Reply #11 - Posted 2014-07-30 02:33:36 »

new playable demo with some fake enemies, shooting, particle effects, fog, and better physics
Offline gouessej
« Reply #12 - Posted 2014-07-30 17:56:11 »

You should add a gun and some sound Grin

There are some free guns here:

You can find some free sounds on

Nice demo, keep up the good work.

Julien Gouesse | Personal blog | Website | Jogamp
Offline jrenner
« Reply #13 - Posted 2014-08-03 13:53:57 »

I'm releasing a new test that includes shoot + destroying monsters and networked multiplayer play!

I update the original post and added a new download link and instructions.
Offline jrenner
« Reply #14 - Posted 2014-08-06 12:03:38 »

A big announcement. I've open sourced the project on github!
Pages: [1]
  ignore  |  Print  

EgonOlsen (79 views)
2018-06-10 19:43:48

EgonOlsen (59 views)
2018-06-10 19:43:44

EgonOlsen (78 views)
2018-06-10 19:43:20

DesertCoockie (261 views)
2018-05-13 18:23:11

nelsongames (160 views)
2018-04-24 18:15:36

nelsongames (158 views)
2018-04-24 18:14:32

ivj94 (902 views)
2018-03-24 14:47:39

ivj94 (162 views)
2018-03-24 14:46:31

ivj94 (813 views)
2018-03-24 14:43:53

Solater (177 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!