playMaker

Author Topic: [Unity Tilemap Editor] How can I save custom tiles using Playmaker  (Read 865 times)

moondo94

  • Playmaker Newbie
  • *
  • Posts: 6
I want to know how to create a custom map and save it, like road construction.

Anyone know?

Sorry for using a translator
Have a nice day

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: [Unity Tilemap Editor] How can I save custom tiles using Playmaker
« Reply #1 on: October 12, 2021, 01:20:28 PM »
Hi.
You probably need a couple of Arrays (preferable Array Maker List).

1 for position
1 for rotation
1 for Scale (if you can scale items)
1 for the object reference (name or Id number for example)

To save them its probably best to get Easy Save or a other saving asset.
you can find actions to save array lists on the Ecosystem.

if you want to use Player Prefs you need to split your arrays into separate variables as playerprefs save is very limited.

moondo94

  • Playmaker Newbie
  • *
  • Posts: 6
Re: [Unity Tilemap Editor] How can I save custom tiles using Playmaker
« Reply #2 on: October 12, 2021, 01:37:46 PM »
Hi.
You probably need a couple of Arrays (preferable Array Maker List).

1 for position
1 for rotation
1 for Scale (if you can scale items)
1 for the object reference (name or Id number for example)

To save them its probably best to get Easy Save or a other saving asset.
you can find actions to save array lists on the Ecosystem.

if you want to use Player Prefs you need to split your arrays into separate variables as playerprefs save is very limited.


Thanks for the reply, but I want to get the information (location) of each tile, what should I do?

I used "Tilemap Get Content To Array" in the tilemap package, but only got sprite information.