Difference between revisions of "Tiled"

From GiderosMobile
(wip)
Line 1: Line 1:
 
__TOC__
 
__TOC__
 
'''note:''' you may have to provide your own assets (fonts, gfx, …)
 
 
'''WIP'''
 
  
 
== Description ==
 
== Description ==
Line 10: Line 6:
 
  '''link: https://www.mapeditor.org/'''
 
  '''link: https://www.mapeditor.org/'''
  
Gideros supports maps exported from Tiled with the .lua format.
+
Gideros supports maps exported from Tiled with the .lua format (''File -> Export As -> Lua files (*.lua)'').
  
  '''note''': in your project, don't forget to exclude from execution your Tiled lua file (right click -> Exclude from Execution)
+
  '''note''': in your project, don't forget to exclude from execution your Tiled lua file (''right click -> Exclude from Execution'')
  
 
Here we will see examples of how to use Tiled for your games, using both '''Liquidfun''' and '''Bump''' as you would probably use one of them for your collision detection.
 
Here we will see examples of how to use Tiled for your games, using both '''Liquidfun''' and '''Bump''' as you would probably use one of them for your collision detection.
Line 18: Line 14:
 
  '''note2''': as I became a big fan of '''ECS''' for building games, I am going to use '''tiny-ECS''' but you can completely ignore it as it has no impact on how to use Tiled in Gideros
 
  '''note2''': as I became a big fan of '''ECS''' for building games, I am going to use '''tiny-ECS''' but you can completely ignore it as it has no impact on how to use Tiled in Gideros
  
== Tiled using Collection of Images ==
+
== Tiled Based on Tileset Image (+ Tiled Shapes) ==
Your game is using Tiled Collection of Images (''New Tileset -> Collection of Images'').
+
Your game is using Tiled Based on '''Tileset Image''' (''New Tileset -> Based on Tileset Image'').
 +
 
 +
'''TO DO'''
 +
 
 +
== Tiled using Collection of Images (+ Tiled Shapes) ==
 +
Your game is using Tiled '''Collection of Images''' (''New Tileset -> Collection of Images'').
  
 
If you are using '''Liquidfun''' as your physics engine, please follow this link:
 
If you are using '''Liquidfun''' as your physics engine, please follow this link:
 
* '''[[Tiled Collection of Images Liquidfun]]'''
 
* '''[[Tiled Collection of Images Liquidfun]]'''
  
If you are using '''Bump''' (cBump) for your collision detection, please follow this link xxx.
+
If you are using '''Bump''' (cBump) for your collision detection, please follow this link:
 
+
* '''TO DO'''
== Tiled Based on Tileset Image ==
 
If your game is using Tiled Based on Tileset Image (''New Tileset -> Based on Tileset Image'').
 
  
 
{{GIDEROS IMPORTANT LINKS}}
 
{{GIDEROS IMPORTANT LINKS}}

Revision as of 21:45, 13 May 2025

Description

Tiled is a free and open source, easy to use, and flexible level editor
link: https://www.mapeditor.org/

Gideros supports maps exported from Tiled with the .lua format (File -> Export As -> Lua files (*.lua)).

note: in your project, don't forget to exclude from execution your Tiled lua file (right click -> Exclude from Execution)

Here we will see examples of how to use Tiled for your games, using both Liquidfun and Bump as you would probably use one of them for your collision detection.

note2: as I became a big fan of ECS for building games, I am going to use tiny-ECS but you can completely ignore it as it has no impact on how to use Tiled in Gideros

Tiled Based on Tileset Image (+ Tiled Shapes)

Your game is using Tiled Based on Tileset Image (New Tileset -> Based on Tileset Image).

TO DO

Tiled using Collection of Images (+ Tiled Shapes)

Your game is using Tiled Collection of Images (New Tileset -> Collection of Images).

If you are using Liquidfun as your physics engine, please follow this link:

If you are using Bump (cBump) for your collision detection, please follow this link:

  • TO DO