0.17.74 - rendering.draw_sprite{render_layer=X} doesn't interact correctly with tiles

Bugs that are actually features.
PyroFire
Filter Inserter
Filter Inserter
Posts: 356
Joined: Tue Mar 08, 2016 8:18 am
Contact:

0.17.74 - rendering.draw_sprite{render_layer=X} doesn't interact correctly with tiles

Post by PyroFire »

I would expect it to be drawn under the tiles, but isn't.

Image
posila
Factorio Staff
Factorio Staff
Posts: 5428
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: 0.17.74 - rendering.draw_sprite{render_layer=X} doesn't interact correctly with tiles

Post by posila »

There are several renderers (EntityRenderer, BuildingRenderer, TileRenderer, RoboportInfoRenderer, DebugInfoRenderer, ChartRenderer...), and they for the most part operate on separate ranges of layers. LuaRendering operates within EntityRenderer only.

You can make a modding feature request explaning what exactly are you trying to achieve, I'll see if I can modify the systems to make it possible.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5211
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: 0.17.74 - rendering.draw_sprite{render_layer=X} doesn't interact correctly with tiles

Post by eradicator »

As far as i know tiles do not support (partial) transparency, so anything "under" them would never be visible? That sounds like the bigger problem here.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Post Reply

Return to “Not a bug”