pgimeno wrote: ↑Sun Sep 05, 2021 11:39 pm
There's one way that might work. [...]
This is much appreciated and I [kinda] understand better (distinguish which element has to be scaled using which scale hurts a bit, and I discovered canvas on this same project)...
As I said in another post, I am rendering my stuff through
Simple Tiled Implementation (tilemap renderer).
I modified the code to match what you shown, but I still have an issue :

(At least, tiles are fixed, that's good! Thank you!)
So as you can see, everything but the hero are getting drawn just fine...
The tiles are part of the tileset, already in the .lua map file, and are spread on different layers.
For the hero sprite, I create a custom layer in load(), in main.lua.
Then, every layer is put on a canvas, then drawn on screen from Map:draw(), in assets/lib/sti/init.
Would there be anything I missed in the hero layer, or is it something else that screws it up?
(Sorry to ask you to look in this... hope it is'nt that messy...)
Thank you again!
Currently working on game music...