frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

How do I make a sprite disappear?

edited January 17 in How To
I want my character to collide with one sprite which then causes a different sprite to disappear. How do I do that? I've tried using the destroy and collision behaviors but they don't allow you to impact other sprites.
Thanks.

Comments

  • Have you tried using Proximity behaviour on the sprite you want to change?

    Like:

    If Proximity (1) to Player
    Then
    Change Sprite (Or destroy and spawn new, if the new sprite is a different entity)

    Play around with the Proximity between 1 and 40 to see where it triggers in a way you want.

    -Kollamma
  • Use a message block. When your activator collides, then itshould send a message to the block. That block needs a mailbox connected to "destroy".
  • @meburningslime Yes that worked! Thanks sm!!
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch