Playmaker Forum

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

Title: Store tilemap in array?
Post by: kentcheung2000 on November 09, 2018, 11:35:45 AM
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, 12: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