frame

Howdy, Stranger!

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

Sign In Register

Coins random spawning with a counter and sound when collected

i want Coins to randomly spawn with a counter when you collect them and to show how many spawned and how many you managed to collect and sound when collected :)

Comments

  • The player needs to have a collision connected to an expression's EVAL port

    Then the output of that expression goes into its own A port.

    Go into the expression and set it to

    A="0"
    B="1"

    Set the bottom text box to "A+B"

    Connect the output into a label

    Set the label as 0

    You may also use another label "coins:"
  • how do i make the coins respawn randomly spawn after they are collected?
    https://flowlab.io/game/view/701772
  • edited August 14
    Instead of using a destroyer,

    Use 2 randoms and a position
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