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
Our educational partners
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
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
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
Develop games in your browser. Powerful, performant & highly capable.
Oh yeah yeah! haha I changed the condition to greater than or equal to. Thanks Stain!