en:tutorials:shaders:maps_in_a_shader
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
en:tutorials:shaders:maps_in_a_shader [2020/10/31 11:03 (4 years ago)] – fixed orxImageMap link iarwain | en:tutorials:shaders:maps_in_a_shader [2020/11/01 01:42 (4 years ago)] (current) – sausage |
---|
- 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/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: | - 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.1604167402.txt.gz · Last modified: 2020/10/31 11:03 (4 years ago) by iarwain