mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-12-24 22:16:42 +00:00
main ui updates
This commit is contained in:
parent
13e531c354
commit
c0ce91d1c6
Binary file not shown.
Before Width: | Height: | Size: 593 B |
BIN
src/assets/icon/discord.png
Normal file
BIN
src/assets/icon/discord.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 577 B |
BIN
src/assets/icon/link.png
Normal file
BIN
src/assets/icon/link.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 328 B |
BIN
src/assets/icon/linkgrey.png
Normal file
BIN
src/assets/icon/linkgrey.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 346 B |
BIN
src/assets/icon/randoconfig.png
Normal file
BIN
src/assets/icon/randoconfig.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 471 B |
|
@ -5,7 +5,7 @@ end
|
|||
function love.conf(t)
|
||||
t.window = {
|
||||
title = "Cave Story Randomizer",
|
||||
icon = 'assets/icon.png',
|
||||
icon = 'assets/icon/randoconfig.png',
|
||||
width = 640,
|
||||
height = 480,
|
||||
resizable = false,
|
||||
|
|
|
@ -112,11 +112,24 @@ function C:loadMusicSettings(shuffle, beta, flavor)
|
|||
if flavor == "Chaos" then music.random.value = true end
|
||||
end
|
||||
|
||||
layout.version.text = 'Cave Story Randomizer [Open Mode] v' .. VERSION
|
||||
layout.author.text = 'by shru and duncathan'
|
||||
layout.twitter.text = '(@shruuu and @duncathan_salt)'
|
||||
layout.version.text = 'Cave Story Randomizer v' .. VERSION
|
||||
layout.author.text = 'by duncathan'
|
||||
layout.twitter.text = '(@duncathan_salt)'
|
||||
|
||||
layout.footer.text = 'Original randomizer:\r\nshru.itch.io/cave-story-randomizer'
|
||||
layout.linktext.text = 'Join our Discord server!'
|
||||
layout.footerlink:onEnter(function()
|
||||
layout.linktext.color = {0.8,0.8,0.8} -- #CCCCCC
|
||||
layout.linkicon.icon = 'assets/icon/linkgrey.png'
|
||||
end)
|
||||
layout.footerlink:onLeave(function()
|
||||
layout.linktext.color = {1,1,1} -- #FFFFFF
|
||||
layout.linkicon.icon = 'assets/icon/link.png'
|
||||
end)
|
||||
layout.footerlink:onPress(function()
|
||||
love.system.openURL("https://discord.gg/7zUdPEn")
|
||||
end)
|
||||
|
||||
layout.footershru.text = 'Original randomizer by @shruuu'
|
||||
|
||||
music.panel.text = [[Shuffle: remap every song to a new song. For example, all instances of Mischievous Robot become Pulse. Songs may remap to themselves.
|
||||
|
||||
|
|
|
@ -53,13 +53,25 @@ return { id = 'window',
|
|||
},
|
||||
{
|
||||
flow = 'x',
|
||||
height = 120,
|
||||
{ width = 20 },
|
||||
{
|
||||
type = 'panel',
|
||||
id = 'footer',
|
||||
height = 80,
|
||||
style = 'transpanel',
|
||||
align = 'centre left',
|
||||
{
|
||||
type = 'panel',
|
||||
id = 'footershru',
|
||||
height = 32,
|
||||
style = 'transpanel',
|
||||
align = 'top left'
|
||||
},
|
||||
{ flow = 'x',
|
||||
type = 'panel',
|
||||
id = 'footerlink',
|
||||
height = 32,
|
||||
style = 'transpanel',
|
||||
align = 'top left',
|
||||
{ id = 'linktext', width = 310, icon = 'assets/icon/discord.png' },
|
||||
{ id = 'linkicon', icon = 'assets/icon/link.png'}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ return {
|
|||
background = {0,0,0,0},
|
||||
font = 'assets/monogram_extended.ttf',
|
||||
size = 32,
|
||||
color = {255,255,255},
|
||||
color = {1,1,1},
|
||||
},
|
||||
button = {
|
||||
align = 'center middle',
|
||||
|
|
Loading…
Reference in a new issue