mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-11-22 06:43:03 +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)
|
function love.conf(t)
|
||||||
t.window = {
|
t.window = {
|
||||||
title = "Cave Story Randomizer",
|
title = "Cave Story Randomizer",
|
||||||
icon = 'assets/icon.png',
|
icon = 'assets/icon/randoconfig.png',
|
||||||
width = 640,
|
width = 640,
|
||||||
height = 480,
|
height = 480,
|
||||||
resizable = false,
|
resizable = false,
|
||||||
|
|
|
@ -112,11 +112,24 @@ function C:loadMusicSettings(shuffle, beta, flavor)
|
||||||
if flavor == "Chaos" then music.random.value = true end
|
if flavor == "Chaos" then music.random.value = true end
|
||||||
end
|
end
|
||||||
|
|
||||||
layout.version.text = 'Cave Story Randomizer [Open Mode] v' .. VERSION
|
layout.version.text = 'Cave Story Randomizer v' .. VERSION
|
||||||
layout.author.text = 'by shru and duncathan'
|
layout.author.text = 'by duncathan'
|
||||||
layout.twitter.text = '(@shruuu and @duncathan_salt)'
|
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.
|
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',
|
flow = 'x',
|
||||||
|
height = 120,
|
||||||
{ width = 20 },
|
{ width = 20 },
|
||||||
{
|
{
|
||||||
type = 'panel',
|
{
|
||||||
id = 'footer',
|
type = 'panel',
|
||||||
height = 80,
|
id = 'footershru',
|
||||||
style = 'transpanel',
|
height = 32,
|
||||||
align = 'centre left',
|
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},
|
background = {0,0,0,0},
|
||||||
font = 'assets/monogram_extended.ttf',
|
font = 'assets/monogram_extended.ttf',
|
||||||
size = 32,
|
size = 32,
|
||||||
color = {255,255,255},
|
color = {1,1,1},
|
||||||
},
|
},
|
||||||
button = {
|
button = {
|
||||||
align = 'center middle',
|
align = 'center middle',
|
||||||
|
|
Loading…
Reference in a new issue