All Projects → Jarzka → MyRTS

Jarzka / MyRTS

Licence: other
Multiplayer RTS game prototype written in Java using LibGDX

Programming Languages

java
68154 projects - #9 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to MyRTS

Warzone2100
Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
Stars: ✭ 2,094 (+12217.65%)
Mutual labels:  multiplayer, rts, real-time-strategy
WarKingdoms
Unity RTS Prototype (Warcraft 3 Style)
Stars: ✭ 108 (+535.29%)
Mutual labels:  rts, real-time-strategy, rts-game
symphony-of-empires
Symphony of the Empires is a RTS strategy game and map game.
Stars: ✭ 67 (+294.12%)
Mutual labels:  multiplayer, rts, rts-game
darkreign2
Dark Reign 2
Stars: ✭ 41 (+141.18%)
Mutual labels:  rts, real-time-strategy, rts-game
UnityTutorials-RTS
The code for my series of tutorials on how to make a real-time stategy (RTS) game in the well-know Unity game engine (with C# scripting)!
Stars: ✭ 256 (+1405.88%)
Mutual labels:  rts, rts-game
Unity-Firebase-Multiplayer-Example
Multiplayer and Matchmaking system using Firebase Realtime Database in Unity
Stars: ✭ 32 (+88.24%)
Mutual labels:  multiplayer, multiplayer-game
OpenTrivia
Multiplayer quiz game demo using React and Opentdb API
Stars: ✭ 47 (+176.47%)
Mutual labels:  multiplayer, multiplayer-game
text
An experiment with WebSockets and the human condition.
Stars: ✭ 51 (+200%)
Mutual labels:  multiplayer, multiplayer-game
aurora
A small entity-component-system game engine for real-time-strategy games.
Stars: ✭ 28 (+64.71%)
Mutual labels:  rts, real-time-strategy
war1
A remake of Warcraft: Orcs & Humans written in C
Stars: ✭ 107 (+529.41%)
Mutual labels:  rts, rts-game
LunarGdx
A networking library for LibGDX utilizing Netty allowing easy creation of multiplayer games.
Stars: ✭ 23 (+35.29%)
Mutual labels:  multiplayer, multiplayer-game
PlaceInvaders
Multiplayer AR game sample
Stars: ✭ 24 (+41.18%)
Mutual labels:  multiplayer, multiplayer-game
asciiarena
Terminal multiplayer deathmatch game
Stars: ✭ 34 (+100%)
Mutual labels:  multiplayer, multiplayer-game
liblast
A libre multiplayer FPS game created in Godot Engine
Stars: ✭ 92 (+441.18%)
Mutual labels:  multiplayer, multiplayer-game
cards-over-lan
A Cards Against Humanity clone for LAN play. Works on desktop and mobile. Supports custom cards in multiple languages.
Stars: ✭ 45 (+164.71%)
Mutual labels:  multiplayer, multiplayer-game
Ogar3
A better version of Ogar
Stars: ✭ 22 (+29.41%)
Mutual labels:  multiplayer, multiplayer-game
SuperCTF
A multiplayer capture the flag game made in Godot with love and blood. Running live at www.superctf.com
Stars: ✭ 26 (+52.94%)
Mutual labels:  multiplayer, multiplayer-game
Team-Capture
Team-Capture - A multiplayer FPS game, inspired by games like Quake and TF2. Done in Unity
Stars: ✭ 81 (+376.47%)
Mutual labels:  multiplayer, multiplayer-game
colyseus-kotlin
⚔ Implementation of Colyseus client using Kotlin
Stars: ✭ 26 (+52.94%)
Mutual labels:  multiplayer, multiplayer-game
Crystalshire
Legacy VB6 open-source ORPG
Stars: ✭ 24 (+41.18%)
Mutual labels:  multiplayer, multiplayer-game

MyRTS

NOTE: This project is old. It was created mainly for fun and learning purposes. If I wrote this project today, I would do some things differently. Still, the code works (for the most part), so hopefully you find it useful if you are interested in creating your own multiplayer RTS game.

MyRTS is a multi player Real Time Strategy game prototype written in Java using libgdx library. The game is currently in very early stage but some core features have been implemented already like giving simple commands to units and synchronizing the game over network.

The game uses the same architecture style that was used in Age of Empires: every player is running individual simulation and these simulations are completely deterministic. Only player inputs are sent to other players over the network. Inputs are synced using so called "communication turns" (SimTick). Finally, all players compute md5 hash from their game state every second and send it to the server. The server checks that all simulations are in sync by using the given hash values.

The implemented engine is partly based on these articles:

One of the biggest change is that this engine does not use peer-to-peer connections, but client-server model.

The game engine uses variable physics in singleplayer mode for smooth animations and fixed physics (30fps) in multiplayer mode to keep the simulations in sync.

Gameplay demo: https://www.youtube.com/watch?v=OEy6PhbeE_Y

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].