Issue with testing out different map for home

Discussions of the development process of the game.
Post Reply
Posts: 1
Joined: Fri Apr 06, 2012 5:35 pm
android_version: 2.3 - Gingerbread

Issue with testing out different map for home

Post by rhansen541 » Fri Apr 06, 2012 5:38 pm

I was trying to use a different tile set and mess around with creating a new starting screen and game wont play with a new tileset being used with a different home map.

User avatar
Posts: 3461
Joined: Wed Sep 14, 2011 5:38 pm
android_version: 7.1 - Nougat
Location: Nor City, Dhayavar

Re: Issue with testing out different map for home

Post by nyktos » Thu Apr 12, 2012 10:35 pm

i'm pretty sure you are only able to use tiles supplied in the source code...
my guess would be to include the new maps into the code, then run the game.
(so the game can find the tiles you used in your new maps)

im only guessing here - still learning the ropes myself...
good luck though! :D

(i do remember reading that we should stay close to the preexisting "look & feel" when map making)
(so im only using their tiles - in hopes that my maps make it into the game)

~Embrace The Shadow~
"Embrace the Shadow"


[Lv: 60] [HP: 175] [AC: 361] [AD: 25-39] [BC: 75]
[Dual Wielding Swords] [Unarmored Fighting]

Captain Awesome
Posts: 368
Joined: Sat Jan 29, 2011 8:51 am
android_version: 2.3 - Gingerbread
Location: Stockholm, Sweden

Re: Issue with testing out different map for home

Post by oskarwiksten » Thu Apr 19, 2012 7:41 pm

In the source code, you'll have to modify to include other tilesets if you want to add to the ones we already have. The string names of the added images in that file has to match the tileset name in
the TMX file, in addition to the actual filename.

For example (from a tmx file),

Code: Select all

<tileset firstgid="641" name="tiles_2_4" tilewidth="32" tileheight="32">
 <image source="../drawable/map_tiles_2_4.png" width="512" height="256"/>
This tileset matches on the "name" attribute of the <tileset> tag ("tiles_2_4"), against what you supply as tileset name in

Post Reply