Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (768)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (854)
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  
  Java Multiplayer FPS Engine - SteveTech1  (Read 3046 times)
0 Members and 1 Guest are viewing this topic.
Offline SteveSmith
« Posted 2018-03-10 15:53:50 »

Hi Everyone,

A few months ago after spending way too much time playing Overwatch & TF2, I started work on a Multiplayer FPS Engine for Java (nicknamed SteveTech1 in tribute to Id's naming convention) to see if I could create a multiplayer FPS of my own.  I designed it to be something like Source engine but written in Java, and have all the generic code required to write a proper multiplayer FPS.

There's still plenty of work for me to do and it's not been thoroughly tested in The Real World (tm), but the bulk of the difficult coding is done and it has the following main features:

* Authoritative server
* Client prediction
* Lag-compensation
* TCP and UDP
* Collision detection
* Simple physics
* Hitscan & projectile weapons
* Simple entity system

I've written one test game so far, to demonstrate the features, called Undercover Agent:-

<a href="http://www.youtube.com/v/JuuGNO-iXDA?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/JuuGNO-iXDA?version=3&amp;hl=en_US&amp;start=</a>

This example game is like What the Box; each player is an identical looking snowman surrounded by other identical snowman, so the challenge is to identify the other players and shoot them with snowballs.  (Excuse the jerkiness, my poor laptop is running a server and 2 clients and recording the desktop).  

My next project with this engine is a multiplayer realtime version of Laser Squad/X-Com, which is still very early in development:-

<a href="http://www.youtube.com/v/wUcSbAPDWzc?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/wUcSbAPDWzc?version=3&amp;hl=en_US&amp;start=</a>

The engine and example games are all fully open-source and available at https://bitbucket.org/SteveSmith16384/stetech1 , so if you fancy writing an FPS, feel free to clone/copy it or just have a look.  Once the code has bedded down, I aim to write a tutorial on how to use it, but the example game gives a good idea as it is.

Cheers!

Offline orange451

JGO Kernel


Medals: 438
Projects: 7
Exp: 7 years


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


« Reply #1 - Posted 2018-03-10 21:11:33 »

Looks pretty cool! Smiley

First Recon. A java made online first person shooter!
Offline SteveSmith
« Reply #2 - Posted 2018-03-11 10:02:04 »

Looks pretty cool! Smiley

Thanks. Smiley 3D graphic design isn't my strong point, but as is often the case, all the hard work is happening in the background.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline DesertCoockie
« Reply #3 - Posted 2018-03-11 20:03:40 »

Are you using LWJGL 3 or 2?
Offline SteveSmith
« Reply #4 - Posted 2018-03-11 21:48:38 »

Are you using LWJGL 3 or 2?

I only use LWJGL indirectly via using JMonkeyEngine for the 3D, so whichever version that uses.  I'm afraid I don't know which specific version it is, or how to find out?

Offline DesertCoockie
« Reply #5 - Posted 2018-03-12 05:06:03 »

Maybe there is the build file with the library jars? If not, maybe Google knows it.
I was just curious Smiley
Offline SteveSmith
« Reply #6 - Posted 2018-03-12 10:49:26 »

It looks like JME can use either version, but I seem to be using LWJGL v3 by default.

Offline SteveSmith
« Reply #7 - Posted 2018-06-12 12:14:43 »

Work continues unabated on my Java Multiplayer FPS Engine.  Shooting has been a particular problem, what with players viewing a delayed view of the world but wanting to see a bullet immediately.  Who'd have thought that a multiplayer FPS engine would that complicated!? Wink

I've just started using it to create a new multiplayer zombie survival game (a bit like Alien Isolation, but I could only find a zombie model).

<a href="http://www.youtube.com/v/OuySPWh2O5c?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/OuySPWh2O5c?version=3&amp;hl=en_US&amp;start=</a>

It's not very pretty at the moment, most of the work has been on the zombie AI.  Zombies can only see the player if they are in front of them, and if they do see them, they chase them and bit them.  All good clean fun.

I've also started a tutorial on how to the this engine to create your own multiplayer FPS's without having to do all the hard work: https://bitbucket.org/SteveSmith16384/stetech1/src/master/Tutorial/tutorial1_intro.md

Offline SkyAphid
« Reply #8 - Posted 2018-07-14 16:59:58 »

The way your zombie looks and moves makes me uncomfortable as hell lol

it just werks
Offline beeaware
« Reply #9 - Posted 2018-07-14 17:09:16 »

Impressive, and way beyond my capabilities (I stick to 2D, much safer  Grin). The zombies remind me of the horrible nurses in Silent Hill (I think it was part 2). I did notice that your viewpoint is kinda low, seems like your playing as a little person.

You know you're getting old when you played Pong while it was still hot...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SteveSmith
« Reply #10 - Posted 2018-07-17 12:24:05 »

Thanks for your comments.  I can't take any credit (or blame!) for the 3D models since they're just what I've borrowed from the internet.  My work has all been focused on creating the multiplayer FPS engine, which I'm currently using to jump on the latest bandwagon and create my own Battle Royale: Grin

<a href="http://www.youtube.com/v/O-QbPfuOZQ4?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/O-QbPfuOZQ4?version=3&amp;hl=en_US&amp;start=</a>

Again, none are the models are mine, I'm indebted to the internet.

Pages: [1]
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

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

Solater (807 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org 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‑gaming.org
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!