All of the assets are finally here
description in release!
This commit is contained in:
75
game/gallery.rpy
Normal file
75
game/gallery.rpy
Normal file
@@ -0,0 +1,75 @@
|
||||
init python:
|
||||
|
||||
# Step 1. Create the gallery object.
|
||||
g = Gallery()
|
||||
g.locked_button = "button_gallery_locked"
|
||||
|
||||
# Step 2. Add buttons and images to the gallery.
|
||||
|
||||
# aoi good ending
|
||||
g.button("סוף טוב אאוי")
|
||||
g.condition("persistent.aoi_ending")
|
||||
g.image("cg_aoi_good")
|
||||
|
||||
# aoi bad ending
|
||||
g.button("סוף רע אאוי")
|
||||
g.condition("persistent.aoi_ending_bad")
|
||||
g.image("cg_aoi_bad")
|
||||
|
||||
|
||||
# shiro good ending
|
||||
g.button("סוף טוב שירו")
|
||||
g.condition("persistent.shiro_ending")
|
||||
g.image("cg_shiro_good")
|
||||
|
||||
|
||||
# shiro bad ending
|
||||
g.button("סוף רע שירו")
|
||||
g.condition("persistent.shiro_ending_bad")
|
||||
g.image("cg_shiro_bad")
|
||||
|
||||
|
||||
# akai good ending
|
||||
g.button("סוף טוב אקאי")
|
||||
g.condition("persistent.akai_ending")
|
||||
g.image("cg_akai_good")
|
||||
|
||||
|
||||
# akai bad ending
|
||||
g.button("סוף רע אקאי")
|
||||
g.condition("persistent.akai_ending_bad")
|
||||
g.image("cg_akai_bad")
|
||||
|
||||
|
||||
# The transition used when switching images.
|
||||
g.transition = dissolve
|
||||
|
||||
# Step 3. The gallery screen we use.
|
||||
screen gallery:
|
||||
|
||||
# Ensure this replaces the main menu.
|
||||
tag menu
|
||||
|
||||
# The background.
|
||||
add "bg_contest_stage_front"
|
||||
|
||||
# A grid of buttons.
|
||||
grid 3 3:
|
||||
|
||||
xfill True
|
||||
yfill True
|
||||
yoffset 80
|
||||
|
||||
# Call make_button to show a particular button.
|
||||
add g.make_button("סוף טוב אאוי", "button_aoi_good", xalign=0.5, yalign=0.5, xzoom=0.1, yzoom=0.1)
|
||||
add g.make_button("סוף רע אאוי", "button_aoi_bad", xalign=0.5, yalign=0.5, xzoom=0.1, yzoom=0.1)
|
||||
add g.make_button("סוף טוב שירו", "button_shiro_good", xalign=0.5, yalign=0.5, xzoom=0.1,yzoom=0.1)
|
||||
|
||||
add g.make_button("סוף רע שירו", "button_shiro_bad", xalign=0.5, yalign=0.5, zoom=0.1)
|
||||
add g.make_button("סוף טוב אקאי", "button_akai_good", xalign=0.5, yalign=0.5, zoom=0.1)
|
||||
add g.make_button("סוף רע אקאי", "button_akai_bad", xalign=0.5, yalign=0.5, zoom=0.1)
|
||||
|
||||
|
||||
# The screen is responsible for returning to the main menu. It could also
|
||||
# navigate to other gallery screens.
|
||||
textbutton "חזור" action Return() xalign 0.5 yalign 0.8
|
||||
Reference in New Issue
Block a user