Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ultica-ISO] Vehicle boards, windshields etc. #1594

Merged
merged 11 commits into from
Sep 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
72 changes: 72 additions & 0 deletions gfx/Ultica_iso/pngs_iso_high_48x96/vehicle/boards/vp_board.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[
{
"id": "vp_board_se",
"fg": [ "vp_board_se", "vp_board_se_rotW", "vp_board_vertical_left", "vp_board_se_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_board_sw",
"fg": [ "vp_board_sw", "vp_board_vertical_right_rotE", "vp_board_sw_rotS", "vp_board_sw_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_board_nw",
"fg": [ "vp_board_vertical_left", "vp_board_se_rotE", "vp_board_se", "vp_board_se_rotW" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_board_ne",
"fg": [ "vp_board_sw_rotS", "vp_board_sw_rotE", "vp_board_sw", "vp_board_vertical_right_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_board_vertical_left",
"fg": [ "vp_board_vertical_left", "vp_board_vertical_right_rotE", "vp_board_vertical_right", "vp_board_vertical_left_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_board_vertical_right",
"fg": [ "vp_board_vertical_right", "vp_board_vertical_left_rotE", "vp_board_vertical_left", "vp_board_vertical_right_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_board_wheel_left",
"fg": [ "vp_board_wheel_left", "vp_board_wheel_right_rotE", "vp_board_vertical_right", "vp_board_vertical_left_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_board_wheel_right",
"fg": [ "vp_board_vertical_right", "vp_board_vertical_left_rotE", "vp_board_wheel_left", "vp_board_wheel_right_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": [ "vp_board_horizontal_front", "vp_board", "vp_board_horizontal", "vp_board_horizontal_2" ],
"fg": [
"vp_board_horizontal_front",
"vp_board_horizontal_front_rotW",
"vp_board_horizontal_front_rotS",
"vp_board_horizontal_front_rotE"
],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_board_horizontal_rear",
"fg": [
"vp_board_horizontal_front_rotS",
"vp_board_horizontal_front_rotE",
"vp_board_horizontal_front",
"vp_board_horizontal_front_rotW"
],
"rotates": true,
"bg": [ ]
}
]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
30 changes: 30 additions & 0 deletions gfx/Ultica_iso/pngs_iso_high_48x96/vehicle/doors/vp_door.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"id": [ "vp_door_left", "vp_door_vertical_left", "vp_door_nw", "vp_door_sw", "vp_door_front_left", "vp_door_rear_left" ],
"fg": [ "vp_door_left", "vp_door_right_rotE", "vp_door_right", "vp_door_left_rotE" ],
"bg": [ ],
"rotates": true,
"multitile": true,
"additional_tiles": [
{
"id": "open",
"fg": [ "vp_door_left_open", "vp_door_left_open_rotW", "vp_door_left_open_rotS", "vp_door_left_open_rotE" ],
"bg": [ ]
}
]
},
{
"id": [ "vp_door_right", "vp_door_vertical_right", "vp_door_ne", "vp_door_se", "vp_door_front_right", "vp_door_rear_right", "vp_door_sliding" ],
"fg": [ "vp_door_right", "vp_door_left_rotE", "vp_door_left", "vp_door_right_rotE" ],
"bg": [ ],
"rotates": true,
"multitile": true,
"additional_tiles": [
{
"id": "open",
"fg": [ "vp_door_right_open", "vp_door_right_open_rotW", "vp_door_right_open_rotS", "vp_door_right_open_rotE" ],
"bg": [ ]
}
]
}
]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[
{
"id": [ "vp_halfboard_cover", "vp_halfboard_horizontal_front", "vp_halfboard_cover_left", "vp_halfboard_cover_right" ],
"fg": [ "vp_halfboard_cover", "vp_halfboard_cover_rotW", "vp_halfboard_cover_rotS", "vp_halfboard_cover_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_ne",
"fg": [ "vp_halfboard_ne", "vp_halfboard_ne_rotW", "vp_halfboard_ne_rotS", "vp_halfboard_ne_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_nw",
"fg": [ "vp_halfboard_nw", "vp_halfboard_nw_rotW", "vp_halfboard_nw_rotS", "vp_halfboard_nw_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_se",
"fg": [ "vp_halfboard_se", "vp_halfboard_se_rotW", "vp_halfboard_se_rotS", "vp_halfboard_se_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_sw",
"fg": [ "vp_halfboard_sw", "vp_halfboard_sw_rotW", "vp_halfboard_sw_rotS", "vp_halfboard_sw_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_vertical_left",
"fg": [ "vp_halfboard_vertical_left", "vp_halfboard_vertical_right_rotE", "vp_halfboard_vertical_right", "vp_halfboard_vertical_left_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_vertical_right",
"fg": [ "vp_halfboard_vertical_right", "vp_halfboard_vertical_left_rotE", "vp_halfboard_vertical_left", "vp_halfboard_vertical_right_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_wheel_left",
"fg": [ "vp_halfboard_wheel_left", "vp_halfboard_wheel_right_rotE", "vp_halfboard_vertical_right", "vp_halfboard_vertical_left_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_wheel_right",
"fg": [ "vp_halfboard_vertical_right", "vp_halfboard_vertical_left_rotE", "vp_halfboard_wheel_left", "vp_halfboard_wheel_right_rotE" ],
"rotates": true,
"bg": [ ]
},
{
"id": "vp_halfboard_horizontal_rear",
"fg": [
"vp_halfboard_horizontal_rear",
"vp_halfboard_horizontal_rear_rotW",
"vp_halfboard_horizontal_rear_rotS",
"vp_halfboard_horizontal_rear_rotE"
],
"rotates": true,
"bg": [ ]
}
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[
{
"id": [ "vp_windshield", "vp_windshield_horizontal", "vp_windshield_horizontal_front", "vp_windshield_front_edge" ],
"fg": [
"vp_windshield_horizontal",
"vp_windshield_horizontal_rotW",
"vp_windshield_horizontal_rotS",
"vp_windshield_horizontal_rotE"
],
"bg": [ ],
"rotates": true
},
{
"id": [ "vp_windshield_horizontal_rear" ],
"fg": [ "vp_windshield_rear", "vp_windshield_rear_rotW", "vp_windshield_rear_rotS", "vp_windshield_rear_rotE" ],
"bg": [ ],
"rotates": true
},
{
"id": "vp_windshield_nw",
"fg": [
"vp_windshield_nw",
"vp_windshield_nw_rotW",
"vp_windshield_nw_rotS",
"vp_windshield_nw_rotE"
],
"bg": [ ],
"rotates": true
},
{
"id": "vp_windshield_ne",
"fg": [
"vp_windshield_ne",
"vp_windshield_ne_rotW",
"vp_windshield_ne_rotS",
"vp_windshield_ne_rotE"
],
"bg": [ ],
"rotates": true
},
{
"id": "vp_windshield_wheel_right",
"fg": [
"vp_windshield_ne",
"vp_windshield_ne_rotW",
"vp_windshield_ne_wheel_rotS",
"vp_windshield_ne_wheel_rotE"
],
"bg": [ ],
"rotates": true
},
{
"id": "vp_windshield_wheel_left",
"fg": [
"vp_windshield_nw_wheel",
"vp_windshield_nw_wheel_rotW",
"vp_windshield_nw_rotS",
"vp_windshield_nw_rotE"
],
"bg": [ ],
"rotates": true
},
{
"id": [ "vp_windshield_vertical_left", "vp_windshield_left" ],
"fg": [ "vp_windshield_left", "vp_windshield_right_rotE", "vp_windshield_right", "vp_windshield_left_rotE" ],
"bg": [ ],
"rotates": true
},
{
"id": [ "vp_windshield_vertical_right", "vp_windshield_right" ],
"fg": [ "vp_windshield_right", "vp_windshield_left_rotE", "vp_windshield_left", "vp_windshield_right_rotE" ],
"bg": [ ],
"rotates": true
}
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified gfx/Ultica_iso/pngs_iso_tall_48x120/terrain/t_wall_w/t_wall_w.xcf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"id": "vp_door_trunk",
"fg": [
"vp_door_trunk",
"vp_door_trunk_rotW",
"vp_door_trunk_rotS",
"vp_door_trunk_rotE"
],
"bg": [
],
"rotates": true,
"multitile": true,
"additional_tiles": [
{
"id": "open",
"fg": [ "vp_door_trunk_open", "vp_door_trunk_open_rotW", "vp_door_trunk_open_rotS", "vp_door_trunk_open_rotE" ],
"bg": [ ]
}
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
30 changes: 27 additions & 3 deletions gfx/Ultica_iso/tile_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"width": 48,
"height": 24,
"retract_dist_min": 2.5,
"retract_dist_max": 5.0,
"retract_dist_max": 6.0,
"//": "We assume a base area of 90cm x 90cm."
},
{
Expand All @@ -23,13 +23,37 @@
"//5": "Flat objects but some extensions allowed, floors, grass, snow, sidewalks"
}
},
{
"iso_half.png": {
"sprite_width": 48,
"sprite_height": 48,
"sprite_offset_y": -24,
"//5": "Object like furniture up to 72cm"
}
},
{
"iso_full.png": {
"sprite_width": 48,
"sprite_height": 72,
"sprite_offset_y": -48,
"//5": "Object like furniture up to 144cm"
}
},
{
"iso_high.png": {
"sprite_width": 48,
"sprite_height": 96,
"sprite_offset_y": -72,
"sprite_offset_y_retracted": -5,
"//2": "Objects height is about 2.1m. Will be retracted."
"//2": "Objects height is about 2.1m."
}
},
{
"iso_wide_high.png": {
"sprite_width": 96,
"sprite_height": 96,
"sprite_offset_x": -24,
"sprite_offset_y": -72,
"//2": "Objects height is about 2.1m, with extra width"
}
},
{
Expand Down