Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / using tile studio information

Author
Message
SoftMotion3D
AGK Developer
18
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 6th Jul 2013 19:00 Edited at: 6th Jul 2013 19:16
I did some testing and the map data is actualy realy easy to load into agk.

If you create a map within tile studio you can load in your map into agk just like this....

1. draw your map using tilestudio
2. select Map...and export map
3. select 32bit 0 or 1 based in the menu and save

[0 based]
this means that the first tile is numbered as zero and up.
[1 based]
this means that the first tile is numbered as 1 and up.


to load use this code in agk


and your maps loaded into agk.

if anyone needs help just let me know and I can simplify it further.

all you need to know is your x,y sizes and how many tiles are in your tile set. create an array to hold the data. it sure beats trying to manualy enter all that in.

my map specs were 52x32x(15 different tiles)



haliop
User Banned
Posted: 7th Jul 2013 15:09

Login to post a reply

Server time is: 2024-05-04 04:02:08
Your offset time is: 2024-05-04 04:02:08