Initiating a text response from actor collision.

swalkerswalker Member Posts: 29
edited May 2012 in Working with GS (Mac)
I seem to be struggling again on an example in the book I am working with. Basically I am trying to make it so that when two actors collide, the text, "You Win!" appears. Here is a screen:
http://postimage.org/image/von6eljpn/full/

But for some reason, nothing happens when the Player actor collides with the Door actor. Any ideas?

Best Answer

  • simo103simo103 Posts: 1,331
    Accepted Answer
    @swalker ... also just saw that it looks like you are putting the collide rule in the Door and the rule says 'when it collides with Door'. I think that needs to say when it collides with the player.

Answers

  • simo103simo103 Member, PRO Posts: 1,331
    edited May 2012
    @swalker .. in your timer to reset the scene you have it at Every 1 second .. change that to AFTER 1 second and check the run to completion box and then see if that works. Let me know and I'll troubleshoot further if needed.
  • swalkerswalker Member Posts: 29
    @simo103, thanks for this, I tried your suggestions, but still the Door doesn't seem to recognize the Player contacting it, thus no text pops up saying 'You Win!'
  • swalkerswalker Member Posts: 29
    @simo103 - you've nailed it! thanks heaps.
Sign In or Register to comment.