Hello!
I've been struggling to wrap my head around LayerToCanvas and CanvasToLayer, how they work and how to use them. I've managed to hunt down a few examples that were both great but I couldn't take much away from them and still don't fundamentally understand how they are supposed to function.
I have a simple setup in mind:
1) A sprite spawns an explosion on a standard layer that scrolls rapidly with a 100% parallax rate
2) The explosion immediately becomes attached to the top layer which has 0% parallax
The intended outcome should be an explosion that doesn't scroll with the camera.
If anyone can help with this I'd be very grateful.