Open blockmath opened 5 months ago
Yeah, most of the weird pub
stuff probably got that way from the revert.
All right, the blinker now actually syncs back to the client. I have no idea how I would go about actually rendering it, though...
All right, the blinker now actually syncs back to the client. I have no idea how I would go about actually rendering it, though...
Yeah, that's going to be rather tricky. The rendering code doesn't have many examples of things being rendered besides the world grid and other players. It's possible that will need to be a separate PR.
I agree, that's why I'm deciding to finish now rather than waiting to do that.
Also divorced the ID generation code fromNevermind; that has been entirely revertedserver::sim::Sim
.Still todo for a full feature: making a generic system for entities to sync back to the client.
Future:Nope, I realize now that that was a short-sighted, C++-pilled ideaTickerEntity
should be the component associated with any constantly-updating entity, and the actual ticker-specificTicker
struct should be moved to be its own component, with theticker
field inTickerEntity
denoting whichComponent
the ticker is held in.