Reimplement main menu (Partial)
* Add new main menu * Add parallax transform * Add art placeholders
This commit is contained in:
parent
a44b5cc8a3
commit
2f4e3c3b35
BIN
game/gui/creamy_pumpkin_pie/characters.png
(Stored with Git LFS)
Normal file
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
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
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
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
BIN
game/gui/creamy_pumpkin_pie/vignette_large.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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
16
game/scripts/utility/parallax.rpy
Normal file
16
game/scripts/utility/parallax.rpy
Normal 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
|
Loading…
Reference in New Issue
Block a user