mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-02 06:46:34 +01:00
Makes fang tail playable
This commit is contained in:
parent
6320f49d01
commit
5fdfadfd64
1 changed files with 7 additions and 9 deletions
|
@ -103,11 +103,12 @@ init 2 python:
|
|||
renpy.seen_label('fang_movie')
|
||||
gallery_dic['Animations'] = [{
|
||||
"item": 'fang tail',
|
||||
"fn": 'fang tail',
|
||||
"fn": 'images/animations/fang tail.webm',
|
||||
"cg": cg_('images/backgrounds/garden.jpg', None, 1920),
|
||||
"ext": 'webm',
|
||||
"wh": [1920, 1080]
|
||||
}]
|
||||
renpy.image("fang tail", Movie(loop=True,play='images/animations/fang tail.webm')) # Since we are hard-coding might as well.
|
||||
|
||||
#for zooming in and out
|
||||
zoom_arr = [0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1.0, 1.125, 1.25, 1.5, 1.75, 2.0]
|
||||
|
@ -304,7 +305,8 @@ screen flag_button(item, yoffset, origin):
|
|||
if flag:
|
||||
button:
|
||||
if item['ext'] == "webm":
|
||||
action Replay('fang_movie')#ShowMenu('view_movie', item, ShowMenu('cg_gallery_0', yoffset, origin))
|
||||
#action Replay('fang_movie')
|
||||
action ShowMenu('view_movie', item, ShowMenu('cg_gallery_0', yoffset, origin))
|
||||
else:
|
||||
action ShowMenu('view_image_a', item, ShowMenu('cg_gallery_0', yoffset, origin))
|
||||
#action Show('view_image', None, item, ShowMenu('cg_gallery_0', yoffset, origin), _zorder=1)
|
||||
|
@ -324,13 +326,9 @@ screen flag_button(item, yoffset, origin):
|
|||
|
||||
screen view_movie(item, _origin):
|
||||
tag menu
|
||||
key "game_menu" action _origin
|
||||
python:
|
||||
renpy.movie_cutscene(item['item'], None, -1)
|
||||
frame:
|
||||
pass
|
||||
#scene fang tail with fade
|
||||
|
||||
key "game_menu" action [Hide('view_movie'), _origin ]
|
||||
key "button_alternate" action [Hide('view_movie'), _origin ]
|
||||
add item['item']
|
||||
|
||||
"""
|
||||
view_image, Loads the image in fullscreen with viewport control.
|
||||
|
|
Loading…
Reference in a new issue