[Bilka] rendering.draw_sprite save/load issue
Posted: Fri May 03, 2019 5:35 pm
A sprite drawn with a file path like "file/picture.png", disappears after saving and reloading the game.
For example:
rendering.draw_sprite({sprite = "file/picture.png", target = {0,0}, surface = game.surfaces.nauvis, orientation = 0, x_scale = 1, y_scale = 1, render_layer = "ground-tile"})
How can i make it stay?
For example:
rendering.draw_sprite({sprite = "file/picture.png", target = {0,0}, surface = game.surfaces.nauvis, orientation = 0, x_scale = 1, y_scale = 1, render_layer = "ground-tile"})
How can i make it stay?