First Maps

Avatar

By ShadowApex 26 Sep 2014 07:05

Lead Developer · 374 comments

I removed the unneeded tileset and added your latest revisions to the latest commit of the development branch:
https://git.tuxemon.org:3000/tuxemon/tu … d9fdd66bf4

I also added a few teleport events so you can now move from the bedroom to the outside and back.

With that said, here are a few suggestions to make it easier for your maps to be included:

  1. Take a look at the Getting Started sticky post and zip up your map and dependent tilesets in the folder structure shown there.
  2. When adding your tileset images to maps in Tiled, make sure when you put your images in the correct folder structure before adding them in Tiled. This will make sure that the image paths are set up correctly in the map file. If you don't do this, you'll need to manually edit the .tmx file using a text editor (such as notepad) and change the tileset image source to a relative path, so they will work correctly in Tuxemon.

    Right now your map file is pointing to "../Downloads/tuxemon-current_win32/tuxemon/resources/gfx/tilesets/setPiecesTSR_LUKE83.png" for the tileset image. Since this path won't exist on most people's computers, Tuxemon (and Tiled) will fail to load these tileset images. You can see this when you open your map with notepad:

    map1.tmx
    ...
    <tileset firstgid="1" name="setPiecesTSR_LUKE83" tilewidth="16" tileheight="16">
      <image source="../Downloads/tuxemon-current_win32/tuxemon/resources/gfx/tilesets/setPiecesTSR_LUKE83.png" width="671" height="512"/>
    </tileset>
    ...

    You should edit your map files with notepad so it looks like this instead:

    ...
    <tileset firstgid="1" name="setPiecesTSR_LUKE83" tilewidth="16" tileheight="16">
      <image source="../gfx/tilesets/setPiecesTSR_LUKE83.png" width="671" height="512"/>
    </tileset>
    ...

  3. You should also rename your tileset images to use all lowercase letters. I know that there are some existing tilesets that do not follow this convention, but this will ensure that there are no problems loading tilesets on Mac and Linux platforms since they have case-sensitive filesystems.


Avatar

By luke83 26 Sep 2014 20:56

Member · 30 comments

Just been tweaking map (taken from newest build), found this hill side to be a problem, to match the artwork, i need a thin collision on the sides of the mountain, problem is, if i do this, it doesnt block the movement.1123004_orig.png

Avatar

By ShadowApex 27 Sep 2014 00:46

Lead Developer · 374 comments

Currently collisions must be at least one tile length in size in order for the collision detection system to detect a collision. For now you will need to make it at least 1 tile wide, but I added this as a feature request to our issue tracker so we can implement this functionality in the future:

https://git.tuxemon.org:3000/tuxemon/tuxemon/issues/23


Avatar

By luke83 27 Sep 2014 01:14

Member · 30 comments

Ok, no problem, i assume your going to need something like this for the hills you can jump down also. Well i guess its time to build another map.

Avatar

By ItsBobberson 27 Sep 2014 15:34

New member · 3 comments

It would be nice if maps had specific codenames, so to speak, that you would name a tilesheet a certain things, and the game would look at that name, instead of the relative location, and use that instead.
So, if a map had something like:

<tileset firstgid="1" name="tileset_setpiecestsr" tilewidth="16" tileheight="16">
<image source="C:\Users\ItsBobberson\derpface.png" width="671" height="512"/>
</tileset>

...it would interpret the source as the correct location, coded directly into the game:

<image source="tuxemon/gfx/setPiecesTSR.png">

Last edited by ItsBobberson (27 Sep 2014 15:34)


Avatar

By luke83 2 Oct 2014 07:37

Member · 30 comments

Started work on a second map, see image ( still not finished) also note, i have changed my tileset on this one into one larger one that i can continue to upgrade as needed, not sure if i should rebuild Map1 to suit or just leave it as is.

8622989_orig.png

Avatar

By ShadowApex 2 Oct 2014 21:51

Lead Developer · 374 comments

Not bad. One additional thing: You should actually make your outside maps larger than the walkable area. That way, when you play, the map appears to continue on forever and you don't see a black wall around the town/area.

It can be as simple as adding a few additional trees around the border so you don't see the map cut-off as you walk around.


Avatar

By luke83 3 Oct 2014 07:20

Member · 30 comments

Been trying to emulate some of these pokemon maps and they simply did what i was doing 3745.png...Actually glad you mentioned this, just discovered Tiled has a resize map option which makes this a pain free exercise, also it will allow my borders to be more natural shapes as i am no longer restricted to the original size i specified.6527496_orig.png

Last edited by luke83 (3 Oct 2014 07:50)

Avatar

By Hikari 20 Jan 2015 14:15

Member · 23 comments

Dude, I like your maps. I mean I could nitpick on little things feeling off, but that is some nice looking terrain you've got there. Been able to do anything since last post or no?

Do any of your tiles animate? Asking since 'grass rustling as you walk through' and or 'water waves/rocking' does help things feel more lively.

Avatar

By luke83 3 Oct 2015 21:27

Member · 30 comments

Latest build is looking good, still a graphical issue when walking "up" through grass but its coming across nicely.

Also, FYI, my PC died early on in the year so i basically lost everything i was working on, i have the HDD, i should see if i can salvage my old data.

Last edited by luke83 (3 Oct 2015 21:28)

Avatar

By josepharaoh99 16 Nov 2015 22:01

Champion · 295 comments

So I've got a question... Is there one special way the global Tuxemon map is supposed to be made? Or is the map up to the whims of the map developers? If so, let me hear your ideas! Here are some of my ideas:
- Add a time warp that lets you go back in time and catch extinct Tuxemon (I am working on one called Rhinchus)
- Name the cities after types of rocks. For example, map1.tmx becomes boulder_city.tmx, and Buddha Mountain might become Boulder Mountain.
So, here are some images I have of maps I am working on.
Bug Forest: A forest that connects to Boulder City ( map1.tmx)
062baec4-8c83-11e5-9740-b054fd096126.png
Granite City: The second city with the first gym
0a018f6e-8c83-11e5-97d6-129c394db118.png
And a basic structure for the first (water) gym:
0d68fb60-8c83-11e5-854c-7077b2dd16e9.png
These maps are still under development.
Also, I see a need for new object layers. Currently there are collision layer and event layer, but it might be helpful if we had a water layer, allowing you to go across water only if you have a boat or swimming Tuxemon.
So, these are my ideas...If you can't tell, I need some input. Thanks, guys!


Multiple Media Producer
Jesus is God! http://www.upci.org/search