Posts tagged: map editor

TuDee, Monkey and Diddy

TuDee now has a module for loading and drawing a map in Monkey. Get the latest version here:
http://www.diorgo.com/v1/?p=366

The module, tudeetdx requires the Diddy module. It loads a TDX (TuDee XML) file which is exported from TuDee with the TDX exporter.

It can load a TDX file which contains a single map or multiple maps.

The module and an example of how to use it, are installed in the folder “Examples\Tdx\Monkey”.

Please post any questions, comments, suggestions and bugs here.

Find out more about the TDX exporter here:
http://www.diorgo.com/v1/?p=379

TuDee XML Exporter

TuDee now has an XML exporter that allows you to select which data to export. Get the latest version here:
http://www.diorgo.com/v1/?p=366

Supporting TDX (TuDee XML)

If anyone writes any libraries to read TDX, in any language or engine, please send me the link and I’ll add it here.

C#

  • TuDeeTdx.cs – A class to load a TDX file. This is also included in the TuDee install in the “Examples\Tdx” folder.
  • C++

  • TuDeeTdxBase64Example.cpp – Example code showing how to read the decoded Base64 data. This is also included in the TuDee install in the “Examples\Tdx” folder.
  • Monkey

  • tudeetdx_v100.zip – A module for loading and drawing a TDX map in Monkey. This is also included in the TuDee install in the “Examples\Tdx\Monkey” folder.

  • TDX file format (TuDee XML)

    Base64
    The Grid Data, Instance Entities and Paths can also be exported as Base64, and optionally compressed with zlib or gzip.
    The data is packed into an array of bytes, then compressed if compression is selected, then converted to Base64. The array is stored in little endian format.

    zlip compression
    The zlib compression is done with zlib, using the compress2 function to compress the data in memory. The data is then converted to Base64.

    gzip compression
    gzip compression is done with zlib, using the gzwrite function to write the compressed data to a temporary file. The file is then loaded into memory and converted to Base64.

    Example of an exported TDX file

    The exporter allows you to export everything into a single file, or multiple files (e.g. one file for each map). The following example contains all the data in a single file.
    demolish.tdx

    Screen shots of the user interface

    Tile Sets
    Tile Sets


    Parent Entities
    Parent Entities


    Maps
    Maps


    Layers
    Layers


    Grid Data
    Grid Data


    Instance Entities
    Instance Entities


    Paths
    Paths


    Custom Variable Names
    Custom Variable Names


    TuDee

    TuDee is a tile-based map editor I made a few years ago and it is now available for free. Download it here:
    TuDee_Setup_v104.zip

    Operating system required: Windows


    Features include:

  • Tile sets
  • Maps
  • Layers
  • Entities (e.g. sprites, power-ups, triggers)
  • Paths (linear and Bezier curves)
  • Mosaics (groups of tiles)
  • Custom variables (for tile sets, maps, layers, entities and paths)
  • DLL-based exporter (you can write your own exporter, see the example exporter project included with the install)
  • Flexible XML exporter (select data to export)
  • A module for loading and drawing a TDX map in Monkey
  • Flexible binary exporter (select data to export)
  • Binary Map importer
  • Project files are binary or XML
  • A software and an OpenGL version


  • Games that used TuDee:

    The Adventures of Gi (ICE Green Games, 2012)
    The Harvest (Luma Arcade, 2010)
    UJ Graduation (Luma Arcade, 2009)
    Mechanics Touch (Orange Pixel, 2009)
    Astros Incredible Space Race (Luma Arcade, 2009)
    The Ultimate Grand Prix Drive (Luma Arcade, 2008)
    Nokia Navigate Around Town (Luma Arcade, 2008)
    TimeCops (Orange Pixel, 2008)
    MINI#37 (Luma Arcade, 2007)


    TDX file format (TuDee XML)

    TuDee has a flexible XML exporter that allows you to select which data to export.
    Find out more here: http://www.diorgo.com/v1/?p=379


    Screen shots of TuDee:

    TuDee
    TuDee.

    TuDee
    Numbers or collision can be given to each grid block.


    The following screen shots use images created by Daniel Cook (http://www.lostgarden.com/).

    TuDee
    A cute world.

    TuDee
    The grid.

    TuDee
    Some paths and triggers.


    LouiseBrooks theme byThemocracy