main ui updates

This commit is contained in:
duncathan 2020-03-03 20:26:46 -06:00
parent 13e531c354
commit c0ce91d1c6
9 changed files with 36 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

View file

@ -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,

View file

@ -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.

View file

@ -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'}
},
}
}
}

View file

@ -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',