Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Free education resources to use in the classroom
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
How can i determine distance and angle in the layout or how can i know it
Distance and angle between what?l
You can use system expression angle(sprite1.x,sprite1.y,sprite2.x,sprite2.y) and dist(sprite1.x,sprite1.y,sprite2.x,sprite2.y)
For example when i set 270 degrees how can i determine this position in the layout
270 degrees on what?
0 degrees is generally facing right.
270 should make the object face up.
0 = right
180 = left
90 = down
270 = up
and (-100,-100) what does it mean ?
in that context it mean nothing. if you mean what angle it means nothing because it not valid as it's not complete
bive us more information please. What type of help do you wish? Do you want player movement in degree or what? explain please abdalghani
Develop games in your browser. Powerful, performant & highly capable.
I am confused from some capxes . . and I wanna gathering information about degrees and distances to make sprite move to right position
take this for example : creat object (sprite) on layer (main) at (1500,random(1024) . . how can I determine this position exactly in layer ?
abdalghani try this demo