Skip to content

Commit

Permalink
External tileset for easier maintenance of UDP (and later Ultica) (ca…
Browse files Browse the repository at this point in the history
…taclysmbnteam#2853)

* External tileset for easier maintenance of UDP (and later Ultica)

* Update data/json/external_tileset/External_Tileset_DP_Tall.json

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Lil more

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
chaosvolt and github-actions[bot] authored May 21, 2023
1 parent 1f267ac commit 42454cc
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 3 deletions.
27 changes: 27 additions & 0 deletions data/json/external_tileset/External_Tileset_DP_Normal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"type": "mod_tileset",
"compatibility": [ "UNDEAD_PEOPLE_BASE", "UNDEAD_PEOPLE" ],
"tiles-new": [
{
"file": "external_tileset/External_Tileset_DP_Normal.png",
"tiles": [
{ "id": "f_steam_turbine", "fg": 0 },
{ "id": "animation_bullet_normal_0deg", "fg": 1, "rotates": true },
{ "id": "animation_bullet_normal_45deg", "fg": 2, "rotates": true },
{ "id": "shield_wooden", "fg": 3 },
{ "id": [ "overlay_worn_shield_wooden", "overlay_wielded_shield_wooden" ], "fg": 4 },
{ "id": "shield_wooden_large", "fg": 5 },
{ "id": [ "overlay_worn_shield_wooden_large", "overlay_wielded_shield_wooden_large" ], "fg": 6 },
{ "id": "shield_riot", "fg": 7 },
{ "id": [ "overlay_worn_shield_riot", "overlay_wielded_shield_riot" ], "fg": 8 },
{ "id": "shield_ballistic", "fg": 9 },
{ "id": [ "overlay_worn_shield_ballistic", "overlay_worn_shield_ballistic" ], "fg": 10 },
{ "id": "sling_bullet", "fg": 11 }
],
"sprite_width": 32,
"sprite_height": 32
}
]
}
]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions data/json/external_tileset/External_Tileset_DP_Tall.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"type": "mod_tileset",
"compatibility": [ "UNDEAD_PEOPLE_BASE", "UNDEAD_PEOPLE" ],
"tiles-new": [
{
"file": "external_tileset/External_Tileset_DP_Tall.png",
"tiles": [
{ "id": "t_utility_light_off", "fg": 0 },
{ "id": "f_alien_nerve", "fg": 1 },
{ "id": "mon_bear_armored", "fg": 2 },
{ "id": "corpse_mon_bear_armored", "fg": 3 }
],
"sprite_width": 64,
"sprite_height": 80,
"sprite_offset_x": -16,
"sprite_offset_y": -48
}
]
}
]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gfx/MSX++UnDeadPeopleEdition/Temporary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions gfx/MSX++UnDeadPeopleEdition/tile_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -35279,9 +35279,7 @@
{ "id": "medical_sample", "fg": 19227, "rotates": false },
{ "id": "mon_starer_axe", "fg": 19228, "rotates": false },
{ "id": "mon_starer_crowbar", "fg": 19229, "rotates": false },
{ "id": "mon_starer_pipe", "fg": 19230, "rotates": false },
{ "id": "animation_bullet_normal_0deg", "fg": 19231, "rotates": true },
{ "id": "animation_bullet_normal_45deg", "fg": 19232, "rotates": true }
{ "id": "mon_starer_pipe", "fg": 19230, "rotates": false }
],
"//": "range 19137 to 19336"
},
Expand Down

0 comments on commit 42454cc

Please sign in to comment.