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
https://www.dropbox.com/s/r32lytnqwms0wjb/test.capx?dl=0
Something like this, maybe? I removed your variable from this, but maybe you still need it for something else, I don't know.
Develop games in your browser. Powerful, performant & highly capable.
thanks a lot mate you help me a lot. it works just fine