From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/resources/skins/Big Bento/about/about.m | 132 ++++ Src/resources/skins/Big Bento/about/about.maki | Bin 0 -> 16029 bytes Src/resources/skins/Big Bento/about/about.xml | 81 ++ Src/resources/skins/Big Bento/about/about_fg.jpg | Bin 0 -> 47483 bytes .../skins/Big Bento/about/nibbles/fixedsys.png | Bin 0 -> 696 bytes .../skins/Big Bento/about/nibbles/info.png | Bin 0 -> 177 bytes .../skins/Big Bento/about/nibbles/info2.png | Bin 0 -> 197 bytes .../skins/Big Bento/about/nibbles/level1.png | Bin 0 -> 228 bytes .../skins/Big Bento/about/nibbles/level10.png | Bin 0 -> 284 bytes .../skins/Big Bento/about/nibbles/level2.png | Bin 0 -> 236 bytes .../skins/Big Bento/about/nibbles/level3.png | Bin 0 -> 253 bytes .../skins/Big Bento/about/nibbles/level4.png | Bin 0 -> 276 bytes .../skins/Big Bento/about/nibbles/level5.png | Bin 0 -> 392 bytes .../skins/Big Bento/about/nibbles/level6.png | Bin 0 -> 260 bytes .../skins/Big Bento/about/nibbles/level7.png | Bin 0 -> 268 bytes .../skins/Big Bento/about/nibbles/level8.png | Bin 0 -> 274 bytes .../skins/Big Bento/about/nibbles/level9.png | Bin 0 -> 408 bytes .../skins/Big Bento/about/nibbles/llama.png | Bin 0 -> 211 bytes .../skins/Big Bento/about/nibbles/nibbles.m | 828 +++++++++++++++++++++ .../skins/Big Bento/about/nibbles/nibbles.xml | 52 ++ .../skins/Big Bento/about/nibbles/sammy.png | Bin 0 -> 83 bytes 21 files changed, 1093 insertions(+) create mode 100644 Src/resources/skins/Big Bento/about/about.m create mode 100644 Src/resources/skins/Big Bento/about/about.maki create mode 100644 Src/resources/skins/Big Bento/about/about.xml create mode 100644 Src/resources/skins/Big Bento/about/about_fg.jpg create mode 100644 Src/resources/skins/Big Bento/about/nibbles/fixedsys.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/info.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/info2.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level1.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level10.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level2.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level3.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level4.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level5.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level6.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level7.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level8.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/level9.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/llama.png create mode 100644 Src/resources/skins/Big Bento/about/nibbles/nibbles.m create mode 100644 Src/resources/skins/Big Bento/about/nibbles/nibbles.xml create mode 100644 Src/resources/skins/Big Bento/about/nibbles/sammy.png (limited to 'Src/resources/skins/Big Bento/about') diff --git a/Src/resources/skins/Big Bento/about/about.m b/Src/resources/skins/Big Bento/about/about.m new file mode 100644 index 00000000..d75dc8aa --- /dev/null +++ b/Src/resources/skins/Big Bento/about/about.m @@ -0,0 +1,132 @@ +/*--------------------------------------------------- +----------------------------------------------------- +Filename: about.m +Version: 1.0 + +Type: maki +Date: 03. Jul. 2006 - 22:40 +Author: Martin Poehlmann aka Deimos +E-Mail: martin@skinconsortium.com +Internet: www.skinconsortium.com + www.martin.deimos.de.vu +----------------------------------------------------- +---------------------------------------------------*/ + +#include + +#include nibbles/nibbles.m + +Global Layer tgnibbles; +Global Group sg; +Global Timer change; +Global int counter; +Global Group g1, g2, g3, g4, g5, g6, g7, g8; +Function blend (guiobject in, guiobject out); + +System.onScriptLoaded () +{ + sg = getScriptGroup(); + tgnibbles = sg.getObject("toggle"); + nibbles = sg.getObject("nibbles"); + + init_nibbles(); + + g1 = sg.getObject("about.text1"); + g2 = sg.getObject("about.text2"); + g3 = sg.getObject("about.text3"); + g4 = sg.getObject("about.text4"); + g5 = sg.getObject("about.text5"); + g6 = sg.getObject("about.text6"); + g7 = sg.getObject("about.text7"); + g8 = sg.getObject("about.text8"); + + change = new Timer; + change.setDelay(3300); +} + +system.onScriptUnloading () +{ + delete change; +} + + +tgnibbles.onLeftButtonDblClk (int x, int y) +{ + if (nibbles.isVisible()) nibbles.hide(); + else if (!nibbles.isVisible()) nibbles.show(); +} + +sg.onSetVisible (Boolean onoff) +{ + if (onoff) + { + change.start(); + g1.setXmlParam("x", "400"); + g1.canceltarget(); + g1.setAlpha(255); + g1.setTargetX(25); + g1.setTargetSpeed(1.3); + g1.gotoTarget(); + } + else + { + change.stop(); + } + +} + + +change.onTimer () +{ + counter++; + if (counter > 7) counter = 0; + if (counter == 0) + { + blend(g1, g8); + } + else if (counter == 1) + { + blend(g2, g1); + } + else if (counter == 2) + { + blend(g3, g2); + } + else if (counter == 3) + { + blend(g4, g3); + } + else if (counter == 4) + { + blend(g5, g4); + } + else if (counter == 5) + { + blend(g6, g5); + } + else if (counter == 6) + { + blend(g7, g6); + } + else if (counter == 7) + { + blend(g8, g7); + } +} + +blend (guiobject in, guiobject out) +{ + out.canceltarget(); + out.setTargetA(0); + out.setTargetX(-25); + out.setTargetSpeed(2); + out.gotoTarget(); + in.canceltarget(); + in.setXmlParam("x", "400"); + in.setAlpha(255); + in.setTargetX(25); + in.setTargetA(255); + in.setTargetSpeed(1.5); + in.gotoTarget(); +} + diff --git a/Src/resources/skins/Big Bento/about/about.maki b/Src/resources/skins/Big Bento/about/about.maki new file mode 100644 index 00000000..98c057e0 Binary files /dev/null and b/Src/resources/skins/Big Bento/about/about.maki differ diff --git a/Src/resources/skins/Big Bento/about/about.xml b/Src/resources/skins/Big Bento/about/about.xml new file mode 100644 index 00000000..7369c563 --- /dev/null +++ b/Src/resources/skins/Big Bento/about/about.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +