aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/public/maps/spritesheet
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-19 13:06:27 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-19 13:06:27 +0100
commit2a9aca302485bc08f5b2dd2a54987de6f80fc338 (patch)
tree38171abad21b2952eca6ff9e8534545b4c28ed12 /src/frontend/public/maps/spritesheet
parent37cdb0c418a7f2b47e40ae9db7ad86e1fddc86fe (diff)
Implement loading stops as tiles from OTP
Diffstat (limited to 'src/frontend/public/maps/spritesheet')
-rw-r--r--src/frontend/public/maps/spritesheet/sprite.json30
-rw-r--r--src/frontend/public/maps/spritesheet/sprite.pngbin3426 -> 5926 bytes
-rw-r--r--src/frontend/public/maps/spritesheet/sprite@2x.json30
-rw-r--r--src/frontend/public/maps/spritesheet/sprite@2x.pngbin7465 -> 13514 bytes
4 files changed, 54 insertions, 6 deletions
diff --git a/src/frontend/public/maps/spritesheet/sprite.json b/src/frontend/public/maps/spritesheet/sprite.json
index 46a525b..1b3a78b 100644
--- a/src/frontend/public/maps/spritesheet/sprite.json
+++ b/src/frontend/public/maps/spritesheet/sprite.json
@@ -7,17 +7,41 @@
"height": 32,
"pixelRatio": 1
},
- "stop-vitrasa-cancelled": {
- "id": "stop-vitrasa-cancelled",
+ "stop-santiago": {
+ "id": "stop-santiago",
"x": 32,
"y": 0,
"width": 32,
"height": 32,
"pixelRatio": 1
},
+ "stop-coruna": {
+ "id": "stop-coruna",
+ "x": 64,
+ "y": 0,
+ "width": 32,
+ "height": 32,
+ "pixelRatio": 1
+ },
+ "stop-xunta": {
+ "id": "stop-xunta",
+ "x": 96,
+ "y": 0,
+ "width": 32,
+ "height": 32,
+ "pixelRatio": 1
+ },
"stop-renfe": {
"id": "stop-renfe",
- "x": 64,
+ "x": 128,
+ "y": 0,
+ "width": 32,
+ "height": 32,
+ "pixelRatio": 1
+ },
+ "stop-feve": {
+ "id": "stop-feve",
+ "x": 160,
"y": 0,
"width": 32,
"height": 32,
diff --git a/src/frontend/public/maps/spritesheet/sprite.png b/src/frontend/public/maps/spritesheet/sprite.png
index a63888a..d8a32ab 100644
--- a/src/frontend/public/maps/spritesheet/sprite.png
+++ b/src/frontend/public/maps/spritesheet/sprite.png
Binary files differ
diff --git a/src/frontend/public/maps/spritesheet/sprite@2x.json b/src/frontend/public/maps/spritesheet/sprite@2x.json
index 02e05d5..d2e89dd 100644
--- a/src/frontend/public/maps/spritesheet/sprite@2x.json
+++ b/src/frontend/public/maps/spritesheet/sprite@2x.json
@@ -7,17 +7,41 @@
"height": 64,
"pixelRatio": 2
},
- "stop-vitrasa-cancelled": {
- "id": "stop-vitrasa-cancelled",
+ "stop-santiago": {
+ "id": "stop-santiago",
"x": 64,
"y": 0,
"width": 64,
"height": 64,
"pixelRatio": 2
},
+ "stop-coruna": {
+ "id": "stop-coruna",
+ "x": 128,
+ "y": 0,
+ "width": 64,
+ "height": 64,
+ "pixelRatio": 2
+ },
+ "stop-xunta": {
+ "id": "stop-xunta",
+ "x": 192,
+ "y": 0,
+ "width": 64,
+ "height": 64,
+ "pixelRatio": 2
+ },
"stop-renfe": {
"id": "stop-renfe",
- "x": 128,
+ "x": 256,
+ "y": 0,
+ "width": 64,
+ "height": 64,
+ "pixelRatio": 2
+ },
+ "stop-feve": {
+ "id": "stop-feve",
+ "x": 320,
"y": 0,
"width": 64,
"height": 64,
diff --git a/src/frontend/public/maps/spritesheet/sprite@2x.png b/src/frontend/public/maps/spritesheet/sprite@2x.png
index 5f4b575..ba873a4 100644
--- a/src/frontend/public/maps/spritesheet/sprite@2x.png
+++ b/src/frontend/public/maps/spritesheet/sprite@2x.png
Binary files differ