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.
Provide a way to render entities (without creating entities)
-
- Inserter
- Posts: 31
- Joined: Fri Jun 11, 2021 5:20 pm
- Contact:
- SupplyDepoo
- Filter Inserter
- Posts: 286
- Joined: Sat Oct 29, 2016 8:42 pm
- Contact:
Re: Provide a way to render entities (without creating entities)
I agree, that would be very useful.
Re: Provide a way to render entities (without creating entities)
Given that's something we've wanted several times over the years and have still not found a way to do nicely. I don't see this happening. Sorry.
If you want to get ahold of me I'm almost always on Discord.