revamp credits

This commit is contained in:
Map 2022-11-15 23:33:16 -06:00
parent 5e37118aa9
commit 7d320565f0
5 changed files with 163 additions and 55 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 KiB

View file

@ -257,7 +257,7 @@ label chapter_3:
show reed shocked flip: show reed shocked flip:
yalign 0.1 xalign 1.8 yalign 0.1 xalign 1.8
show reed: show reed:
easein 0.5 xalign 1.6 easein 0.5 xalign 1.6
with dissolve with dissolve
pause .5 pause .5
@ -2282,9 +2282,9 @@ label chapter_3:
pause .5 pause .5
if persistent.lewd == True: if persistent.lewd == True:
scene lesbo with Dissolve(2) scene lesbo with Dissolve(2)
pause 20.00 pause 20.00
scene black with Dissolve(1) scene black with Dissolve(1)
pause .5 pause .5

View file

@ -1,11 +1,10 @@
init python: init python:
#don't do a halo infinite moment #don't do a halo infinite moment
#hard code the header & footer #hard code the header & footer
#then iterate the list_credits #then iterate the list_credits
list_credits = { list_og_credits = {
_('Coded By:'): [ _('Coded By:'): [
'/dev/non', '/dev/non',
"[[Untitled]] Anon", "[[Untitled]] Anon",
@ -51,15 +50,15 @@ init python:
'Ionanon' 'Ionanon'
], ],
_('Additional Artwork by:'): [ _('Additional Artwork by:'): [
'Backup Anon 1', _('Backup Anon 1'),
'Backup Anon 2', _('Backup Anon 2'),
'Backup Anon 3', _('Backup Anon 3'),
'Backup Anon 4', _('Backup Anon 4'),
'Backup Anon 5', _('Backup Anon 5'),
'Backup Anon 6', _('Backup Anon 6'),
], ],
_("\"Love theme\" by:"): [ _("\"Love theme\" by:"): [
'Only Person In The Team With A\nPortfolio/Experience Anon', _('Only Person In The Team With A\nPortfolio/Experience Anon'),
], ],
_('Music By'): [ _('Music By'): [
'Shampoo Anon', 'Shampoo Anon',
@ -71,6 +70,9 @@ init python:
_('Character Design\nContest Winner:'): [ _('Character Design\nContest Winner:'): [
'Mono Anon', 'Mono Anon',
], ],
}
list_translator_credits = {
_('Translators (Spanish):'): [ _('Translators (Spanish):'): [
'Queso2033 Anon', 'Queso2033 Anon',
'TheShadowTrAnon' 'TheShadowTrAnon'
@ -92,17 +94,18 @@ init python:
SIZE_SNOT_GAMES = 68*3+10 SIZE_SNOT_GAMES = 68*3+10
SIZE_TITLE = 32*3+10 SIZE_TITLE = 32*3+10
SIZE_ENTRY = 26*3+10 SIZE_ENTRY = 26*3+10
SIZE_TL = 26*2+10
SIZE_ENDER = 52*3+10 SIZE_ENDER = 52*3+10
#there is line_spacing but don't usei t #there is line_spacing but don't usei t
textlist.append(Text(_("Snoot Game"), size=SIZE_SNOT_GAMES, **alignargs)) textlist.append(Text(_("Snoot Game"), size=SIZE_SNOT_GAMES, **alignargs))
textlist.append(Null(1, 16*1)) textlist.append(Null(1, 16*1))
textlist.append(Text(_("By CaveManon"), size=SIZE_TITLE, **alignargs)) textlist.append(Text(_("By CaveManon"), size=SIZE_TITLE, **alignargs))
textlist.append(Null(1, 16*12)) textlist.append(Null(1, 16*18))
textlist.append(Text(_("developed in Ren'py"), size=SIZE_ENTRY, **alignargs)) textlist.append(Text(_("developed in Ren'py"), size=SIZE_ENTRY, **alignargs))
textlist.append(Null(1, 16*12)) textlist.append(Null(1, 16*12))
for key, arr in list_credits.items(): for key, arr in list_og_credits.items():
textlist.append(Text(key, size=SIZE_TITLE, **alignargs)) textlist.append(Text(key, size=SIZE_TITLE, **alignargs))
textlist.append(Null(1, 16*6)) textlist.append(Null(1, 16*6))
concatstr = "" concatstr = ""
@ -111,9 +114,36 @@ init python:
textlist.append(Text(concatstr, size=SIZE_ENTRY, **alignargs)) textlist.append(Text(concatstr, size=SIZE_ENTRY, **alignargs))
textlist.append(Null(1, 16*2)) textlist.append(Null(1, 16*2))
#smaller font and gridonate for translators
TL_WIDTH = 2
TL_HEIGHT = (len(list_translator_credits)+1)//2
tgrid = []
for key, arr in list_translator_credits.items():
vb = []
vb.append(Text(key, size=SIZE_ENTRY, **alignargs))
vb.append(Null(1, 16*6))
concatstr = ""
for item in arr:
concatstr += item + '\n'
vb.append(Text(concatstr, size=SIZE_TL, **alignargs))
vb.append(Null(1, 16*2))
vb = VBox(*vb)
tgrid.append(vb)
for x in range(len(tgrid), TL_WIDTH*TL_HEIGHT):
tgrid.append(Null())
pass
tgrid = Grid(TL_WIDTH, TL_HEIGHT, *tgrid)
textlist.append(tgrid)
textlist.append(Null(1, 16*12)) #check
textlist.append(Text(_("T H E E N D"), size=SIZE_ENDER, **alignargs)) textlist.append(Text(_("T H E E N D"), size=SIZE_ENDER, **alignargs))
textlist.append(Null(1, 16*18)) textlist.append(Null(1, 16*4))
textlist.append(Text(_("Snoot game started development\n on June 19 2020"), size=SIZE_ENTRY, **alignargs)) textlist.append(Text(_("Snoot game started development\n on June 19, 2020"), size=SIZE_ENTRY, **alignargs))
credits_hbox = Fixed(VBox(*textlist, xalign=0.5), xalign=0.5) credits_hbox = Fixed(VBox(*textlist, xalign=0.5), xalign=0.5)
renpy.image('credits_hbox', credits_hbox) renpy.image('credits_hbox', credits_hbox)
@ -121,17 +151,40 @@ init python:
#slack: 2000 #slack: 2000
image s_credits = Composite(
(1920, 11000+1000),
(0, 0), "credits_base",
(0, 0), "credits_hbox",
(0, 10060+1000), "d_sketch"
)
label test_credits: label test_credits:
scene black
stop ambient
play music '<loop 12.809525>audio/abloop.wav'
"test" "test"
show s_credits at Pan((0, -500),(0, 9850+1000), 65) with fade window auto hide
#show credits_hbox at Pan((0, -500),(0, 9850), 65) with fade
pause 0.5
show snootgame_big with dissolve: # Renpy not allowing you to grab images from the gui folder is serious bullshit
subpixel True
xalign 0.5
yalign 0.5
linear 6 zoom 1.2
pause 1.75
show d_credits_text with dissolve:
crop (0, 670, 1920, 100000)
ypos 670
pause 2
hide d_credits_text
hide snootgame_big
with dissolve
show credits_base at Pan((0, -1080),(0, 8100), 65) behind c_credits_text:
subpixel True
show d_credits_text at Pan((0, 0),(0, 11675), 65):
crop None
subpixel True
show credits_coverup at Pan((0, 0),(0, 11675), 65):
subpixel True
pause 50
queue music "audio/abend.wav" noloop
pause pause
scene black with Dissolve(3) scene black with Dissolve(3)

View file

@ -54,50 +54,105 @@ label storyline:
call .ending call .ending
return return
image b_credits = Composite(
(1920, 11000+3000),
(0, 0), "credits_base",
(0, 0), "credits_hbox",
(0, 10060+3000), "b_sketch"
)
image c_credits = Composite( image credits_coverup:
(1920, 11000+3000), "black"
(0, 0), "credits_base", crop (0, 0, 1920, 1080)
(0, 0), "credits_hbox",
(0, 10060+3000), "c_sketch" image b_credits_text = Composite(
) (1920, 12800),
(0, 390), "credits_hbox",
(0, 12225), "b_sketch"
)
image c_credits_text = Composite(
(1920, 12800),
(0, 390), "credits_hbox",
(0, 12225), "c_sketch"
)
image d_credits_text = Composite(
(1920, 12800),
(0, 390), "credits_hbox",
(0, 12225), "d_sketch"
)
# Anytime the credits changes to include more translators, you're just going to have to guess what the correct
# value to offset everything is again. Mainly concerning values that control the panning destination of credits text,
# and the height of the credits text itself
# Remember, ending sketch is always +550 of when the Pan stops
image d_credits = Composite(
(1920, 11000+3000),
(0, 0), "credits_base",
(0, 0), "credits_hbox",
(0, 10060+3000), "d_sketch"
)
label .ending: label .ending:
call get_ending call get_ending
#I know, horrifying copy and paste
if _return == 4: if _return == 4:
show d_credits at Pan((0, -800),(0, 9850+3000), 65) with fade pause 0.5
show snootgame_big with dissolve: # Renpy not allowing you to grab images from the gui folder is serious bullshit
subpixel True
xalign 0.5
yalign 0.5
linear 6 zoom 1.2
pause 1.75
show d_credits_text with dissolve:
crop (0, 670, 1920, 100000)
ypos 670
pause 2
hide d_credits_text
hide snootgame_big
with dissolve
hide d_credits_text
hide snootgame_big
with dissolve
show credits_base at Pan((0, -1080),(0, 8100), 65) behind c_credits_text:
subpixel True
show d_credits_text at Pan((0, 0),(0, 11675), 65):
crop None
subpixel True
show credits_coverup at Pan((0, 0),(0, 11675), 65):
subpixel True
elif _return == 3: elif _return == 3:
play music "audio/OST/Dino Destiny Reader.ogg" play music "audio/OST/Dino Destiny Reader.ogg"
show c_credits at Pan((0, -800),(0, 9850+3000), 65) with fade pause 0.5
show c_credits_text:
crop (0, 0, 1920, 670)
pause 1.1
show c_credits_text:
crop None
pause 2.75
show credits_base at Pan((0, -1080),(0, 8100), 65) behind c_credits_text:
subpixel True
show c_credits_text at Pan((0, 0),(0, 11675), 65):
crop None
subpixel True
else: else:
play music "audio/OST/Dino Destiny Reader.ogg" play music "audio/OST/Dino Destiny Reader.ogg"
show b_credits at Pan((0, -800),(0, 9850+3000), 65) with fade pause 0.5
show b_credits_text:
crop (0, 0, 1920, 670)
pause 1.1
show b_credits_text:
crop None
pause 2.75
show credits_base at Pan((0, -1080),(0, 8100), 65) behind c_credits_text:
subpixel True
show b_credits_text at Pan((0, 0),(0, 11675), 65):
crop None
subpixel True
pause pause
stop music fadeout 5 stop music fadeout 5
scene black with Dissolve(3) scene black with Dissolve(3)
pause 2 pause 2
if tradwife: if tradwife:
scene c10 with Dissolve(1.5) scene c10 with Dissolve(1.5)
pause 20 pause 20
scene black with Dissolve(2) scene black with Dissolve(2)
pause 1 pause 1
elif anonscore >= 4 and fangscore >= 4: elif anonscore >= 4 and fangscore >= 4:
scene golden ending with Dissolve(1.5) scene golden ending with Dissolve(1.5)
pause 20 pause 20
scene black with Dissolve(2) scene black with Dissolve(2)
pause 1 pause 1
return return