Playmaker Forum

PlayMaker News => General Discussion => Topic started by: kentcheung2000 on November 09, 2018, 01:35:45 PM

Title: Store tilemap in array?
Post by: kentcheung2000 on November 09, 2018, 01:35:45 PM
Hi,

Does anyone knows how to store the tilemap in array and load it to the grid through playmaker?....Thanks.

KC
Title: Re: Store tilemap in array?
Post by: jeanfabre on November 23, 2018, 02:19:25 AM
Hi,

 you'll need a hashtable for example ( using arraymaker)

the key will be the x and y index in the grid, and the value will be the type of tile to put there.

however, PlayMaker doesn't run during edit time, only during runtime. How do you plan on saving data?

Bye,

 Jean