I’ve been using Flowlab for like 2 weeks now (cuz i need to do it for a school project),
and i decided to do something unique in my class & make a shop (currency is diamonds), i used the save block in gameflow but it didn’t transfer the amount of diamonds the player had collected over levels, can anyone help me?
well @RageX so what Block or UI tells you the number of daimonds you have.
beacause i believe all you have to do is set a setting to a certain thing ok,
My cursor is hovering over “Behavior Reset” which is what you want to change.
Set to keep between levels. but do this to what block tells you your diamonds. Ok? pretty simple
Ok so i checked out the game and its good and all but i found your problem. to fix follow easy instructions:
1 make new block and call shop
2 recreate the script that collects the daimonds from “Spaceship” in the “shop” but instead of using
Collisoin use mailbox (Remove the script from the “Spaceship” once done)
(This is what you want in “Shop” block)
3 make it so when spaceship touch it sends a message to shop
(This is what you want in “Spaceship” block)
4 set the “Shop” block settings to as i explained above to keep between level
5 remove the daimond script from the “Alien” block, if done right the script inside him is useless.
And you have a working daimond scorebored. (IF DONE RIGHT)
Your problem is that the save is in the “in” input, not the others. In activates the number, not updates it. If you put the input into + or Set it will work.