Slick Forums

Discuss the Slick 2D Library
It is currently Wed Oct 17, 2018 10:23 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Apr 23, 2012 11:47 pm 
Offline

Joined: Mon Apr 23, 2012 11:35 pm
Posts: 1
Helloooo :=

I'm new to Slick and I want to develop a 2d game. I need a tile based map and I know slick supports tilemaps but it has to be encoded in base64 gzip using Tiled.
My problem is my map is represented by a string array like

"xxxxxyyyyyyyyy",
"xxxxxyxyyxxxyy",
and so on...

Now how can I convert this so that slick can read it? Or is there a way without encoding it?

I have to change the tiles on the map during the game so the string array method is really easy to change one letter and update the whole game.

Thank you very much!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group