Make a button pop up when cam actor overlaps another actor

UltimategamerunleasedUltimategamerunleased Member Posts: 15
edited November -1 in Working with GS (Mac)
How would i make my ok button pop up when my cam actor overlaps another actor?

Comments

  • oops my title is missing actor after the word another is there a way to fix that?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    make a attribute called showButton

    put the button on a non scrolablle layer whever you want the position to be, and change the alpha to 0 so its invisble.

    Have a rule when cam actor collides with other actor
    -change attribute showButton to 1

    then have a rule in the button when attribute show button=1
    -change attribute self.color.alpha to 1

    cheers

    edit: you can hit the edit button under your first post to change the title if it hasnt been a hour yet
  • As always fast and helpful responses :) Thanks JohnPapiomitis.
  • Ok so I dont think your getting what im saying, I have an "ok" button that should pop up when my cam actor overlaps another not show its self im using this for my level selection. Also there is no expression editor on the collide actor. Sorry if I sound dumb im a noob and a learner in progress.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    what do you mean by "pop up"

    I also recommend you check the videos on the gamesalad cookbook youtube channel and the videos on gshelper.com

    Youll have a much better understanding of gamesalad after

    cheers
  • JohnPapiomitis said:
    what do you mean by "pop up"

    I also recommend you check the videos on the gamesalad cookbook youtube channel and the videos on gshelper.com

    Youll have a much better understanding of gamesalad after

    cheers

    Answer to Q#1: I have my OK button below my scene so its not visible I would like it to pop up when my camara actor passes my other actor then go back down when it leaves contact with my other actor if that make sense?

    2nd response: Yes I am watching those videos "Hello T-Shirtbooth here" :) Im just anxious to get started
Sign In or Register to comment.