diff --git a/res/img/rpc/ingame-0.png b/res/img/rpc/ingame-0.png new file mode 100644 index 0000000..9b9337b Binary files /dev/null and b/res/img/rpc/ingame-0.png differ diff --git a/res/img/rpc-settings.png b/res/img/rpc/rpc-settings.png similarity index 100% rename from res/img/rpc-settings.png rename to res/img/rpc/rpc-settings.png diff --git a/scene/game.lua b/scene/game.lua index 642b20b..0e36d9d 100644 --- a/scene/game.lua +++ b/scene/game.lua @@ -27,6 +27,9 @@ function GameScene:new(game_mode, ruleset, inputs) DiscordRPC:update({ details = self.game.rpc_details, state = self.game.name, + --largeImageText = "Level "..self.game.level???? + largeImageKey = "ingame-0" + --largeImageKey = ingame-
}) end diff --git a/scene/game_config.lua b/scene/game_config.lua index e20ae32..a161cf8 100644 --- a/scene/game_config.lua +++ b/scene/game_config.lua @@ -27,9 +27,9 @@ function ConfigScene:new() -- load current config self.config = config.input self.highlight = 1 - + DiscordRPC:update({ - details = "In menus", + details = "In settings", state = "Changing game settings", }) @@ -52,7 +52,7 @@ function ConfigScene:render() love.graphics.setFont(font_3x5_4) love.graphics.print("GAME SETTINGS", 80, 40) - + --Lazy check to see if we're on the SFX or BGM slider. Probably will need to be rewritten if more options get added. love.graphics.setColor(1, 1, 1, 0.5) if not ConfigScene.options[self.highlight][3] then @@ -60,7 +60,7 @@ function ConfigScene:render() else love.graphics.rectangle("fill", 65 + (1+self.highlight-#self.options) * 300, 342, 215, 33) end - + love.graphics.setFont(font_3x5_2) for i, option in ipairs(ConfigScene.options) do if not option[3] then diff --git a/scene/input_config.lua b/scene/input_config.lua index 64a91c9..9004366 100644 --- a/scene/input_config.lua +++ b/scene/input_config.lua @@ -10,7 +10,7 @@ local menu_screens = { function ConfigScene:new() self.menu_state = 1 DiscordRPC:update({ - details = "In menus", + details = "In settings", state = "Changing input config", }) end @@ -63,4 +63,4 @@ function ConfigScene:onInputPress(e) end end -return ConfigScene \ No newline at end of file +return ConfigScene diff --git a/scene/key_config.lua b/scene/key_config.lua index ceae63f..419ebb5 100644 --- a/scene/key_config.lua +++ b/scene/key_config.lua @@ -35,7 +35,7 @@ function KeyConfigScene:new() self.new_input = {} DiscordRPC:update({ - details = "In menus", + details = "In settings", state = "Changing key config", }) end diff --git a/scene/mode_select.lua b/scene/mode_select.lua index 220ec8d..5550ec7 100755 --- a/scene/mode_select.lua +++ b/scene/mode_select.lua @@ -39,6 +39,7 @@ function ModeSelectScene:new() DiscordRPC:update({ details = "In menus", state = "Choosing a mode", + largeImageKey = "icon2" }) end