Object won't stop when touches edge of screen!

iTouchGameriTouchGamer Member Posts: 681
edited November -1 in Working with GS (Mac)
I made an actor and put it at the end of the screen, left and right. I turned "movable" off, and I put in a rule that says when collides with my main actor, bounce. But when I preview, the actor goes right through the "barrier". I don't know what I'm doing wrong, this has worked in my other game.....

Comments

  • calvin9403calvin9403 Member Posts: 3,186
    iTouchGamer said:
    I made an actor and put it at the end of the screen, left and right. I turned "movable" off, and I put in a rule that says when collides with my main actor, bounce. But when I preview, the actor goes right through the "barrier". I don't know what I'm doing wrong, this has worked in my other game.....

    why do you want to turn movable off?
  • iTouchGameriTouchGamer Member Posts: 681
    The barrier, I turned movable off for that. Should I not have done that?
  • calvin9403calvin9403 Member Posts: 3,186
    iTouchGamer said:
    The barrier, I turned movable off for that. Should I not have done that?

    yes you do, do you make a rule that collide??
  • iTouchGameriTouchGamer Member Posts: 681
    Yes I did, on the barrier. Should it be on the main character too, or just the barrier?
  • calvin9403calvin9403 Member Posts: 3,186
    iTouchGamer said:
    Yes I did, on the barrier. Should it be on the main character too, or just the barrier?

    if it collide with the character, the barrier will not bounce!!
    because you turn movable off
    put the rule in the character
  • iTouchGameriTouchGamer Member Posts: 681
    Still not working
  • calvin9403calvin9403 Member Posts: 3,186
    send me your project calvin9403 at hotmail.com
    zip the file
  • iTouchGameriTouchGamer Member Posts: 681
    Ok I'll send it in a minute.

    EDIT-Sent
  • iTouchGameriTouchGamer Member Posts: 681
    Still having trouble with this. Can any of you help please?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    iTouchGamer said:
    Still having trouble with this. Can any of you help please?

    Post screenshots of your rule if you can.

    So you know 2 actors cant be not moveable and collide so one of them has to be moveable, also you should just be putting the collide behavior in the actor, not a rule when object overlaps with wall ,then collide behavior
  • b2iscoolb2iscool Member Posts: 135
    http://gamesalad.com/game/13916

    this is a little deeper than what you want but just ignore the change attribute.

    Peace
  • iTouchGameriTouchGamer Member Posts: 681
    Ok guys thanks! I'll see if these work.

    Edit-Still not working. I don't know what I'm doing wrong. I looked at my other game, practically stamped the rules into my brain, and it won't work in this one...
  • hackmodfordhackmodford Member Posts: 48
    So both actors are not moveable but you have a collide rule? That will not work because both are not moveable.

    When you uncheck moveable you basically disable the physics engine for that actor. Therefore moveable has no meaning...

    That's my understanding.

    So brick walls can be unchecked

    But stuff you want to bounce/stop has to have moveable checked.
  • iTouchGameriTouchGamer Member Posts: 681
    NO!!! lol, only the wall is not moveable.

    I've done this before, and it HAS worked. It's just this one game...
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Just wondering what happened when you sent you game to calvin? He seems to ask alot of people to send his project to him to fix, but he never does
  • iTouchGameriTouchGamer Member Posts: 681
    He told me it worked, but clearly it didn't. He also said I had a ball in my project, which I did not. lol, I'll get it to work somehow, I just started a new project and it worked fine, so maybe it was just that one project.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    iTouchGamer said:
    He told me it worked, but clearly it didn't. He also said I had a ball in my project, which I did not. lol, I'll get it to work somehow, I just started a new project and it worked fine, so maybe it was just that one project.

    o god lol. glad you got it working at least
  • iTouchGameriTouchGamer Member Posts: 681
    Haha yea, I'll see what I can do with it.
Sign In or Register to comment.