Question for JohnPapiomitis please help

creativeappscreativeapps Member Posts: 1,770
edited November -1 in Working with GS (Mac)
I have red player is jumping on yellow actor and yellow actor falling down on green actor and stady on green actor. this works fine. Now 2nd time I do not want to stand red actor on yellow one.

I want to cancel the collide between yellow and red player after red player jump on the yellow one.

Please check and help me out. You are master I know and you will give me the right solution.

http://i55.tinypic.com/2h3wl21.jpg

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    well tshirts the master, not me lol

    but for your question if im understanding correctly try this:

    make a attribute called collisionoff and have it set to 0.

    In the red actor have the collide behavior with the yellow actor in a rule when collisionoff=0

    then have another rule when actor recieves event overlaps or collides with yellow actor
    then put a timer in that rule after .2 secodns with run to completion checked
    then put a change attribute behavior in that timer change attribute collision off to 1

    cheers
  • creativeappscreativeapps Member Posts: 1,770
    created real attribute and please check image its not working something I am missing..:(

    yellow actor means Solid Platform

    http://i54.tinypic.com/217jwj.png
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    the top rule should not be when actor collides with solid platform and when attribute colloison is 0. It should be like this:

    When Attribute game.collosionoff=0
    collide with actor of type player

    Then the timer in the bottom rule should be after .2 seconds, not every. And change it to .5, that might work better
  • ozboybrianozboybrian PRO Posts: 2,102
    I can't wait for the day when... and I quote
    Question for ozboybrian please help you are the gamesalad god and no one can compare to your unsurpassable abilities. Maybe exaggerating but a guy can dream.
    .
    .
    .
    .
    .
    .
    .
    .
    -----------------------------------------------------
    Join the GameSalad Community and have your game noticed for free.
    http://www.facebook.com/ListYourTopiPhoneGame
    List your Top iPhone Game on FaceBook!
  • creativeappscreativeapps Member Posts: 1,770
    @ ozboy john is deserve for master status he is great. In past he solved my lots of confusion.

    @ John sorry I did try again as per your instruction but this time its not going to work
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Not sure if im understanding what your trying to achieve, do you mean you want the red one to fall on the yellow one and push it, but then fall threw it?
  • calvin9403calvin9403 Member Posts: 3,186
    but we always get"TSB HELP!!!!!!!"
    ********************************************
    GS CHAT ROOM HERE:http://gsgame.epiggames.com/chat
  • creativeappscreativeapps Member Posts: 1,770
    JohnPapiomitis said:
    Not sure if im understanding what your trying to achieve, do you mean you want the red one to fall on the yellow one and push it, but then fall threw it?

    Yes john exactly that's what I am saying.
  • creativeappscreativeapps Member Posts: 1,770
    @ calvin sorry to say that but in past I asked questions and every time I am disappointed. And john solved my confusion every time magically.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    ok ill make a demo for you real quick
  • creativeappscreativeapps Member Posts: 1,770
    wow thanks a lot my friend. please let me know once you done.
  • DreamLabDreamLab Member Posts: 2,127
    creativeapps said:
    @ calvin sorry to say that but in past I asked questions and every time I am disappointed. And john solved my confusion every time magically.

    yup john is a GS god haha. always helpful to me. Hes the next sous chef if you ask me.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    http://www.mediafire.com/?fnr28pv88l30kh8

    here ya go. This ways different then i described above, but it was working alot smoother

    cheers
  • creativeappscreativeapps Member Posts: 1,770
    yes thats what i want. thanks a lot. east or west in gamesalad john is the best.
  • calvin9403calvin9403 Member Posts: 3,186
    DreamLab said:
    yup john is a GS god haha. always helpful to me. Hes the next sous chef if you ask me.

    +1
Sign In or Register to comment.