Is there any way to fetch the Absolute X of a sprite on the screen?
That is to say the X on the screen, taking into account Parallax and Scale rather than the X on the Layout, which is the same regardless of Parallax/Scale.
Develop games in your browser. Powerful, performant & highly capable.
LayerToCanvasX/Y is what you want, I think.
Holy sh*t, that's amazing!
Thank you a million blackhornet, you always have great solutions! ^^
I was already going through my math books trying to work out a formula to calculate this manually.
Kudos to Ashley too for figuring it out!