User Tools

Site Tools


en:tutorials:shaders:maps_in_a_shader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:tutorials:shaders:maps_in_a_shader [2020/08/31 05:37 (5 years ago)] – ↷ Links adapted because of a move operation sausageen:tutorials:shaders:maps_in_a_shader [2020/11/01 01:42 (4 years ago)] (current) sausage
Line 60: Line 60:
   - Export the tiled map to a TMX file.   - Export the tiled map to a TMX file.
   - [[en:tutorials:projects:creating_your_own_project|Create a new Orx project]].   - [[en:tutorials:projects:creating_your_own_project|Create a new Orx project]].
-  - Use [[https://wiki.orx-project.org/en/tutorials/community/sausage/tmx_to_orx|TiledToOrx]] (at least version 0.71) to convert the TMX into Orx configuration data. +  - Use [[en:tutorials:tools:tmx_to_orx|TiledToOrx]] (at least version 0.71) to convert the TMX into Orx configuration data. 
   - Create an empty data config file in your projects data eg. ''tiled.ini'' to hold the map data temporarily.    - Create an empty data config file in your projects data eg. ''tiled.ini'' to hold the map data temporarily. 
   - Copy the config data from TiledToOrx, and paste into the ''tiled.ini'' in your project.   - Copy the config data from TiledToOrx, and paste into the ''tiled.ini'' in your project.
-  - Use the [[https://gitlab.com/sausagejohnson/orximagemap/-/raw/master/orximagemap.zip|OrxImageMap]] [https://gitlab.com/sausagejohnson/tiledtoorx] program to create an image map file and a ''shader.ini'' file for use in your project. OrxImageMap is a command line project. Example usage:+  - Use the [[https://gitlab.com/sausagejohnson/orximagemap/-/raw/master/orximagemap.zip|OrxImageMap]] [[https://gitlab.com/sausagejohnson/orximagemap]] program to create an image map file and a ''shader.ini'' file for use in your project. OrxImageMap is a command line project. Example usage:
   
     orximagemap -i C:\Dev\orx-projects\MyScrollingGame\data\config\tiled.ini -m "GameMap" -o C:\Dev\orx-projects\MyScrollingGame\data\texture\map-image.png -s C:\Dev\orx-projects\MyScrollingGame\data\config\shader.ini     orximagemap -i C:\Dev\orx-projects\MyScrollingGame\data\config\tiled.ini -m "GameMap" -o C:\Dev\orx-projects\MyScrollingGame\data\texture\map-image.png -s C:\Dev\orx-projects\MyScrollingGame\data\config\shader.ini
en/tutorials/shaders/maps_in_a_shader.1598877449.txt.gz · Last modified: 2020/08/31 05:37 (5 years ago) by sausage