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 save coins level to level

Can somebody tell me how to keep coins level to level? i have bonus rooms with lots of coins so it would be nice.
my game https://flowlab.io/game/play/1139530
Tagged:

Comments

  • edited March 24
    Try to figure out how the Save behavior works.
    The save behavior would save the number and that number could be loaded into different levels.

    You have to load the number when starting the level, so a once to load should work.
  • i've tried that it didint work very well
  • edited March 25
    The problem is that you don't have anything coming out of the save.
    When you use "load", it goes out of the behavior with the number.

    So it's best to:
    1. connect the output to the number displayed (done -> value)
    2. use a once instead an always

    an always can slow your game down allot, so just use a once when loading.
    you were close thogh
Sign In or Register to comment.

flowlab.io

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

Contact us

Get In Touch