playMaker

Author Topic: Saving Tilemaps Using Player Prefs  (Read 463 times)

misterjuly

  • Sr. Member
  • ****
  • Posts: 334
Saving Tilemaps Using Player Prefs
« on: January 14, 2022, 11:07:58 PM »
Hello,

I'm using save and load player prefs variable actions and it saves the tile map object, but it won't show the Tilemap when it reloads. The Tilemap game object shows up in the variable slot when the game is reloaded, the tiles just won't show up. I basically just have a simple fsm where in the first state it loads the Tilemap, then if a key is pressed it goes to the next state where it saves it seeing the game object to a variable, waiting for a second for it to save, then goes to the next state where if the key is pressed it resaves. What is the problem? Thanks so much!

John Bassi

misterjuly

  • Sr. Member
  • ****
  • Posts: 334
Re: Saving Tilemaps Using Player Prefs
« Reply #1 on: January 15, 2022, 01:11:26 PM »
Bump.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Saving Tilemaps Using Player Prefs
« Reply #2 on: January 17, 2022, 09:46:02 AM »
Can you show us the screenshot of the state machine?
Available for Playmaker work