Updates Refactoring Destination: Sol to use ECS Architecture

IsaacL

New Member
GSOC/TSOC 2020
This past week, I created a Health component, a Damage event that acts on it, and a system to handle that interaction. I've also made events for handling Forces and Contact. I'll be posting about my progress in detail here every other week.
 

IsaacL

New Member
GSOC/TSOC 2020
This past week, I've created a removal framework, made a Stasis component for entities that don't need to be actively managed, finished contact/force handling, and started a way of interacting with graphics using ECS. I'm working on converting the remaining graphical structures to use ECS as well.

I'm having an issue associating a "Body" (from libGDX) with an entity, because a Body can't be put into a component (since it has functionality). I can do most of the coming week's work before figuring that out, but it is necessary for completing Asteroid creation.

I have three open PRs: Forces, removal, and graphics. Those three, along with Body and the rest of the graphics logic, comprise the rest of the core structure for Destination: Sol entities.
 

IsaacL

New Member
GSOC/TSOC 2020
In the last week, I've created a system for interacting with the Body object from libGDX, which is responsible for the physics handling of an entity. The new system sends location update events and handles force events. If an entity should have an associated Body, but doesn't, the system sends a GenerateBodyEvent so that one will be created.

I've continued working on my graphics PR, and I hope to have an updated version ready for review soon. My removal PR and my Body PR are in the middle of the review process.

This coming week, I intend to create the framework for ECS-based Asteroids and Transcendent entities. Once I have done so, it will be possible to create instances of them from prefabs.
 

IsaacL

New Member
GSOC/TSOC 2020
This past week, I developed a system from drawing entities. It has a few bugs, so it's still under development. That PR can be found here. After I finish that, I'll make the changes to the Body PR that @NicholasBatesNZ suggested.

Next, I'll make the structure for ECS-based Asteroids and Transcendent entities. Developing the graphics system took longer than expected, so I didn't do Asteroid/Transcendent yet. I will make them this week.
 
Top