Multiplayer FPS

Hello everyone!

I haven’t been active on blenderartists in ages, but I thought I’d share this little demo I made over the last few days in the BGE.

Everything in this demo was created from scratch, other than the gun model, character model, and sound effects.

The networking was done with simple python UDP sockets. It works pretty well, but there are many upgrades that could be done. First of all, the packets themselves are not very optimized–they could be updated to contain as few bits as possible, but for now I’m simply using UTF-8 encoded text commands. Also, I have no reliable data transfer protocol implemented on top of the UDP at the moment. As such, for most packets it’s fine if they drop because they’re simply tiny position updates that are sent multiple times per second. However, if an important packet drops, such as a join request, it will not recover.

The game itself could also be improved. Besides the fairly simply graphics, there are no mechanics currently for crouching, sprinting, jumping, reloading, switching guns, etc.

With all that said, here is a video demo:

If there is enough people that want it, I might clean up the files a little bit and upload for all to use.

  • Mokazon

looks neat
reminds me of COD ive never played cod on pc before thou!!!


It looks fun. Very Promising!

great looking graphics! but do improve the running gun animation.

how do you work with AI ? I never considered up to now how an AI should work

My thoughts: Graphics are nice, very good for a game in BGE. I’m assuming these are mostly pre baked textures? The animation when running needs to be improved on. The gun can’t be in the center of the screen like that, makes seeing what’s in front of you a pain. Other than that, the gun needs a muzzle flash effect, and I think the crosshair should disappear when you ADS. Crosshair should also have a dot, or something in the center of it if it’s not going to shrink and expand as you run, walk, ect. I also saw the gun clip through the tree at the start, so maybe the gun should be shrunk and put closer to the camera. Other than that… cool

1 Like

Awesome stuff, this is really impressive! How did you handle match making / disconnecting? Is there a limit to the number of players in a game at a time?

1 Like

Look very impresive man, it will be great if you can publish it, look interested to see how you have done the replication animation with the networking and the rest, anyway its an awesome work.