Im am working on a game where my enemies fall down at a random position at the top of my layout.
Right now I have something like this in my event scheet:
system > create Sprite on layer=0; x=random(60 (WindowWidth-60)); Y=-100
The idea is that my enemies fall down withing 60px from the sides, but for some reasong they only fall down at the left half of my screen. Does anyone know how to fix this?