Initial commit
This commit is contained in:
19
.gitignore
vendored
Normal file
19
.gitignore
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
game/**/*.rpyc
|
||||
*.rpymc
|
||||
*.0rpy
|
||||
**/log.txt
|
||||
**/errors.txt
|
||||
**/traceback.txt
|
||||
**/saves/**
|
||||
**/cache/**
|
||||
**/.vscode/**
|
||||
**/.DS_Store
|
||||
*.zip
|
||||
*.rar
|
||||
*.7z
|
||||
**/*.tmp.*
|
||||
**/*.tmp/**
|
||||
**/*.generated.*
|
||||
**/*.generated/**
|
||||
*.bak
|
||||
*.xlsx
|
||||
18
.gitmodules
vendored
Normal file
18
.gitmodules
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
[submodule "game/libs/CitrusPluginCore"]
|
||||
path = game/libs/CitrusPluginCore
|
||||
url = https://gitea.mikan/RenPyStuff/CitrusPluginCore.git
|
||||
[submodule "game/libs/ExtendedTransitions"]
|
||||
path = game/libs/ExtendedTransitions
|
||||
url = https://gitea.mikan/RenPyStuff/ExtendedTransitions.git
|
||||
[submodule "game/libs/ExtendedAnimations"]
|
||||
path = game/libs/ExtendedAnimations
|
||||
url = https://gitea.mikan/RenPyStuff/ExtendedAnimations.git
|
||||
[submodule "game/libs/AutoMediaCollector"]
|
||||
path = game/libs/AutoMediaCollector
|
||||
url = https://gitea.mikan/RenPyStuff/AutoMediaCollector.git
|
||||
[submodule "game/libs/RenDevToolsIntegrated"]
|
||||
path = game/libs/RenDevToolsIntegrated
|
||||
url = https://gitea.mikan/RenPyStuff/RenDevToolsIntegrated.git
|
||||
[submodule "game/libs/ExtendedTransforms"]
|
||||
path = game/libs/ExtendedTransforms
|
||||
url = https://gitea.mikan/RenPyStuff/ExtendedTransforms.git
|
||||
BIN
android-icon_background.png
Normal file
BIN
android-icon_background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
android-icon_foreground.png
Normal file
BIN
android-icon_foreground.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
BIN
android-presplash.jpg
Normal file
BIN
android-presplash.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 222 KiB |
0
game/audio/ambience/.gitkeep
Normal file
0
game/audio/ambience/.gitkeep
Normal file
0
game/audio/music/.gitkeep
Normal file
0
game/audio/music/.gitkeep
Normal file
0
game/audio/sound/.gitkeep
Normal file
0
game/audio/sound/.gitkeep
Normal file
0
game/audio/ui/.gitkeep
Normal file
0
game/audio/ui/.gitkeep
Normal file
0
game/audio/voice/.gitkeep
Normal file
0
game/audio/voice/.gitkeep
Normal file
0
game/fonts/.gitkeep
Normal file
0
game/fonts/.gitkeep
Normal file
0
game/gui/components/bars/.gitkeep
Normal file
0
game/gui/components/bars/.gitkeep
Normal file
0
game/gui/components/buttons/.gitkeep
Normal file
0
game/gui/components/buttons/.gitkeep
Normal file
0
game/gui/components/frames/.gitkeep
Normal file
0
game/gui/components/frames/.gitkeep
Normal file
0
game/gui/game_menu/file_slots/.gitkeep
Normal file
0
game/gui/game_menu/file_slots/.gitkeep
Normal file
0
game/gui/game_menu/preferences/.gitkeep
Normal file
0
game/gui/game_menu/preferences/.gitkeep
Normal file
0
game/gui/main_menu/.gitkeep
Normal file
0
game/gui/main_menu/.gitkeep
Normal file
BIN
game/gui/misc/icon.png
Normal file
BIN
game/gui/misc/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 378 KiB |
0
game/gui/overlay/history/.gitkeep
Normal file
0
game/gui/overlay/history/.gitkeep
Normal file
0
game/gui/overlay/quick_menu/.gitkeep
Normal file
0
game/gui/overlay/quick_menu/.gitkeep
Normal file
0
game/gui/overlay/say/.gitkeep
Normal file
0
game/gui/overlay/say/.gitkeep
Normal file
0
game/images/bg/.gitkeep
Normal file
0
game/images/bg/.gitkeep
Normal file
0
game/images/events/cg/.gitkeep
Normal file
0
game/images/events/cg/.gitkeep
Normal file
0
game/images/misc/.gitkeep
Normal file
0
game/images/misc/.gitkeep
Normal file
0
game/images/sprites/.gitkeep
Normal file
0
game/images/sprites/.gitkeep
Normal file
1
game/libs/AutoMediaCollector
Submodule
1
game/libs/AutoMediaCollector
Submodule
Submodule game/libs/AutoMediaCollector added at 4ee0453f81
1
game/libs/CitrusPluginCore
Submodule
1
game/libs/CitrusPluginCore
Submodule
Submodule game/libs/CitrusPluginCore added at 91baa6e58d
1
game/libs/ExtendedAnimations
Submodule
1
game/libs/ExtendedAnimations
Submodule
Submodule game/libs/ExtendedAnimations added at b119ebda12
1
game/libs/ExtendedTransforms
Submodule
1
game/libs/ExtendedTransforms
Submodule
Submodule game/libs/ExtendedTransforms added at 651fe5011c
1
game/libs/ExtendedTransitions
Submodule
1
game/libs/ExtendedTransitions
Submodule
Submodule game/libs/ExtendedTransitions added at e3f8775299
1
game/libs/RenDevToolsIntegrated
Submodule
1
game/libs/RenDevToolsIntegrated
Submodule
Submodule game/libs/RenDevToolsIntegrated added at 425c41d5c5
0
game/libs/libs.txt
Normal file
0
game/libs/libs.txt
Normal file
0
game/minigames/.gitkeep
Normal file
0
game/minigames/.gitkeep
Normal file
0
game/scenary/.gitkeep
Normal file
0
game/scenary/.gitkeep
Normal file
11
game/scenary/script.rpy
Normal file
11
game/scenary/script.rpy
Normal file
@@ -0,0 +1,11 @@
|
||||
label start:
|
||||
|
||||
"Game starts here"
|
||||
|
||||
return
|
||||
|
||||
|
||||
label splashscreen:
|
||||
scene black
|
||||
|
||||
return
|
||||
62
game/screens/game_menu/game_menu.rpy
Normal file
62
game/screens/game_menu/game_menu.rpy
Normal file
@@ -0,0 +1,62 @@
|
||||
init -20:
|
||||
|
||||
define config.enter_transition = dissolve
|
||||
define config.exit_transition = dissolve
|
||||
|
||||
define config.intra_transition = dissolve
|
||||
|
||||
python:
|
||||
_game_menu_screen = "save"
|
||||
|
||||
style game_menu_text is interface_text
|
||||
style game_menu_frame is interface_frame
|
||||
style game_menu_bar is interface_bar
|
||||
style game_menu_vbar is interface_vbar
|
||||
style game_menu_scrollbar is interface_scrollbar
|
||||
style game_menu_vscrollbar is interface_vscrollbar
|
||||
style game_menu_slider is interface_slider
|
||||
style game_menu_button is interface_button
|
||||
style game_menu_button_text is interface_button_text
|
||||
style game_menu_label is interface_label
|
||||
style game_menu_label_text is interface_label_text
|
||||
|
||||
screen game_menu(title=None):
|
||||
|
||||
style_prefix "game_menu"
|
||||
|
||||
# if main_menu:
|
||||
# use main_menu
|
||||
# if not main:
|
||||
add Layer("master", clipping=False) at transform:
|
||||
blur 10
|
||||
|
||||
if not main_menu:
|
||||
button action Return()
|
||||
|
||||
frame:
|
||||
align (.5, .35)
|
||||
xysize (.8, .7)
|
||||
background Solid(gui.colors.transparent_black)
|
||||
padding (10, 10, 10, 10)
|
||||
|
||||
frame:
|
||||
xfill True
|
||||
label title or _("GAME MENU{#GAMEMENU}")
|
||||
|
||||
textbutton _("RETURN{#GAMEMENU}"):
|
||||
xalign 1.0
|
||||
if main_menu or title is None or _game_menu_screen != "pause_menu":
|
||||
action Return()
|
||||
else:
|
||||
action ShowMenu(_game_menu_screen)
|
||||
|
||||
transclude
|
||||
|
||||
use navigation
|
||||
|
||||
|
||||
|
||||
if main_menu:
|
||||
key "game_menu" action ShowMenu("main_menu")
|
||||
|
||||
|
||||
17
game/screens/game_menu/pages/about.rpy
Normal file
17
game/screens/game_menu/pages/about.rpy
Normal file
@@ -0,0 +1,17 @@
|
||||
style about_text is interface_text
|
||||
style about_frame is interface_frame
|
||||
style about_bar is interface_bar
|
||||
style about_vbar is interface_vbar
|
||||
style about_scrollbar is interface_scrollbar
|
||||
style about_vscrollbar is interface_vscrollbar
|
||||
style about_slider is interface_slider
|
||||
style about_button is interface_button
|
||||
style about_button_text is interface_button_text
|
||||
style about_label is interface_label
|
||||
style about_label_text is interface_label_text
|
||||
|
||||
screen about():
|
||||
tag menu
|
||||
style_prefix "about"
|
||||
use game_menu(_("ABOUT{#GAMEMENU}")):
|
||||
label "Empty screen" align (0.5, 0.5)
|
||||
17
game/screens/game_menu/pages/credits.rpy
Normal file
17
game/screens/game_menu/pages/credits.rpy
Normal file
@@ -0,0 +1,17 @@
|
||||
style credits_text is interface_text
|
||||
style credits_frame is interface_frame
|
||||
style credits_bar is interface_bar
|
||||
style credits_vbar is interface_vbar
|
||||
style credits_scrollbar is interface_scrollbar
|
||||
style credits_vscrollbar is interface_vscrollbar
|
||||
style credits_slider is interface_slider
|
||||
style credits_button is interface_button
|
||||
style credits_button_text is interface_button_text
|
||||
style credits_label is interface_label
|
||||
style credits_label_text is interface_label_text
|
||||
|
||||
screen credits():
|
||||
tag menu
|
||||
style_prefix "credits"
|
||||
use game_menu(_("CREDITS{#GAMEMENU}")):
|
||||
label "Empty screen" align (0.5, 0.5)
|
||||
83
game/screens/game_menu/pages/file_slots.rpy
Normal file
83
game/screens/game_menu/pages/file_slots.rpy
Normal file
@@ -0,0 +1,83 @@
|
||||
init -999:
|
||||
define config.thumbnail_width = 384
|
||||
define config.thumbnail_height = 216
|
||||
define config.has_autosave = False
|
||||
|
||||
init:
|
||||
define config.save_directory = "studio-renpy_project"
|
||||
|
||||
define config.after_load_transition = fade
|
||||
|
||||
|
||||
style file_slots_text is interface_text
|
||||
style file_slots_frame is interface_frame
|
||||
style file_slots_bar is interface_bar
|
||||
style file_slots_vbar is interface_vbar
|
||||
style file_slots_scrollbar is interface_scrollbar
|
||||
style file_slots_vscrollbar is interface_vscrollbar
|
||||
style file_slots_slider is interface_slider
|
||||
style file_slots_button is interface_button
|
||||
style file_slots_button_text is interface_button_text
|
||||
style file_slots_label is interface_label
|
||||
style file_slots_label_text is interface_label_text
|
||||
|
||||
screen file_slots(title):
|
||||
|
||||
style_prefix "file_slots"
|
||||
|
||||
|
||||
use game_menu(title):
|
||||
|
||||
grid 3 2:
|
||||
spacing 40
|
||||
xalign 0.5
|
||||
yalign 0.5
|
||||
for slot in range(1, 7):
|
||||
button:
|
||||
background gui.colors.secondary
|
||||
hover_background gui.colors.accent
|
||||
action FileAction(slot)
|
||||
padding (3, 3)
|
||||
xysize (config.thumbnail_width+6, config.thumbnail_height+6)
|
||||
xalign .5
|
||||
|
||||
add FileScreenshot(slot, Solid(gui.colors.neutral)) align (0.5, 0.5)
|
||||
|
||||
frame:
|
||||
|
||||
background Solid(gui.colors.transparent_black)
|
||||
xysize (config.thumbnail_width, 64)
|
||||
align (.5, .5)
|
||||
|
||||
|
||||
text FileSaveName(slot, empty='empty'):
|
||||
align (.5, .5)
|
||||
|
||||
key "save_delete" action FileDelete(slot)
|
||||
|
||||
hbox:
|
||||
|
||||
xalign 0.5
|
||||
yalign 1.0
|
||||
|
||||
spacing 0
|
||||
|
||||
for page in range(1, 10):
|
||||
textbutton "[page]":
|
||||
padding (10, 10)
|
||||
action FilePage(page)
|
||||
|
||||
|
||||
|
||||
screen save():
|
||||
|
||||
tag menu
|
||||
|
||||
use file_slots(_("SAVE{#GAMEMENU}"))
|
||||
|
||||
|
||||
screen load():
|
||||
|
||||
tag menu
|
||||
|
||||
use file_slots(_("LOAD{#GAMEMENU}"))
|
||||
19
game/screens/game_menu/pages/gallery.rpy
Normal file
19
game/screens/game_menu/pages/gallery.rpy
Normal file
@@ -0,0 +1,19 @@
|
||||
style gallery_text is interface_text
|
||||
style gallery_frame is interface_frame
|
||||
style gallery_bar is interface_bar
|
||||
style gallery_vbar is interface_vbar
|
||||
style gallery_scrollbar is interface_scrollbar
|
||||
style gallery_vscrollbar is interface_vscrollbar
|
||||
style gallery_slider is interface_slider
|
||||
style gallery_button is interface_button
|
||||
style gallery_button_text is interface_button_text
|
||||
style gallery_label is interface_label
|
||||
style gallery_label_text is interface_label_text
|
||||
|
||||
screen gallery():
|
||||
tag menu
|
||||
|
||||
style_prefix "gallry"
|
||||
|
||||
use game_menu(_("GALLERY{#GAMEMENU}")):
|
||||
label "Empty screen" align (0.5, 0.5)
|
||||
61
game/screens/game_menu/pages/preferences.rpy
Normal file
61
game/screens/game_menu/pages/preferences.rpy
Normal file
@@ -0,0 +1,61 @@
|
||||
|
||||
style preferences_text is interface_text
|
||||
style preferences_frame is interface_frame
|
||||
style preferences_bar is interface_bar
|
||||
style preferences_vbar is interface_vbar
|
||||
style preferences_scrollbar is interface_scrollbar
|
||||
style preferences_vscrollbar is interface_vscrollbar
|
||||
style preferences_slider is interface_slider
|
||||
style preferences_button is interface_button
|
||||
style preferences_button_text is interface_button_text:
|
||||
size gui.text_sizes.small
|
||||
style preferences_label is interface_label
|
||||
style preferences_label_text is interface_label_text:
|
||||
size gui.text_sizes.medium
|
||||
|
||||
screen preferences():
|
||||
|
||||
tag menu
|
||||
|
||||
style_prefix "preferences"
|
||||
|
||||
use game_menu("PREFERENCES{#GAMEMENU}"):
|
||||
|
||||
vbox:
|
||||
align (0.5, .9)
|
||||
spacing 70
|
||||
hbox:
|
||||
xalign 0.5
|
||||
spacing 100
|
||||
|
||||
vbox:
|
||||
label _("SCREEN MODE{#PREFERENCES}")
|
||||
textbutton _("FULLSCREEN{#PREFERENCES}") action Preference("display", "fullscreen")
|
||||
textbutton _("WINDOW{#PREFERENCES}") action Preference("display", "window")
|
||||
vbox:
|
||||
label _("SKIPPING{#PREFERENCES}")
|
||||
textbutton _("ALL{#PREFERENCES}") action Preference("skip", "toggle")
|
||||
textbutton _("AFTER CHOICES{#PREFERENCES}") action Preference("after choices", "toggle")
|
||||
textbutton _("TRANSITIONS{#PREFERENCES}") action InvertSelected(Preference("transitions", "toggle"))
|
||||
|
||||
vbox:
|
||||
spacing 21
|
||||
vbox:
|
||||
xsize 0.8
|
||||
label _("Text speed{#PREFERENCES}")
|
||||
bar value Preference("text speed")
|
||||
vbox:
|
||||
xsize 0.8
|
||||
label _("Auto-forward{#PREFERENCES}")
|
||||
bar value Preference("auto-forward time")
|
||||
vbox:
|
||||
spacing 21
|
||||
vbox:
|
||||
xsize 0.8
|
||||
label _("Music{#PREFERENCES}")
|
||||
bar value Preference("music volume")
|
||||
vbox:
|
||||
xsize 0.8
|
||||
label _("Sound{#PREFERENCES}")
|
||||
bar value Preference("sound volume")
|
||||
|
||||
45
game/screens/main_menu.rpy
Normal file
45
game/screens/main_menu.rpy
Normal file
@@ -0,0 +1,45 @@
|
||||
init -20:
|
||||
define gui.main_menu_background = "gray"
|
||||
define config.main_menu_music = None
|
||||
|
||||
define config.end_game_transition = fade
|
||||
|
||||
style main_menu_text is interface_text
|
||||
style main_menu_button is interface_button
|
||||
style main_menu_button_text is interface_button_text
|
||||
|
||||
style main_menu_label is interface_label
|
||||
style main_menu_label_text is interface_label_text
|
||||
|
||||
style main_menu_frame is interface_frame
|
||||
style main_menu_slider is interface_slider
|
||||
style main_menu_bar is interface_bar
|
||||
style main_menu_vbar is interface_vbar
|
||||
style main_menu_scrollbar is interface_scrollbar
|
||||
style main_menu_vscrollbar is interface_vscrollbar
|
||||
|
||||
label main_menu:
|
||||
scene black
|
||||
show expression gui.main_menu_background
|
||||
show screen main_menu
|
||||
with config.end_game_transition
|
||||
hide screen main_menu
|
||||
call screen main_menu
|
||||
scene black
|
||||
with fade
|
||||
return
|
||||
|
||||
screen main_menu():
|
||||
|
||||
tag menu
|
||||
|
||||
style_prefix "main_menu"
|
||||
|
||||
use navigation
|
||||
|
||||
|
||||
text ("v%s"%(config.version)):
|
||||
anchor (1.0, 1.0)
|
||||
pos (.99, .99)
|
||||
size 10
|
||||
color gui.colors.white
|
||||
30
game/screens/navigation.rpy
Normal file
30
game/screens/navigation.rpy
Normal file
@@ -0,0 +1,30 @@
|
||||
style navigation_text is interface_text
|
||||
style navigation_frame is interface_frame
|
||||
style navigation_bar is interface_bar
|
||||
style navigation_vbar is interface_vbar
|
||||
style navigation_scrollbar is interface_scrollbar
|
||||
style navigation_vscrollbar is interface_vscrollbar
|
||||
style navigation_slider is interface_slider
|
||||
style navigation_button is interface_button
|
||||
style navigation_button_text is interface_button_text
|
||||
style navigation_label is interface_label
|
||||
style navigation_label_text is interface_label_text
|
||||
|
||||
screen navigation:
|
||||
style_prefix "navigation"
|
||||
|
||||
hbox:
|
||||
align (0.5, 0.9)
|
||||
spacing 20
|
||||
if main_menu:
|
||||
textbutton _("NEW GAME{#NAVIGATION}") action Start()
|
||||
textbutton _("LOAD{#NAVIGATION}") action ShowMenu("load")
|
||||
if not main_menu:
|
||||
textbutton _("SAVE{#NAVIGATION}") action ShowMenu("save")
|
||||
textbutton _("PREFERENCES{#NAVIGATION}") action ShowMenu("preferences")
|
||||
textbutton _("ABOUT{#NAVIGATION}") action ShowMenu("about")
|
||||
textbutton _("GALLERY{#NAVIGATION}") action ShowMenu("gallery")
|
||||
|
||||
if not main_menu:
|
||||
textbutton _("MAIN MENU{#NAVIGATION}") action MainMenu()
|
||||
textbutton _("QUIT{#NAVIGATION}") action Quit(confirm=not main_menu)
|
||||
34
game/screens/overlay/choice.rpy
Normal file
34
game/screens/overlay/choice.rpy
Normal file
@@ -0,0 +1,34 @@
|
||||
style choice_text is interface_text
|
||||
style choice_frame is interface_frame
|
||||
style choice_bar is interface_bar
|
||||
style choice_vbar is interface_vbar
|
||||
style choice_scrollbar is interface_scrollbar
|
||||
style choice_vscrollbar is interface_vscrollbar
|
||||
style choice_slider is interface_slider
|
||||
style choice_button is interface_button
|
||||
style choice_button_text is interface_button_text
|
||||
style choice_label is interface_label
|
||||
style choice_label_text is interface_label_text
|
||||
|
||||
screen choice(items):
|
||||
style_prefix "choice"
|
||||
|
||||
vbox:
|
||||
align (0.5, 0.5)
|
||||
spacing 30
|
||||
for i, item in enumerate(items):
|
||||
button:
|
||||
xsize 1300
|
||||
ysize 112
|
||||
background Solid("#000C")
|
||||
padding (10, 50)
|
||||
text item.caption align (0.5, 0.5) xmaximum 1000
|
||||
action item.action
|
||||
|
||||
at transform:
|
||||
yzoom .1
|
||||
alpha 0.0
|
||||
.1
|
||||
ease .4+(.1) yzoom 1.0 alpha 1.0
|
||||
|
||||
hover_brightness
|
||||
59
game/screens/overlay/history.rpy
Normal file
59
game/screens/overlay/history.rpy
Normal file
@@ -0,0 +1,59 @@
|
||||
init -999:
|
||||
define config.history_length = 250
|
||||
|
||||
define gui.history_height = None
|
||||
|
||||
define gui.history_allow_tags = { "alt", "noalt", "rt", "rb", "art" }
|
||||
|
||||
|
||||
style history_text is interface_text
|
||||
style history_frame is interface_frame
|
||||
style history_bar is interface_bar
|
||||
style history_vbar is interface_vbar
|
||||
style history_scrollbar is interface_scrollbar
|
||||
style history_vscrollbar is interface_vscrollbar
|
||||
style history_slider is interface_slider
|
||||
style history_button is interface_button
|
||||
style history_button_text is interface_button_text
|
||||
style history_label is interface_label
|
||||
style history_label_text is interface_label_text
|
||||
|
||||
screen history():
|
||||
|
||||
tag menu
|
||||
|
||||
predict False
|
||||
|
||||
frame:
|
||||
viewport id "history_vp":
|
||||
yinitial 1.0
|
||||
mousewheel True
|
||||
vbox:
|
||||
spacing 5
|
||||
for h in _history_list:
|
||||
hbox:
|
||||
frame:
|
||||
xsize 500
|
||||
|
||||
if h.who:
|
||||
|
||||
text _(f"{renpy.filter_text_tags(h.who, allow=gui.history_allow_tags).strip()}: ".replace("::", ":")):
|
||||
substitute False
|
||||
color gui.colors.secondary
|
||||
size 25
|
||||
xsize 300
|
||||
xalign 1.0
|
||||
|
||||
$ what = renpy.filter_text_tags(h.what, allow=gui.history_allow_tags)
|
||||
text what:
|
||||
substitute False
|
||||
size 25
|
||||
xsize 700
|
||||
if not h.who:
|
||||
color "#AAA"
|
||||
|
||||
if not _history_list:
|
||||
label _("History is clear.")
|
||||
|
||||
vbar:
|
||||
value YScrollValue("history_vp")
|
||||
42
game/screens/overlay/nvl.rpy
Normal file
42
game/screens/overlay/nvl.rpy
Normal file
@@ -0,0 +1,42 @@
|
||||
style nvl_text is interface_text
|
||||
style nvl_frame is interface_frame
|
||||
style nvl_bar is interface_bar
|
||||
style nvl_vbar is interface_vbar
|
||||
style nvl_scrollbar is interface_scrollbar
|
||||
style nvl_vscrollbar is interface_vscrollbar
|
||||
style nvl_slider is interface_slider
|
||||
style nvl_button is interface_button
|
||||
style nvl_button_text is interface_button_text
|
||||
style nvl_label is interface_label
|
||||
style nvl_label_text is interface_label_text
|
||||
|
||||
screen nvl(dialogue, items=None):
|
||||
|
||||
style_prefix "nvl"
|
||||
|
||||
viewport:
|
||||
mousewheel True
|
||||
draggable True
|
||||
arrowkeys True
|
||||
yinitial 1.0
|
||||
vbox:
|
||||
for d in dialogue:
|
||||
hbox:
|
||||
|
||||
if d.who is not None:
|
||||
text d.who:
|
||||
id d.who_id
|
||||
|
||||
text d.what id d.what_id slow_cps 0
|
||||
|
||||
if items:
|
||||
frame:
|
||||
id "menu"
|
||||
xysize (705, 100)
|
||||
pos (601, 829)
|
||||
vbox:
|
||||
pos (10, 30)
|
||||
spacing 2
|
||||
for i in items:
|
||||
textbutton i.caption action i.action
|
||||
|
||||
29
game/screens/overlay/quick_menu.rpy
Normal file
29
game/screens/overlay/quick_menu.rpy
Normal file
@@ -0,0 +1,29 @@
|
||||
style quick_menu_text is interface_text
|
||||
style quick_menu_frame is interface_frame
|
||||
style quick_menu_bar is interface_bar
|
||||
style quick_menu_vbar is interface_vbar
|
||||
style quick_menu_scrollbar is interface_scrollbar
|
||||
style quick_menu_vscrollbar is interface_vscrollbar
|
||||
style quick_menu_slider is interface_slider
|
||||
style quick_menu_button is interface_button
|
||||
style quick_menu_button_text is interface_button_text
|
||||
style quick_menu_label is interface_label
|
||||
style quick_menu_label_text is interface_label_text
|
||||
|
||||
|
||||
screen quick_menu():
|
||||
|
||||
zorder 100
|
||||
style_prefix "quick_menu"
|
||||
|
||||
vbox:
|
||||
xalign 1.0
|
||||
ypos 763
|
||||
|
||||
spacing 10
|
||||
|
||||
textbutton "skip" action Skip() alternate Skip(fast=True, confirm=True)
|
||||
textbutton "auto" action Preference("auto-forward", "toggle")
|
||||
textbutton "pref" action ShowMenu("preferences")
|
||||
textbutton "history" action ShowMenu("history")
|
||||
|
||||
43
game/screens/overlay/say.rpy
Normal file
43
game/screens/overlay/say.rpy
Normal file
@@ -0,0 +1,43 @@
|
||||
define config.window = "auto"
|
||||
|
||||
style say_text is interface_text
|
||||
style say_dialogue is say_text
|
||||
style say_frame is interface_frame
|
||||
style say_bar is interface_bar
|
||||
style say_vbar is interface_vbar
|
||||
style say_scrollbar is interface_scrollbar
|
||||
style say_vscrollbar is interface_vscrollbar
|
||||
style say_slider is interface_slider
|
||||
style say_button is interface_button
|
||||
style say_button_text is interface_button_text
|
||||
style say_label is interface_label
|
||||
style say_label_text is interface_label_text
|
||||
style say_window is interface_window
|
||||
|
||||
|
||||
screen say(who, what):
|
||||
|
||||
style_prefix "say"
|
||||
|
||||
window:
|
||||
id "window"
|
||||
xalign .5
|
||||
yanchor 1.0
|
||||
ypos .96
|
||||
|
||||
if who is not None:
|
||||
|
||||
frame:
|
||||
id "namebox"
|
||||
xysize (512, 128)
|
||||
xoffset 50
|
||||
yoffset -100
|
||||
text who:
|
||||
align (0.5, 0.5)
|
||||
id "who"
|
||||
color "#FFF"
|
||||
font gui.fonts.nozhik
|
||||
|
||||
text what id "what"
|
||||
|
||||
use quick_menu
|
||||
43
game/screens/popup/confirm.rpy
Normal file
43
game/screens/popup/confirm.rpy
Normal file
@@ -0,0 +1,43 @@
|
||||
style confirm_text is interface_text
|
||||
style confirm_frame is interface_frame
|
||||
style confirm_bar is interface_bar
|
||||
style confirm_vbar is interface_vbar
|
||||
style confirm_scrollbar is interface_scrollbar
|
||||
style confirm_vscrollbar is interface_vscrollbar
|
||||
style confirm_slider is interface_slider
|
||||
style confirm_button is interface_button
|
||||
style confirm_button_text is interface_button_text
|
||||
style confirm_label is interface_label
|
||||
style confirm_label_text is interface_label_text
|
||||
|
||||
screen confirm(message, yes_action, no_action):
|
||||
|
||||
modal True
|
||||
|
||||
zorder 200
|
||||
|
||||
style_prefix "confirm"
|
||||
|
||||
add Solid("#0005")
|
||||
|
||||
frame:
|
||||
|
||||
vbox:
|
||||
xalign .5
|
||||
yalign .5
|
||||
spacing 50
|
||||
|
||||
label _(message):
|
||||
xalign 0.5
|
||||
|
||||
hbox:
|
||||
xalign 0.5
|
||||
spacing 150
|
||||
|
||||
textbutton _("Yes"):
|
||||
action yes_action
|
||||
textbutton _("No"):
|
||||
action no_action
|
||||
|
||||
key "game_menu" action no_action
|
||||
|
||||
43
game/screens/popup/notify.rpy
Normal file
43
game/screens/popup/notify.rpy
Normal file
@@ -0,0 +1,43 @@
|
||||
style notify_text is interface_text
|
||||
style notify_frame is interface_frame
|
||||
style notify_bar is interface_bar
|
||||
style notify_vbar is interface_vbar
|
||||
style notify_scrollbar is interface_scrollbar
|
||||
style notify_vscrollbar is interface_vscrollbar
|
||||
style notify_slider is interface_slider
|
||||
style notify_button is interface_button
|
||||
style notify_button_text is interface_button_text
|
||||
style notify_label is interface_label
|
||||
style notify_label_text is interface_label_text
|
||||
|
||||
screen notify(message):
|
||||
zorder 100
|
||||
|
||||
style_prefix "notify"
|
||||
|
||||
frame:
|
||||
ysize 120
|
||||
pos (40, 20)
|
||||
xminimum 500
|
||||
xmaximum 700
|
||||
|
||||
padding (40, 2)
|
||||
text "[message!tq]":
|
||||
size 47
|
||||
align (0.5, 0.5)
|
||||
color gui.accent_color
|
||||
bold True
|
||||
at gui.transforms.notify_transform
|
||||
|
||||
timer 3.25 action Hide('notify')
|
||||
|
||||
|
||||
transform gui.transforms.notify_transform:
|
||||
xalign .02 yalign .015
|
||||
|
||||
on show:
|
||||
alpha 0
|
||||
linear .25 alpha 1.0
|
||||
on hide:
|
||||
linear .5 alpha 0.0
|
||||
|
||||
19
game/screens/popup/skipping.rpy
Normal file
19
game/screens/popup/skipping.rpy
Normal file
@@ -0,0 +1,19 @@
|
||||
style skip_indicator_text is interface_text
|
||||
style skip_indicator_frame is interface_frame
|
||||
style skip_indicator_bar is interface_bar
|
||||
style skip_indicator_vbar is interface_vbar
|
||||
style skip_indicator_scrollbar is interface_scrollbar
|
||||
style skip_indicator_vscrollbar is interface_vscrollbar
|
||||
style skip_indicator_slider is interface_slider
|
||||
style skip_indicator_button is interface_button
|
||||
style skip_indicator_button_text is interface_button_text
|
||||
style skip_indicator_label is interface_label
|
||||
style skip_indicator_label_text is interface_label_text
|
||||
|
||||
|
||||
screen skip_indicator():
|
||||
|
||||
zorder 100
|
||||
style_prefix "skip_indicator"
|
||||
|
||||
text _("Skipping...")
|
||||
43
game/source/appearance/gui.rpy
Normal file
43
game/source/appearance/gui.rpy
Normal file
@@ -0,0 +1,43 @@
|
||||
init -500:
|
||||
|
||||
# COLORS
|
||||
|
||||
define gui.colors.white = "#FFF"
|
||||
define gui.colors.gray = "#777"
|
||||
define gui.colors.black = "#000"
|
||||
define gui.colors.transparent_black = "#0007"
|
||||
|
||||
define gui.colors.red = "#F00"
|
||||
define gui.colors.green = "#0F0"
|
||||
define gui.colors.blue = "#00F"
|
||||
|
||||
define gui.colors.primary = "#ffffff"
|
||||
define gui.colors.secondary = "#e2e2e2"
|
||||
define gui.colors.accent = "#ff7b00"
|
||||
define gui.colors.accent_secondary = "#ff3c00"
|
||||
define gui.colors.neutral = "#b1b1b1"
|
||||
|
||||
# FONTS
|
||||
define gui.fonts.deja_vu_sans = "DejaVuSans.ttf"
|
||||
define gui.fonts.aachenn = "fonts/Aachenn.ttf"
|
||||
define gui.fonts.sqr721e = "fonts/Sqr721e.ttf"
|
||||
|
||||
define gui.text_sizes.small = 20
|
||||
define gui.text_sizes.medium = 33
|
||||
define gui.text_sizes.large = 60
|
||||
|
||||
|
||||
define gui.text_font = gui.fonts.deja_vu_sans
|
||||
define gui.text_size = gui.text_sizes.medium
|
||||
define gui.text_color = gui.colors.neutral
|
||||
|
||||
|
||||
# IMAGES
|
||||
|
||||
|
||||
# SOUNDS
|
||||
|
||||
# Bars
|
||||
|
||||
define gui.slider.bar_width = 40
|
||||
define gui.slider.thumb_size = 25
|
||||
54
game/source/appearance/styles.rpy
Normal file
54
game/source/appearance/styles.rpy
Normal file
@@ -0,0 +1,54 @@
|
||||
style default:
|
||||
properties gui.text_properties()
|
||||
style text is default:
|
||||
color gui.colors.primary
|
||||
size gui.text_sizes.small
|
||||
style hyperlink_text:
|
||||
bold True
|
||||
color gui.colors.secondary
|
||||
hover_color gui.colors.primary
|
||||
hover_underline True
|
||||
style button is default
|
||||
style button_text is text:
|
||||
color gui.colors.accent
|
||||
hover_color gui.colors.accent_secondary
|
||||
insensitive_color gui.colors.neutral
|
||||
size gui.text_sizes.medium
|
||||
style label
|
||||
style label_text is text:
|
||||
size gui.text_sizes.large
|
||||
style frame:
|
||||
background None
|
||||
padding (0, 0)
|
||||
style slider:
|
||||
base_bar Transform(Solid(gui.colors.accent_secondary), alpha=.8)
|
||||
thumb Solid(gui.colors.accent, xsize=gui.slider.thumb_size)
|
||||
ysize gui.slider.bar_width
|
||||
style bar is slider
|
||||
style vbar is bar:
|
||||
bar_vertical True
|
||||
ysize None
|
||||
thumb Solid(gui.colors.accent, ysize=gui.slider.thumb_size)
|
||||
xsize gui.slider.bar_width
|
||||
style scrollbar is bar:
|
||||
unscrollable "hide"
|
||||
style vscrollbar is vbar:
|
||||
unscrollable "hide"
|
||||
style window is frame
|
||||
|
||||
|
||||
|
||||
style interface_text is text
|
||||
style interface_button is button
|
||||
style interface_button_text is button_text:
|
||||
selected_underline True
|
||||
selected_color gui.colors.primary
|
||||
style interface_label is label
|
||||
style interface_label_text is label_text
|
||||
style interface_frame is frame
|
||||
style interface_slider is slider
|
||||
style interface_bar is bar
|
||||
style interface_vbar is bar
|
||||
style interface_scrollbar is bar
|
||||
style interface_vscrollbar is bar
|
||||
style interface_window is window
|
||||
20
game/source/appearance/transforms.rpy
Normal file
20
game/source/appearance/transforms.rpy
Normal file
@@ -0,0 +1,20 @@
|
||||
init -498:
|
||||
|
||||
define fleft = ExtendedTransforms.positions.fleft
|
||||
define left = ExtendedTransforms.positions.left
|
||||
define cleft = ExtendedTransforms.positions.cleft
|
||||
define center = ExtendedTransforms.positions.center
|
||||
define cright = ExtendedTransforms.positions.cright
|
||||
define right = ExtendedTransforms.positions.right
|
||||
define fright = ExtendedTransforms.positions.fright
|
||||
|
||||
define far = ExtendedTransforms.positions.far
|
||||
define medium = ExtendedTransforms.positions.medium
|
||||
define near = ExtendedTransforms.positions.near
|
||||
|
||||
define offscreen = ExtendedTransforms.positions.offscreen
|
||||
|
||||
define hover_brightness = ExtendedTransforms.ui.hover_brightness
|
||||
define hover_alpha = ExtendedTransforms.ui.hover_alpha
|
||||
define hover_zoom = ExtendedTransforms.ui.hover_zoom
|
||||
define hover_tint = ExtendedTransforms.ui.hover_tint
|
||||
31
game/source/appearance/transitions.rpy
Normal file
31
game/source/appearance/transitions.rpy
Normal file
@@ -0,0 +1,31 @@
|
||||
init -498:
|
||||
|
||||
define enter_right_effect = ExtendedTransitions.transforms.enter_right
|
||||
define enter_front_effect = ExtendedTransitions.transforms.enter_front
|
||||
define enter_left_effect = ExtendedTransitions.transforms.enter_left
|
||||
define enter_effect = ExtendedTransitions.transforms.enter
|
||||
|
||||
define leave_right_effect = ExtendedTransitions.transforms.leave_right
|
||||
define leave_front_effect = ExtendedTransitions.transforms.leave_front
|
||||
define leave_left_effect = ExtendedTransitions.transforms.leave_left
|
||||
define leave_effect = ExtendedTransitions.transforms.leave
|
||||
|
||||
define runout_effect = ExtendedTransitions.transforms.runout
|
||||
|
||||
define fade1 = Fade(0.5, 0, 0.5)
|
||||
define fade2 = Fade(1.0, 0, 1.0)
|
||||
define fade3 = Fade(1.5, 0, 1.5)
|
||||
|
||||
define fade1p = Fade(0.5, 0, 0.5)
|
||||
define fade2p1 = Fade(1.0, 0, 1.0)
|
||||
define fade0p2 = Fade(1.5, 0, 1.5)
|
||||
|
||||
define to_black = Fade(1.5, 0, 0)
|
||||
define from_black = Fade(0, 0, 1.5)
|
||||
|
||||
define dissolve1 = Dissolve(1)
|
||||
define dissolve2 = Dissolve(2)
|
||||
define dissolve3 = Dissolve(3)
|
||||
|
||||
define flash = Fade(.1, 0, .5, color="#FFF")
|
||||
define flash_red = Fade(.1, 0, .5, color="#F00")
|
||||
50
game/source/building/common.rpy
Normal file
50
game/source/building/common.rpy
Normal file
@@ -0,0 +1,50 @@
|
||||
init python:
|
||||
build.classify('**.rar', None)
|
||||
build.classify('**.zip', None)
|
||||
build.classify('**.7z', None)
|
||||
|
||||
build.classify('**.gitignore', None)
|
||||
build.classify('**.gitmodules', None)
|
||||
build.classify('**.xlsx', None)
|
||||
build.classify('**.git', None)
|
||||
build.classify('**.md', None)
|
||||
build.classify('game/libs/libs.txt', "archive unpackaged_files")
|
||||
build.classify('**.txt', None)
|
||||
build.classify('**.py', None)
|
||||
|
||||
build.classify('**/saves/', None)
|
||||
build.classify('**/cache/', None)
|
||||
|
||||
build.classify('**.dev/**', None)
|
||||
build.classify('**.dev.**', None)
|
||||
build.classify('**.tmp/**', None)
|
||||
build.classify('**.tmp.**', None)
|
||||
|
||||
build.classify('**.rpy', "unpackaged_files")
|
||||
build.classify('**.0rpy', None)
|
||||
build.classify('**.bak', None)
|
||||
|
||||
build.classify("**.rpyc", "archive unpackaged_files")
|
||||
build.classify("**.rpym", "archive unpackaged_files")
|
||||
build.classify("**.rpymc", "archive unpackaged_files")
|
||||
|
||||
build.classify("**.json", "archive unpackaged_files")
|
||||
|
||||
build.classify("**.webm", "archive unpackaged_files")
|
||||
build.classify("**.png", "archive unpackaged_files")
|
||||
build.classify("**.jpg", "archive unpackaged_files")
|
||||
build.classify("**.jpeg", "archive unpackaged_files")
|
||||
|
||||
build.classify("**.ogg", "archive unpackaged_files")
|
||||
build.classify("**.mp3", "archive unpackaged_files")
|
||||
build.classify("**.wav", "archive unpackaged_files")
|
||||
|
||||
build.classify("**.ttf", "archive unpackaged_files")
|
||||
build.classify("**.otf", "archive unpackaged_files")
|
||||
|
||||
|
||||
build.early_base_patterns.remove(("icon.ico", None))
|
||||
build.early_base_patterns.remove(("icon.icns", None))
|
||||
build.classify("icon.ico", "unpackaged_files")
|
||||
build.classify("icon.icns", "unpackaged_files")
|
||||
|
||||
4
game/source/building/demo.rpy
Normal file
4
game/source/building/demo.rpy
Normal file
@@ -0,0 +1,4 @@
|
||||
init 2 python:
|
||||
build.package("demo-all", "zip", "windows mac linux renpy demo", "[DEMO] Windows, Linux and Mac", hidden=True)
|
||||
build.package("demo-pc", "zip", "windows linux renpy demo", "[DEMO] Windows and Linux", hidden=True)
|
||||
build.package("demo-mac", "dmg", "mac renpy demo", "[DEMO] Macintosh", hidden=True)
|
||||
2
game/source/building/unpackaged.rpy
Normal file
2
game/source/building/unpackaged.rpy
Normal file
@@ -0,0 +1,2 @@
|
||||
init 2 python:
|
||||
build.package("Unpackaged", "directory", "unpackaged_files", "Unpackaged")
|
||||
71
game/source/composers.dev/collectors.rpy
Normal file
71
game/source/composers.dev/collectors.rpy
Normal file
@@ -0,0 +1,71 @@
|
||||
init -498 python hide:
|
||||
|
||||
AutoMediaCollector.MediaCollector("source/media_init/auto.generated/sprites.rpy"
|
||||
).set_media_location(
|
||||
r"images/sprites/(?P<tag>[^/]+)/"
|
||||
).set_composer(
|
||||
AutoMediaCollector.TimedMediaComposer(
|
||||
).set_time_matrix(
|
||||
tint_matrix_map
|
||||
).set_child_composer(
|
||||
AutoMediaCollector.SpriteMediaComposer().set_tags_offsets({
|
||||
})
|
||||
)
|
||||
).add_layer_logic(
|
||||
"base",
|
||||
"base/(?P<variant>[^./]+).png"
|
||||
).add_layer_logic(
|
||||
"eyes",
|
||||
"eyes/(?P<variant>[^./]+).png",
|
||||
"face"
|
||||
).add_layer_logic(
|
||||
"mouth",
|
||||
"mouth/(?P<variant>[^./]+).png",
|
||||
"face"
|
||||
)
|
||||
|
||||
AutoMediaCollector.MediaCollector("source/media_init/auto.generated/static_sprites.rpy"
|
||||
).set_media_location(
|
||||
r"images/sprites/(?P<tag>[^/]+)/"
|
||||
).set_composer(
|
||||
AutoMediaCollector.TimedMediaComposer().set_time_matrix(
|
||||
tint_matrix_map
|
||||
).set_child_composer(
|
||||
AutoMediaCollector.SpriteMediaComposer().set_tags_offsets({
|
||||
|
||||
})
|
||||
)
|
||||
).add_layer_logic(
|
||||
"base",
|
||||
"(?P<variant>[^./]+).png"
|
||||
)
|
||||
|
||||
AutoMediaCollector.MediaCollector("source/media_init/auto.generated/backgrounds.rpy"
|
||||
).set_media_location(
|
||||
r"images/bg/(?P<tag>[^/]+)/"
|
||||
).set_common_tag(
|
||||
r"bg"
|
||||
).add_layer_logic(
|
||||
"base",
|
||||
"(?P<variant>[^./]+).jpg",
|
||||
layer_composer=AutoMediaCollector.OptionalMovieLayerComposer()
|
||||
)
|
||||
|
||||
AutoMediaCollector.MediaCollector("source/media_init/auto.generated/cg.rpy"
|
||||
).set_media_location(
|
||||
r"images/events/(?P<tag>[^./]+)/"
|
||||
).add_layer_logic(
|
||||
"base",
|
||||
"(?P<variant>[^./]+).(?:jpg|png)"
|
||||
)
|
||||
|
||||
AutoMediaCollector.MediaCollector(
|
||||
"source/media_init/auto.generated/audio.rpy", -200
|
||||
).set_composer(
|
||||
AutoMediaCollector.AudioMediaComposer()
|
||||
).set_media_location(
|
||||
r"audio/(?P<tag>[^/]+)/"
|
||||
).add_layer_logic(
|
||||
"audio_file",
|
||||
r"(?P<variant>[^/]+?)\.(?:ogg|wav)$"
|
||||
)
|
||||
4
game/source/composers.dev/composers.rpy
Normal file
4
game/source/composers.dev/composers.rpy
Normal file
@@ -0,0 +1,4 @@
|
||||
init -499 python:
|
||||
|
||||
pass
|
||||
|
||||
7
game/source/composers.dev/config.rpy
Normal file
7
game/source/composers.dev/config.rpy
Normal file
@@ -0,0 +1,7 @@
|
||||
init -500 python:
|
||||
AutoMediaCollector.set_delayed_mode(True)
|
||||
|
||||
tint_matrix_map = [
|
||||
("night", (151, 164, 214)),
|
||||
("sunset", (240, 209, 255)),
|
||||
]
|
||||
27
game/source/core/config.rpy
Normal file
27
game/source/core/config.rpy
Normal file
@@ -0,0 +1,27 @@
|
||||
init offset = -4
|
||||
|
||||
init python:
|
||||
gui.init(1920, 1080)
|
||||
|
||||
define config.check_conflicting_properties = True
|
||||
|
||||
define config.name = _("RenPy Game")
|
||||
|
||||
define config.version = "0.1.0"
|
||||
|
||||
|
||||
define build.name = "2007"
|
||||
|
||||
define config.window_icon = "gui/misc/icon.png"
|
||||
|
||||
define config.steam_appid = None
|
||||
define config.rollback_enabled = True
|
||||
|
||||
# Transitions
|
||||
define config.end_game_transition = fade
|
||||
|
||||
define config.window_show_transition = Dissolve(.2)
|
||||
define config.window_hide_transition = Dissolve(.2)
|
||||
|
||||
|
||||
|
||||
10
game/source/core/default_preferences.rpy
Normal file
10
game/source/core/default_preferences.rpy
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
default preferences.text_cps = 48
|
||||
define config.default_music_volume = 0.65
|
||||
define config.default_sfx_volume = 1.0
|
||||
define config.default_voice_volume = 1.0
|
||||
define config.default_fullscreen = True
|
||||
|
||||
|
||||
default preferences.afm_time = 15
|
||||
|
||||
4
game/source/core/upgrade.rpy
Normal file
4
game/source/core/upgrade.rpy
Normal file
@@ -0,0 +1,4 @@
|
||||
init -999 python hide:
|
||||
|
||||
pass
|
||||
# config.after_load_callbacks.append()
|
||||
0
game/source/core/values.rpy
Normal file
0
game/source/core/values.rpy
Normal file
0
game/source/media_init/audio.rpy
Normal file
0
game/source/media_init/audio.rpy
Normal file
0
game/source/media_init/backgrounds.rpy
Normal file
0
game/source/media_init/backgrounds.rpy
Normal file
0
game/source/media_init/characters.rpy
Normal file
0
game/source/media_init/characters.rpy
Normal file
6
game/source/media_init/gui.rpy
Normal file
6
game/source/media_init/gui.rpy
Normal file
@@ -0,0 +1,6 @@
|
||||
image black = Solid(gui.colors.black)
|
||||
image gray = Solid(gui.colors.gray)
|
||||
image white = Solid(gui.colors.white)
|
||||
image red = Solid(gui.colors.red)
|
||||
image green = Solid(gui.colors.green)
|
||||
image blue = Solid(gui.colors.blue)
|
||||
0
game/source/media_init/sprites.rpy
Normal file
0
game/source/media_init/sprites.rpy
Normal file
0
game/source/plugin_configs/.gitkeep
Normal file
0
game/source/plugin_configs/.gitkeep
Normal file
1535
game/tl/None/common.rpym
Normal file
1535
game/tl/None/common.rpym
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user