Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
This is what's happening.
You can (barely) see in the top left that the Mouse.AbsoluteX and Mouse.AbsoluteY are precisely equal to the X and Y of the Square following (Aim). It has more definition at Gyphy. They are the last 2 items in the log.
There is no Parallax in any of my layers and every scale is still 1:1.
I found out. I'm using a 1600x900 display and the game works under 1920x1080, so there's the difference. When I set the game display to 1600x900 it works perfectly.
My question now is, is this a bug?
May I ask why do you use Mouse.AbsoluteX and not Mouse.X or Mouse.X(layer) ?
Develop games in your browser. Powerful, performant & highly capable.
Well... Because I didn't know Mouse.X("...") existed actually. Your solution works flawlessly, but then again, shouldn't Mouse.Absolute work too? In case it isn't broken, what would be the point of Mouse.Absolute then?
Since the vast majority of Construct games are auto-scaled to support different display resolutions, I really don't know why anyone would need the absolute mouse coordinates. I have never used them. Maybe if you are making a desktop project and need to resize/move the window..