Update credits and bug fix

This commit is contained in:
LoafyLemon 2024-08-07 19:25:09 +01:00
parent 9383e5d719
commit 9a50a836db
4 changed files with 19 additions and 13 deletions

BIN
game/gui/creamy_pumpkin_pie/studio_logo.png (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

View File

@ -23,6 +23,7 @@ init python in credits:
return "\n".join(output_lines)
image game_logo = Image("gui/creamy_pumpkin_pie/game_logo.png", oversample=8)
image studio_logo = Image("gui/creamy_pumpkin_pie/studio_logo.png", oversample=4)
image engine_logo = Image("gui/creamy_pumpkin_pie/engine_logo.png", oversample=2)
define credits_images = [] # TODO: Add images once new chibis are in.
@ -229,6 +230,7 @@ define credits = credits.convert(_(f"""{{image=game_logo}}{{vspace=10}}
### Ren'Py Engine v[renpy.version_only]
- [renpy.license!t]
{{vspace=400}}
{{image=studio_logo}}
# Thank you for playing!{{vspace=400}}
"""))

View File

@ -70,19 +70,20 @@ screen inventory():
ypos 32
xalign 0.5
for item in menu_items:
button:
xysize (48, 48)
if selected_item == item:
add "interface/achievements/glow.webp" align (0.5, 0.5) xysize (48, 48) alpha 0.7 at rotate_circular
add crop_image_zoom(item.get_image(), 48, 48, (item.owned <= 0 or (inventory_mode==1 and (not item.givable or not states.active_girl in item.usable_on)))) align (0.5, 0.5)
if item.owned > 0 or config.developer:
button:
xysize (48, 48)
if selected_item == item:
add "interface/achievements/glow.webp" align (0.5, 0.5) xysize (48, 48) alpha 0.7 at rotate_circular
add crop_image_zoom(item.get_image(), 48, 48, (item.owned <= 0 or (inventory_mode==1 and (not item.givable or not states.active_girl in item.usable_on)))) align (0.5, 0.5)
if item.used or (item.type=="decoration" and item.in_use):
add "interface/topbar/icon_check.webp" xysize (16, 16) offset (8, -8)
if item.owned > 1:
text "x[item.owned]" offset (-8, 34) size 12
if item.used or (item.type=="decoration" and item.in_use):
add "interface/topbar/icon_check.webp" xysize (16, 16) offset (8, -8)
if item.owned > 1:
text "x[item.owned]" offset (-8, 34) size 12
if (inventory_mode==0 or (inventory_mode==1 and (item.givable and states.active_girl in item.usable_on))):
action [SetScreenVariable("selected_item", item)]
if (inventory_mode==0 or (inventory_mode==1 and (item.givable and states.active_girl in item.usable_on))):
action [SetScreenVariable("selected_item", item)]
if selected_item:
vbox: