Im hoping someone out there could help me out with my game project im making a sorta space invader game where im trying to find a script that'll make my sprite move along the screen in a straight line and when it gets to edge of screen move down a few steps then back along the screen, but I also want teh sprite to randomly drop down the screen! Is this possible? Any help would be much appreciated.
Offline
here's one way to do it:
when i receivespawn guy ▼go to x:-200y:150repeat untily position<-149repeat untiltouchingedge ▼?change x by25repeat10check if hitifpick random=1to201change y by-50change x by-25change y by-50repeat untiltouchingedge ▼?change x by-25repeat10check if hitifpick random=1to201change y by-50change x by25change y by-50
Offline