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 to make a sprite appear

how to make a sprite appear after collecting all of the items
Tagged:

Comments

  • ?? explain better

    sprite? do you mean an object?

    use the emittor behaviour
  • Are you sure you mean sprite and not object? A sprite is the object's graphics, an object is something that has behaviors and does something in-game.

    @PixelPizza I would definitely not use the emit behavior for this. The enable and alpha behavior would be better.

    Make something like this in the object you want to appear when getting X coins:
    Flowlab#3
    When the object loads it will be invisible and disabled. When you send "show" to the object it will be enabled and visible.

    Now we need do this in your player object to enable the objects:
    Flowlab#4
    The player counts the coins and if it's equal to 10 it sends "show" to any object of the type you wanted to appear.


Sign In or Register to comment.

flowlab.io

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

Contact us

[email protected]

Get In Touch