-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Abstract entities #20
Labels
enhancement
New feature or request
Comments
This was referenced Apr 26, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to abstract entities away from Roblox instances. You will still be able to attach components to instances with CollectionService tags, but the entity will no longer be a Roblox instance. It will be an opaque identifier (either a userdata or just an auto-incremented number) that has no fundamental behavior.
This will mean RECS will ship a blessed component with it: InstanceReference. InstanceReference components are attached to entities with CollectionService tags. Currently, an entity with the components
DeathBrick
andSparkler
looks like:After this change, the entity will instead look like this:
When the RECS core starts, it will scan for all instances with CollectionService tags. It will then create abstract entities for them with an InstanceReference component referencing the instance, along with all other applicable components (depending on the CollectionService tags on the instance).
The text was updated successfully, but these errors were encountered: