Reimplement main menu (Partial)

* Add new main menu
* Add parallax transform
* Add art placeholders
This commit is contained in:
LoafyLemon 2024-11-28 18:26:00 +00:00
parent a44b5cc8a3
commit 2f4e3c3b35
8 changed files with 396 additions and 147 deletions

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

View File

@ -58,6 +58,7 @@ transform gui_modal_hide:
easeout_back 0.4 zoom 0.0 alpha 0.0
image gui_fade_bottom = Frame(Image("gui/creamy_pumpkin_pie/fade_bottom.png", oversample=4), ysize=150, yalign=1.0)
image gui_fade_top = Frame(Image("gui/creamy_pumpkin_pie/fade_top.png", oversample=4), ysize=150, yalign=0.0)
image gui_fade_both = Fixed(Frame(Image("gui/creamy_pumpkin_pie/fade_top.png", oversample=4)), Frame(Image("gui/creamy_pumpkin_pie/fade_bottom.png", oversample=4)))
style frame is empty:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,16 @@
transform parallax(depth):
perspective True
subpixel True
zzoom True
zpos depth/100.0
function parallax_move
init python:
def parallax_move(trans, st, at):
x, y = renpy.get_mouse_pos()
xo = (x - config.screen_width // 2)
yo = (y - config.screen_height // 2)
trans.xoffset = xo * trans.zpos
trans.yoffset = yo * trans.zpos
trans.matrixtransform = Matrix.rotate(yo * 0.0004, xo * 0.000225, 0) * Matrix.scale(1.015, 1.015, 1.0)
return 0