Skip to content

Commit

Permalink
feat: add green flag slide assets
Browse files Browse the repository at this point in the history
  • Loading branch information
unRARed committed Dec 10, 2024
1 parent f8fcb93 commit f93bb73
Show file tree
Hide file tree
Showing 25 changed files with 41 additions and 6 deletions.
9 changes: 9 additions & 0 deletions config/common/slides.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
#config_version=6

slides:
attract_slide:
- widget: attract
base_slide:
- widget: pit_background
- widget: pit_mirror
- widget: rear_view
- widget: fuel_(current_player.level_fuel)
- widget: oil_(current_player.level_oil)
- widget: tires_(current_player.level_tires)
green_flag_slide:
- widget: green_flag_background
- widget: green_flag_mirror
- widget: rear_view
- widget: fuel_(current_player.level_fuel)
- widget: oil_(current_player.level_oil)
- widget: tires_(current_player.level_tires)
24 changes: 18 additions & 6 deletions config/common/widgets.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#config_version=6

widgets:
attract:
- type: image
image: attract
z: 0
pit_background:
- type: image
image: pit-background
Expand All @@ -9,6 +13,14 @@ widgets:
- type: image
image: pit-mirror
z: 1
green_flag_background:
- type: image
image: green-flag-background
z: 0
green_flag_mirror:
- type: image
image: green-flag-mirror
z: 1
rear_view:
- type: image
image: rear-view
Expand All @@ -18,37 +30,37 @@ widgets:
image: oil-2
z: 3
x: 9%
y: 85%
y: 86%
oil_1:
- type: image
image: oil-1
z: 3
x: 9%
y: 85%
y: 86%
oil_0:
- type: image
image: oil-0
z: 3
x: 9%
y: 85%
y: 86%
tires_2:
- type: image
image: tires-2
z: 4
x: 30%
y: 52%
y: 57%
tires_1:
- type: image
image: tires-1
z: 4
x: 30%
y: 52%
y: 57%
tires_0:
- type: image
image: tires-0
z: 4
x: 30%
y: 52%
y: 57%
fuel_2:
- type: image
image: fuel-2
Expand Down
Binary file added images/preload/attract.jpg
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 images/preload/fuel-0.png
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 images/preload/fuel-1.png
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 images/preload/fuel-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/preload/green-flag-background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/preload/green-flag-mirror.png
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 images/preload/oil-0.png
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 images/preload/oil-1.png
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 images/preload/oil-2.png
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 images/preload/pit-background.jpg
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 images/preload/pit-mirror.png
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 images/preload/rear-view.png
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 images/preload/tires-0.png
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 images/preload/tires-1.png
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 images/preload/tires-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added misc/grand-prix-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added misc/theme/grand-prix-logo.afdesign
Binary file not shown.
Binary file added misc/theme/grand-prix-playfield-v2.afdesign
Binary file not shown.
Binary file modified misc/theme/oil-gauge.pxm
Binary file not shown.
Binary file modified misc/theme/rear-view.pxm
Binary file not shown.
Binary file added misc/theme/splash.pxm
Binary file not shown.
6 changes: 6 additions & 0 deletions modes/attract/config/attract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
#variable_player:
# s_flipper_eos_2:
# score: 123

slide_player:
mode_attract_started:
attract_slide:
action: play

8 changes: 8 additions & 0 deletions modes/green_flag/config/green_flag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ mode:
restart_on_next_ball: true
priority: 100

slide_player:
mode_green_flag_started:
green_flag_slide:
action: play
player_level_fuel: green_flag_slide
player_level_tires: green_flag_slide
player_level_oil: green_flag_slide

light_player:
mode_green_flag_started:
x_loop_gate:
Expand Down

0 comments on commit f93bb73

Please sign in to comment.