this post was submitted on 30 Jul 2023
10 points (100.0% liked)

Programming

13212 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
10
A Type System for Scripting ECS (ceesstuff.github.io)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

cross-posted from: https://programming.dev/post/1086370

This time on my arbitrary blog: Entity component systems.

Also, highlight.js should degrade more gracefully without JS activated than last time. Note that I can't process syntax highlighting in my build step, because I don't have a build step.

EDIT: improved phrasing

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 years ago

This one I’m curious about. How common is the case when you need to operate with the entity directly, and is it worth the cost of duplicating the entity ID onto each component? In bevy’s case, you can query for the entity ID like you would a component using Entity, which I’ve found to be easy enough to do.

Maybe I worded that poorly. I'm also still not entirely sure about the terminology. This was exactly supposed to be an implementation detail.