forked from logokas/ddcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain_menu.rpy
More file actions
69 lines (52 loc) · 1.33 KB
/
main_menu.rpy
File metadata and controls
69 lines (52 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
screen main_menu():
# This ensures that any other menu screen is replaced.
tag menu
style_prefix "main_menu"
add "menu_bg"
add "menu_art_y"
add "menu_art_n"
frame:
pass
## The use statement includes another screen inside this one. The actual
## contents of the main menu are in the navigation screen.
use navigation
add "menu_particles"
add "menu_particles"
add "menu_particles"
add "menu_logo"
add "menu_art_s"
add "menu_particles"
add "menu_art_m"
add "menu_fade"
if gui.show_name:
vbox:
text "[config.name!t]":
style "main_menu_title"
text "v. [config.version]":
style "main_menu_version"
key "K_ESCAPE" action Quit(confirm=False)
style main_menu_frame is empty
style main_menu_vbox is vbox
style main_menu_text is gui_text
style main_menu_title is main_menu_text
style main_menu_version is main_menu_text:
color "#000000"
size 16
outlines []
style main_menu_frame:
xsize 310
yfill True
background "menu_nav"
style main_menu_vbox:
xalign 1.0
xoffset -20
xmaximum 800
yalign 1.0
yoffset -20
style main_menu_text:
xalign 1.0
layout "subtitle"
text_align 1.0
color gui.accent_color
style main_menu_title:
size gui.title_text_size