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
its the degrees that were wrong, i removed the 8 direction behavior, and I made degrees like this below:
its getting better now, just need change degrees a tiny bit.
Now the character can walk west and east and all direction
but its degrees are still wrong, but not so much, just need to change it a tiny bit until its perfect :)
Your numbers should be: 22.5, 67.5, 112.5, 157.5, 202.5, 247.5, 292.5, 337.5
I have changed my degrees to your example.
and it worked! <3 thank you so much for all your help!
just one tiny problem,
when character is busy walking, if you move the mouse around the character direction changes too, how to stop that?
Either only change the direction on click, or only change when not already moving.
here is my project, when i click on a random spot on the map, it takes a while for it to walk.
im trying to get the character to move like Diablo, league of legends, etc.
You need to save as a single file. You can't just send a caproj file.
Develop games in your browser. Powerful, performant & highly capable.
a) move the direction code under On left click - that fixes the mouse following.
b) the delay is because it's "rotating", except you don't want rotation. Just set the rotation speed to 10000.
omg it works :D thank you so much.
Now i'll go do my idling and other stuff :)