diff --git a/Release/com.f00d4tehg0dz.cookieclicker.streamDeckPlugin b/Release/com.f00d4tehg0dz.cookieclicker.streamDeckPlugin index 61e02ff..9914cae 100644 Binary files a/Release/com.f00d4tehg0dz.cookieclicker.streamDeckPlugin and b/Release/com.f00d4tehg0dz.cookieclicker.streamDeckPlugin differ diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/cookieclicker.html b/com.f00d4tehg0dz.cookieclicker.sdPlugin/cookieclicker.html index 5ad9252..7df4124 100644 --- a/com.f00d4tehg0dz.cookieclicker.sdPlugin/cookieclicker.html +++ b/com.f00d4tehg0dz.cookieclicker.sdPlugin/cookieclicker.html @@ -48,7 +48,7 @@ } }); function openGithub() { - $SD.api.openUrl($SD.actionInfo.context, "https://github.com/f00d4tehg0dz/elgato-streamdeck-cookie-clicker") + $SD.api.openUrl($SD.actionInfo.context, "https://github.com/f00d4tehg0dz/Doge-Coin-Plugin-for-Eglato-Streamdeck") } }); diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/css/styles.css b/com.f00d4tehg0dz.cookieclicker.sdPlugin/css/styles.css new file mode 100644 index 0000000..6b32432 --- /dev/null +++ b/com.f00d4tehg0dz.cookieclicker.sdPlugin/css/styles.css @@ -0,0 +1,46 @@ +/* body { + padding-top: 5px; + font-family: Arial; + background-color: bisque; + margin: auto; + text-align: center; +} + +p { + font-size: 10px; + color: black; + display: block; + margin: 5px; + text-align: left; +} + +h2 { + font-size: 15px; + color: black; + display: block; + margin: 5px; +} + +#cookieNumbers { + margin: auto; + text-align:center; + padding-top: 10px; + margin-bottom: 5px; + font-size: 10px; + border:2px solid; + border-radius:5px; + background-color:white; + height:15px; +} + +#cookieTitle { + margin: auto; + text-align:center; + padding-top: 10px; + margin-bottom: 5px; + font-size: 10px; + border:2px solid; + border-radius:5px; + background-color:lightpink; + height:20px; +} */ \ No newline at end of file diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon-animate.gif b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon-animate.gif new file mode 100644 index 0000000..c6ed3f3 Binary files /dev/null and b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon-animate.gif differ diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.gif b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.gif index 3ea23db..2bb64e7 100644 Binary files a/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.gif and b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.gif differ diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.psd b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.psd index 89a2a5a..a1131a5 100644 Binary files a/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.psd and b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icon.psd differ diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/icons/category-icon.png b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icons/category-icon.png new file mode 100644 index 0000000..6c4d55a Binary files /dev/null and b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icons/category-icon.png differ diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/icons/category-icon@2x.png b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icons/category-icon@2x.png new file mode 100644 index 0000000..27ca73f Binary files /dev/null and b/com.f00d4tehg0dz.cookieclicker.sdPlugin/icons/category-icon@2x.png differ diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/index.html b/com.f00d4tehg0dz.cookieclicker.sdPlugin/index.html index 46f6614..f4327ea 100644 --- a/com.f00d4tehg0dz.cookieclicker.sdPlugin/index.html +++ b/com.f00d4tehg0dz.cookieclicker.sdPlugin/index.html @@ -4,6 +4,7 @@ com.f00d4tehg0dz.cookieclicker + diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/js/app.js b/com.f00d4tehg0dz.cookieclicker.sdPlugin/js/app.js index 75df9c5..b448569 100644 --- a/com.f00d4tehg0dz.cookieclicker.sdPlugin/js/app.js +++ b/com.f00d4tehg0dz.cookieclicker.sdPlugin/js/app.js @@ -56,6 +56,8 @@ if ($SD) { ctx.textAlign = 'left'; ctx.fillStyle = "#deff00"; return resultString + // ctx.fill(); + // ctx.fillText(resultString , (canvas.width/2) - (textWidth / 2), 80); } function titleBoard(result) { @@ -64,6 +66,9 @@ if ($SD) { ctx.textAlign = 'left'; ctx.fillStyle = "#deff00"; return resultString + + // ctx.fill(); + // ctx.fillText(resultString , (canvas.width/2) - (textWidth / 2), 120); } function resultCallback(result, context) { @@ -133,15 +138,6 @@ if ($SD) { }))); } - // 5x - if (num >= 250) { - num += 5; - updateTitleFn(JSON.parse(JSON.stringify({ - "number": num, - "title": "Mine", - }))); - } - // 10x if (num >= 500) { num += 10; @@ -151,15 +147,6 @@ if ($SD) { }))); } - // 20x - if (num >= 750) { - num += 20; - updateTitleFn(JSON.parse(JSON.stringify({ - "number": num, - "title": "Bank", - }))); - } - // 30x if (num >= 1000) { num += 30; @@ -169,39 +156,12 @@ if ($SD) { }))); } - // 40x - if (num >= 1400) { - num += 40; - updateTitleFn(JSON.parse(JSON.stringify({ - "number": num, - "title": "Plant", - }))); - } - - // 50x - if (num >= 2500) { - num += 50; - updateTitleFn(JSON.parse(JSON.stringify({ - "number": num, - "title": "Shipment", - }))); - } - - // 100x - if (num >= 10000) { - num += 100; - updateTitleFn(JSON.parse(JSON.stringify({ - "number": num, - "title": "Fractal", - }))); - } - // 1000x if (num >= 100000) { num += 1000; updateTitleFn(JSON.parse(JSON.stringify({ "number": num, - "title": "Portal", + "title": "S. Plant", }))); } diff --git a/com.f00d4tehg0dz.cookieclicker.sdPlugin/manifest.json b/com.f00d4tehg0dz.cookieclicker.sdPlugin/manifest.json index a15d769..b6b84c8 100644 --- a/com.f00d4tehg0dz.cookieclicker.sdPlugin/manifest.json +++ b/com.f00d4tehg0dz.cookieclicker.sdPlugin/manifest.json @@ -15,11 +15,13 @@ ], "SDKVersion": 2, "Author": "Adrian Chrysanthou", + "Category": "Cookie Clicker [f00d4tehg0dz]", + "CategoryIcon": "icons/category-icon", "CodePath": "index.html", - "Description": "A CookieClicker Status plugin developed by Adrian Chrysanthou. You can find more information about this plugin at https://github.com/f00d4tehg0dz/elgato-streamdeck-cookie-clicker. Please report any issues you see on the project's Github page. I welcome any feedback.", + "Description": "A CookieClicker Status plugin developed by Adrian Chrysanthou. You can find more information about this plugin at https://github.com/f00d4tehg0dz/Doge-Coin-Plugin-for-Eglato-Streamdeck. Please report any issues you see on the project's Github page. I welcome any feedback.", "Name": "CookieClicker Status", "Icon": "icon", - "URL": "https://github.com/f00d4tehg0dz/elgato-streamdeck-cookie-clicker", + "URL": "https://github.com/f00d4tehg0dz/Cookie-Clicker-Plugin-for-Eglato-Streamdeck", "PropertyInspectorPath": "cookieclicker.html", "Version": "2.3", "OS": [