Add a background layer to a sprite?

Place to get help with not working mods / modding interface.
User avatar
kirazy
Filter Inserter
Filter Inserter
Posts: 431
Joined: Tue Mar 06, 2018 12:18 am
Contact:

Add a background layer to a sprite?

Post by kirazy »

In 0.17 the vanilla underground belt sprite is composed of several layers, the main sprite and then the top flange is a background layer that renders beneath the belt and items on the belt:

Image
top: vanilla underground belt; bottom: vanilla-style loader

How do I add this behavior to an entity that doesn't natively have it?
Post Reply

Return to “Modding help”