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
hello i have a problem i ve got an sprite (lets called it A) and it moves vertically in dt seconds, from the top to the bottom of my screen. i put another sprite (lets called it B) at the edge of the window and the thing i want to achieve is when the A is scrolling down and overlapping the B, it will return to the starting position but this time mirrored or not (randomly). i try to put a number variable with 0 and 1 as counter but after the first time when the A actually get mirrored the next times is like the same. if anyone can help it will be very kind of you
Develop games in your browser. Powerful, performant & highly capable.
Something like this, maybe? I removed your variable from this, but maybe you still need it for something else, I don't know.
thanks a lot mate you help me a lot. it works just fine