Rule help

GingerBGamesGingerBGames Member Posts: 390
edited November -1 in Working with GS (Mac)
Hello GS'ers,

So i've got an actor that moves from the right side of the screen to the left (Actor A). I've got another actor (Actor B) that moves from left to right of the screen.

In actor A,
when touched is pressed [timer for .5 move left at self.my speed +100 otherwise move left at 0.

if self.my speed < 100 & overlaps with actor B accelerate up at 3000.

My problem is this, when i'm not touching the actor A it should be going straight up as fast as possible 3000 speed. If i'm touch the actor then all it should be doing is moving left. However this is not happening, i'm not sure how to fix this. I would like actor A to go back to it's original y as well. I don't know how to do this though.

Any help would be very appreciated, thank you.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Have contrsain y position for actor a to where you want. and put the move and touch stuff in the otherwise. not sure if thats what u mean.
  • GingerBGamesGingerBGames Member Posts: 390
    I'll give it a try John, thank you for responding so fast.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Anytime, not sure if you want to post the project or not, but if you do i can take a look at it and find out exactly whats going on. What i said should work good for returning it to the same y axis, but as for the rest you might need to switch the rules around a little. Im running it threw my head right now lol
  • GingerBGamesGingerBGames Member Posts: 390
    When I get home today, if I can't figure this thing out, i'll post it for sure.
Sign In or Register to comment.