Provide a way to render entities (without creating entities)
Posted: Sat Jul 30, 2022 9:10 pm
It would be useful to be able to "display" an entity, like in the cursor entity/blueprint preview.
Something like rendering.draw_entity { name, surface, target, tint, direction, etc... } could accomplish this.
I don't think there's currently way to do this:
Entity-ghost runs into too many problems and restrictions (can't overlap, can't change tint, sometimes can't be created, bots want to build them)
rendering.draw_sprite can only draw entities' item icon, not the entity; rendering.draw_animation doesn't expose entity pictures/animations.
Something like rendering.draw_entity { name, surface, target, tint, direction, etc... } could accomplish this.
I don't think there's currently way to do this:
Entity-ghost runs into too many problems and restrictions (can't overlap, can't change tint, sometimes can't be created, bots want to build them)
rendering.draw_sprite can only draw entities' item icon, not the entity; rendering.draw_animation doesn't expose entity pictures/animations.