Multiple saves not working?

in my game: https://flowlab.io/games/play/2886067

there are two save slots for the player, one called: save skin
another called: Collectable skin?
the one called Collectable skin? should play 3 seperate animations depending if the player found the coins in the level, which then would unlock one in the customization menu

the one called save skin is meant to unlock a different animation when the player finishes certain levels, but Collectable skin? save does not work properly even when switching back and fourth between the ‘collectable’ skins and the normal skins? the ‘save skin’ skins do work exactly as they should. does anyone know the problem?

the player ball is bugged when choosing a collectable skin, please help

It works from what I can see, the problem is that you have both saves using 2 animations at the same time. The animation that was used last or the animation with the highest priority value will play.

  • You need to use a single save block for what skin/animation to use in the player.
  • You should use a save for each collectable to unlock in them in the customization level.
1 Like

Hi @JR01 thanks for your reply however I have a few questions, I’ve tried to follow but is this the solution you meant?

the code for a block in customization menu that spawns the collectable ball sprite (once triggered that the player collected a coin)

the code for collectable coin 1:

the code for collectable 1 (collectable 1 sprite to equip it)

the sprite where you select the ball to equip sends a ‘save skin message’ to the player which does work fine

Do you happen to know the problem to why the first collectable isnt spawning once picked up? how would you go about it?

the other coins are much the same just with the value 0.2 and 0.3, (each with their own save in each coin)

1 Like

The filters to spawn the collectable skins need to be = to 0.1, = to 0.2, and = to 0.3

1 Like