2
2
title : GMC Tilt Slides
3
3
---
4
4
5
- # Tilt Slides in GMC
5
+ # Tilt Mode Slide in GMC
6
6
7
7
GMC provides a default slide for handling warnings and tilt, and the standard [ tilt mode] ( ../../game_logic/modes/tilt.md )
8
8
in the MPF configuration provides a set of automatic hooks to display the slide with different messages.
9
9
10
10
The previous guide, [ Bonus Slides in GMC] ( bonus_mode.md ) , walks through creating your own slide
11
- to override the default provided by MPF. Regarding the GMC slide files , Tilt slide customization works in just the same way.
11
+ to override the default provided by MPF. Regarding the GMC slide file , Tilt slide customization works in just the same way.
12
12
13
13
## Configure Tilt Settings
14
14
@@ -23,7 +23,7 @@ If you use a number larger than three for your [tilt:warnings_to_tilt setting](.
23
23
these further warning events do not have default slides provided, nor slide_player hooks.
24
24
25
25
For example, if you change the setting to 4 and wanted to use the text "UH OH" for the third warning,
26
- you could declare the ` slide_player ` extension in your overriding tilt mode file:
26
+ you could define the ` slide_player ` extension in your overriding tilt mode file:
27
27
28
28
``` yaml
29
29
# #! mode: modes/tilt/config/tilt.yaml
@@ -39,11 +39,10 @@ slide_player:
39
39
40
40
There are two basic approaches to customizing the tilt slide.
41
41
If you only want the standard warning and tilt text (and any custom further warning texts per the previous section),
42
- but want to add various display elements, you can provide a custom slide with an event variable for ` text`.
42
+ but want to add various display elements, you can provide a custom slide with a MPFVariable node configured for the event variable ` text`.
43
43
44
- The if you want further complexity or different behaviors around the slides, but still want to use the
45
- default tilt mode, you can override the `slide_player` from the default tilt mode and use slides in
46
- any way you want.
44
+ If instead you want further complexity or different behaviors around the slides, but still want to use the
45
+ default tilt mode for its game logic, you can override the `slide_player` from the default tilt mode and use slides in any way you want.
47
46
48
47
# # Approach 1: Replace the default slide `tscn` file
49
48
0 commit comments