Skip to main content

pyMap - 2D Tile Mapping - 0.9.3

A 2D (top down) tile mapping application developed for quick and easy designing of maps for 2D games.


Ryan Ledford
(exsolacyst)
Documentation of Application Features are included with the download. See mapfileformat.txt to see how to read a map file if you want to use it for loading maps into your own applications. Written with: python 2.7 pygame 1.9. This is something I've been working on for my own development of 2D game worlds. It works well for me and is still in development, but I would like suggestions on what other features I could add or change. Im still working on the UI. Launch by double-clicking the pyMap.py file

Changes

Updated UI with new Menu-Style button interaction. This version can now make tile objects from a selected region of cells in the editing area as long as they are all adjacent to each other and have references to the loaded loaded tileset. There is no button for this just press "M" when you have an area of filled cells, and you will be prompted to name the object. The object will be lost upon exiting the application (I'm working on the 'Save' and 'Load' functions to support tile objects). With the next release, there will be a Menu of for the custom tile objects that will show clickable thumbnails for easy selection. As for now, once you create a tile object and press Escape, you will not be able to call upon it again even though it is temporarily saved to a list within the pyCanvas object. -ESC

Links

Home Page
http://code.google.com/p/pymap/
Source
http://code.google.com/p/pymap/downloads/list
Windows
http://code.google.com/p/pymap/downloads/list
Mac
http://code.google.com/p/pymap/downloads/list

Releases

pyMap - 2D Tile Mapping 0.9.1 — 7 Feb, 2013

pyMap - 2D Tile Mapping 0.9.3 — 14 Feb, 2013

pyMap - 2D Tile Mapping 0.9.4 — 25 Feb, 2013

Pygame.org account Comments

  • Bob Awesome 2013-02-21 23:14

    kinda looks like minecraft

    John LI 2013-02-25 23:32

    I think it's more like a software called "RPGmaker" with which you can make RPG games even if you don't know how to program.

  • me 2013-02-28 23:34

    yeah right, minecraft is 3D

  • mike1a2a3a 2013-03-03 07:01

    Can I use this as part of a project I'm making? :D

  • Ryan Ledford 2013-03-03 20:43

    @aea7d8842eff2986a1e79c820b67ff15:disqus,
    You can use this app for your project. What will you be using it for (making a similar app or making maps)? Just wondering. Also, I will still be putting out updates so let me know if you have any suggestions.
    -Ryan Ledford

    mike1a2a3a 2013-03-04 00:28

    Thanks, I need to build a few tiled levels for a game I'm making. Otherwise I'd have to define the maps in a text file and build it from scratch. Anyway Ill put you in the references.

    mike1a2a3a 2013-03-04 00:42

    I'll let you know any suggestions after I play around with it for a bit =]

  • kass 2013-03-18 01:55

    how do i import the map into my game?

  • -Ryan Ledford 2013-03-28 19:05

    kass sorry for the late reply, I work offshore and I'm currently out of the country with horrible internet. kass and anyone else can load a map into their game by 1: parsing the map file with a custom function 2: copying the parser / loader from the program (i dont suggest this because of how unclear it can be to follow / change). The map file is fields are explained in the mapfileformat.txt file that is included in the source download. You will likely only need to refer to the ::CellInfo section of the map file to load it correctly into your game.

    0,0,192,0,0,0#layer, top, left, cell_col, cell_row, z

    -top and left refer to the top left of the rectangle inside the tileset image

    -cell_col and cell_row refer to the column and row location of the cell inside the pyMap application(tilewidth * col = left, tileheight * row = top (pygame.Rect((left,top),(tilewidth,tileheight))

    -z is an extra flag that can be applied to cells to tell outside apps if it is ie: destructable, moveable, etc

    hope this helps

  • jango 2014-07-31 00:28

    Does this app only support 32X32 tiling or can you use custom tiles?