Vrekt / LunarGdx

A networking library for LibGDX utilizing Netty allowing easy creation of multiplayer games.
MIT License
49 stars 1 forks source link

Clean this project up #12

Closed Vrekt closed 1 year ago

Vrekt commented 1 year ago

My brain is broken so I always have the urge to redo a project that is perfectly fine. Regardless, I want this project to be less confusing.

The wiki is pretty good but...

The protocol needs to change and authentication. It's very dirty and not practical at all. You can customize all that but it just seems like alot.

Worlds need to change I think. The way entities and players are handled with the spawning system doesn't allow easy switching between worlds and instances.

Entities are very fleshed out but its still missing some things with context switching.

The way worlds and interiors work is just its hard to implement and manage, I need something different. I think the system with being able to implement your own extended entities is good but sometimes it doesn't always work and causes casting errors.

The server needs a heavy rewrite, it was never a focus point and it should have been. It works but its very barebones.

Vrekt commented 1 year ago

First change towards this issue is 6dba064

Vrekt commented 1 year ago

Default packets within Lunar can now be extended properly. See commit comments for details a42fbd0

Vrekt commented 1 year ago

Server changes and entity changes 1376632

Vrekt commented 1 year ago

Seems like most api changes are over, i've learned my lesson after having to update my game and all references

Vrekt commented 1 year ago

I was wrong ^^.

Regardless, achieved most of my goals with how the structure of Lunar works and I'm much happier with the current state.