So I am trying to have enemys scroll down from the top of the screen and then disapper at the bottom
so right now all i have is a if else function that i have no clue if it would even work\
if y >= 180 <-----not sure what function to put right here
go to x pick random -200 to 200 y=187
else
change y by -10
Offline
Hmmm..... I don't know EXACTLY what you mean.... But try this.
when gf clicked repeat until <touching [edge v]?> change y by [-5] endThat will make your sprite keep going down until he is touching the bottom edge
Last edited by AgentCNF (2013-01-21 21:00:09)
Offline
when gf clicked repeat until [<[y position]<[180]>] change y b [-5] end hide
Offline
ok i think i asked this wrong lets try again but with some of the sugestions that you guys made
repeat until y > -180 (this is the bottom of the screen preaty much)
change y by -5
if y > -180
hide
and
go to x: pick random -200 to 200 y:187(after it reachs the bottom it will hide and go back to the top into a random x postion and a set y postion)
i think thats the correct thing...thank you once again guys for the help
Offline