Rewriting Argentum Online in Java, using Artemis, Kryonet and libGDX.
To understand ECS, I recommend to read this. Using artemis framework has been really useful to start rewriting this game.
Avoid creating huge game protocol since we can use Requests and Responses, which can be processed easily with 'visitor' design pattern. Read more here
It allows us to create application game logic, create screens and render all that we need using OpenGL.
git clone https://github.com/guidotamb/ao-java.git
- Go to folder and use following commands to run client
./gradlew desktop:run
or server./gradlew server:run
- Or generate distribution jars
./gradlew desktop:dist
./gradlew server:dist
- Select 'Import Project'
- Find and select
build.gradle
file - Create run configurations using gradle tasks (desktop:run/dist, server:run/dist)
Contains all components (ECS related)
Game client logic, screens, GUI, client systems (ECS): on runtime should have a replicated World.
Contains assets and desktop game launcher.
Server logic and systems (ECS), database connection (TBD), etc.
All stuff shared between client and server, like network requests and responses, objects, maps, etc.