This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:tutorials:shaders:maps_in_a_shader [2020/08/20 21:02 (5 years ago)] – 2 component vectors to be clearer sausage | en:tutorials:shaders:maps_in_a_shader [2020/11/01 01:42 (4 years ago)] (current) – sausage | ||
---|---|---|---|
Line 14: | Line 14: | ||
<code ini> | <code ini> | ||
- | [BlocksGraphic] | + | [Block] |
- | Texture = | + | Graphic |
- | Pivot = top left | + | Texture |
- | TextureSize = (32, 32) | + | TextureSize |
- | [Blocks1Graphic@BlocksGraphic] | + | [Block1@Block] |
- | TextureOrigin = (0, 0) | + | TextureOrigin = (0, 0) |
- | [Blocks2Graphic@BlocksGraphic] | + | [Block2@Block] |
- | TextureOrigin = (32, 0) | + | TextureOrigin = (32, 0) |
- | [Blocks3Graphic@BlocksGraphic] | + | [Block3@Block] |
- | TextureOrigin = (0, 32) | + | TextureOrigin = (0, 32) |
- | [Blocks4Graphic@BlocksGraphic] | + | [Block4@Block] |
- | TextureOrigin = (32, 32) | + | TextureOrigin = (32, 32) |
- | + | ||
- | [Blocks1] | + | |
- | Graphic = Blocks1Graphic | + | |
- | + | ||
- | [Blocks2] | + | |
- | Graphic = Blocks2Graphic | + | |
- | + | ||
- | [Blocks3] | + | |
- | Graphic = Blocks3Graphic | + | |
- | + | ||
- | [Blocks4] | + | |
- | Graphic = Blocks4Graphic | + | |
[GameMap] | [GameMap] | ||
- | MapRow1 = | + | MapRow1 |
- | MapRow2 = | + | MapRow2 |
- | MapRow3 = | + | MapRow3 |
- | MapRow4 = | + | MapRow4 |
</ | </ | ||
Line 71: | Line 59: | ||
- Create a Map using [[https:// | - Create a Map using [[https:// | ||
- Export the tiled map to a TMX file. | - Export the tiled map to a TMX file. | ||
- | - [[en: | + | - [[en: |
- | - Use [[https:// | + | - 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. '' | - Create an empty data config file in your projects data eg. '' | ||
- Copy the config data from TiledToOrx, and paste into the '' | - Copy the config data from TiledToOrx, and paste into the '' | ||
- | - Use the [[https:// | + | - Use the [[https:// |
orximagemap -i C: | orximagemap -i C: |