From d9a5b627cb3b7f7bc80ade9d589f516f62560fee Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Mon, 24 Jul 2023 20:52:51 +0200 Subject: [PATCH 1/3] snow3: fix obscuring areas Fixes #363 --- .changes/unreleased/Fixed-20230724-223013.yaml | 3 +++ android/assets/maps/snow3.tmx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Fixed-20230724-223013.yaml diff --git a/.changes/unreleased/Fixed-20230724-223013.yaml b/.changes/unreleased/Fixed-20230724-223013.yaml new file mode 100644 index 00000000..7bd3d199 --- /dev/null +++ b/.changes/unreleased/Fixed-20230724-223013.yaml @@ -0,0 +1,3 @@ +kind: Fixed +body: Fixed two areas in "Up, up, up and down!" which would hide vehicles (#363). +time: 2023-07-24T22:30:13.700254016+02:00 diff --git a/android/assets/maps/snow3.tmx b/android/assets/maps/snow3.tmx index fe6b9950..e273a6d5 100644 --- a/android/assets/maps/snow3.tmx +++ b/android/assets/maps/snow3.tmx @@ -13,7 +13,7 @@ - eJztXMtuGzEM1E1om96NpKdcjPxA01NvfVx6a/7/V7JGSkCgOZJIOeuOZAKCDXtXq9kZUqT2kdKbPW4t//vU38vf9DYZ7Gv9h/a1Wjb6aR1Hb5ONY8mnWG1767g9GKzxIDw956LWfw8H5e9id1t7nrx9NnDfp/ntkM51/nSlsexpx3SOexW+xefFVuH75t9vduN7XhP/vvG9Dt+St4mtwrfGfeN7XhP/1nw/2ptPY2j+zvbm0xjie3bcyL9nx23F8xVwo3xtBPevoRHtY1a+Nor7ODSifcyqv0fj2mFoRPsY8u+R+ZuF70vjZuHbqsdmx72yf2vcP7f2Kdjfh639GB3UDobm72gtekgcfH9P9jryCG6GeP4n2fVYFPcxceAWvjXu6NoDG986ns+u80v7N4vOT3xbOo/MZTKHMeBG+XnEx2UOY8CN8vMR3AzzN6q/75Mf96kvJr4Rbm9sY9I5ut8hwjeTzq3181Hc7Hx7dS7+zcK3VX9Hchd2vgWzJ3eRnI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qvUYNxLfGu5SvmOuEXBL62uE16tzBNxafe7RORrfms4tczgabu351Jr4Rs3ncXz3zHdK5yW1S1yzIPEt3R+L+c5xzjWOgDvVf5euu8TzF4rOU+uppTEe40VaT9X6EqvO0fjOzd85ncd5HI1vSeeluBF1rsW3pUbnPQlCPpful/CcZuUbAbdWr1nyGucaAXeuXiuZv3mNioBb67+9fKPgTvXfPedzbf2893yu/d7AUp9zzCh8p/qS73k8Z3w8zuMrYPbf0nM91nXFOMb/u2n9t3WdCU3nKb5LNE5GWkfiO5XXrL7Q8vlS90PXwv1h3F5bP7donCzO663N84yCVrd4bK2+xPOMgpbPPbaWzj0xyXF7NE5GWm9tnhws6bzGUOK7h9/NLRXfNXbUeuv3TFnjUsvnvZu2vta7SfE9Ct8jvrfmHPkcwaT11BF0rvXfvdvo8T2aziW+b+dx2fm4C/p7Y6fos/Se1kn4nHunq+ZnSviU/E8ZHzk/8f5kGs7S76RjlVw77jd3/nzfUh98SLi165g6jnRtUn4s1630mmrnIB3rB3edgBs= From 012871ae473aedae3538bd45fa7908a7ce5bd7f8 Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Mon, 24 Jul 2023 22:22:39 +0200 Subject: [PATCH 2/3] Document internal tools --- docs/map-format.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/map-format.md b/docs/map-format.md index 4dac9562..ba6969fc 100644 --- a/docs/map-format.md +++ b/docs/map-format.md @@ -2,7 +2,7 @@ This document describes how to create championships and tracks (aka maps) for Pixel Wheels. -## Tools +## Main Tool Track files are created using [Tiled](http://mapeditor.org). @@ -89,6 +89,8 @@ All areas where vehicles can go must be covered by section quadrilaterals. The first segment must be aligned with the *beginning* of the finish line. +Segments can be edited using Pixel Wheels Track Editor (see "Internal tools" below). + ### Waypoints A "Waypoints" object layer containing a polyline indicating where AI pilots should go. @@ -139,6 +141,18 @@ The JSON format looks like this: String. Defaults to `false`. Set to `true` for the tile representing the start position. +## Internal tools + +### Track editor + +The Track editor can help you editing sections. See its [README][track-editor-README] for more details. + +[track-editor-README]: ../tools/src/com/agateau/pixelwheels/tools/trackeditor/README.md + +### Lap position table generator + +This command-line tool creates a PNG from the sections. The PNG can help analyzing errors. Start it with `tools/lappositiontablegenerator `, where `` is the name of the PNG file to create. + ## Map icon The map must have an icon to show in the game user interface. From 5b660b29ed4abf7ccecaab8d6fe1eeea5410ebd4 Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Mon, 24 Jul 2023 22:27:11 +0200 Subject: [PATCH 3/3] snow3: fix 6th starting place being reported as 5th Add extra section to make the starting section more rectangular. --- android/assets/maps/snow3.tmx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/android/assets/maps/snow3.tmx b/android/assets/maps/snow3.tmx index e273a6d5..ad98e882 100644 --- a/android/assets/maps/snow3.tmx +++ b/android/assets/maps/snow3.tmx @@ -1,5 +1,5 @@ - + @@ -22,7 +22,7 @@ - + @@ -72,10 +72,13 @@ - + + + + - +