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
Hi, new here I am playing with the latest version of construct 2. As per the above subject the object sprite never stops after reaching the specified x coordinate. Anyone can help me here will be highly appreciated.Thanks!
Event 1: System -> Every Tick Action: Sprite -> Move forward 5 pixels
Event 2: Sprite -> X = 350 Action: Sprite -> Set X to 350
Develop games in your browser. Powerful, performant & highly capable.
Probably the sprite's x-coordinate is never exactly 350.
maybe you should check if the x-coordinate is between 352.5 and 347.5.
or you could make sure the start coordinate of the sprite is exactly 0,5,10,15 etc. at start of layout
Oh yeah yeah! haha I changed the condition to greater than or equal to. Thanks Stain!