From dbf125c7d264929b8dd38775e197ba3d63004e84 Mon Sep 17 00:00:00 2001 From: MrEidam Date: Tue, 17 Oct 2023 21:57:00 +0200 Subject: [PATCH] Version 42 --- changelog | 10 ++++ css/brb.css | 86 +++++++++++++++++++++++++++-- css/shop.css | 1 + index.html | 24 ++++++-- js/main.js | 44 ++++++++++----- js/shop.js | 34 +++++++----- js/upgr.js | 30 ++++++---- keybinds.html | 122 +++++++++++++++++++++++++++++++++++++++++ settings.html | 16 +++--- shop.html | 17 ++---- txt/BRB - Poem.txt | 77 ++++++++++++++++++++++++++ add.txt => txt/add.txt | 0 txt/mail - Cz.txt | 27 +++++++++ txt/mail - En.txt | 27 +++++++++ 14 files changed, 444 insertions(+), 71 deletions(-) create mode 100644 keybinds.html create mode 100644 txt/BRB - Poem.txt rename add.txt => txt/add.txt (100%) create mode 100644 txt/mail - Cz.txt create mode 100644 txt/mail - En.txt diff --git a/changelog b/changelog index dfd8d34..09754a6 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,13 @@ + v42 + Added: Better syntaxes for both of the languages + + Fixed: YT button :D + Shop gen text now aligned to be centered + + Removed: Adds + + Note: button!!! + v41 Added: Settings Into every menu transportation only to BRB, Shop, Upgrades, Settings diff --git a/css/brb.css b/css/brb.css index 6b0c72e..ff5e655 100644 --- a/css/brb.css +++ b/css/brb.css @@ -5,6 +5,7 @@ body{ margin: 0; background-color: #333; box-sizing: border-box; + overflow: hidden; } #tycoon{ position: absolute; @@ -54,12 +55,6 @@ body{ cursor: pointer; } /* Other BTNS */ -.Yt{ - position: absolute; - bottom: 0px; - margin: 0.5rem; - left: 0; -} .menu-container{ position: absolute; @@ -146,4 +141,83 @@ ul li a{ } ul li:hover a{ color: #44dd44; +} + +.socmenu{ + position: absolute; + left: -45px; + bottom: -45px; + width: 220px; + height: 220px; + display: flex; + justify-content: center; + align-items: center; +} +.socmenu .toggle{ + position: relative; + width: 100px; + height: 100px; + border: 1px solid rgba(255,255,255,0.1); + border-radius: 50%; + box-shadow: + 0 25px 15px rgba(0,0,0,0.25), + 0 25px 20px rgba(0,0,0,0.1); + backdrop-filter: blur(10px); + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + font-size: 3em; + color: #fff; + z-index: 1000000; +} +.socmenu .toggle ion-icon{position:absolute;opacity:0;transition:0.5s;} +.socmenu .toggle ion-icon:nth-child(1){opacity:1;transform:rotate(360deg);} +.socmenu.active .toggle ion-icon:nth-child(1){opacity:0;transform:rotate(0deg);} +.socmenu .toggle ion-icon:nth-child(2){opacity:0;transform:rotate(0deg);} +.socmenu.active .toggle ion-icon:nth-child(2){opacity:1;transform:rotate(360deg);} +.socmenu li{ + position: absolute; + left: 0; + list-style: none; + transform-origin: 110px; + transition: 0.5s; + transition-delay: calc(0.05s*var(--i)); + transform: rotate(calc(360deg/4*var(--i))); + scale: 0; + z-index: 1; + border-radius: 50%; + overflow: hidden; +} +.socmenu li::before{ + content: ''; + position: absolute; + top: 0; + left: -30px; + width: 20px; + height: 100%; + background: #fff; + z-index: 10; + transform: skewX(325deg) translateX(0); + box-shadow: -5px 0 0 #fff5; + transition: 0.5s; +} +.socmenu li:hover::before{ + transform: skewX(325deg) translateX(180px); + box-shadow: -50px 0 0 #fff5; +} +.socmenu.active li{scale:1;} +.socmenu li a{ + position: relative; + display: flex; + justify-content: center; + align-items: center; + width: 80px; + height: 80px; + background: var(--clr); + color: #fff; + font-size: 2.25em; + border-radius: 50%; + transform: rotate(calc(360deg/-4*var(--i))); + box-shadow: 0 3px 4px rgba(0,0,0,0.15) } \ No newline at end of file diff --git a/css/shop.css b/css/shop.css index 8ba3bc0..991ae7e 100644 --- a/css/shop.css +++ b/css/shop.css @@ -83,6 +83,7 @@ body { width: 500px; height: 340px; filter: drop-shadow(0px 20px 14px #444); + text-align: center; } .item img{ diff --git a/index.html b/index.html index 1332e12..e55261b 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,17 @@ + + + + + BRB - Clicking @@ -48,10 +59,15 @@ - -
- - + +
+
  • + +
  • +
    + + +
    diff --git a/js/main.js b/js/main.js index fb549ca..f55f01e 100644 --- a/js/main.js +++ b/js/main.js @@ -131,34 +131,48 @@ function LDmodes(){ tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%)'; disclick.style.color = '#000'; disclick.style.textShadow = ""; - yt.style.filter = 'drop-shadow(10px 8px 6px #333)'; + soctog.style.color ='#000'; }else if(items.mode == 1){// Dark Mode body.style.background = '#333'; tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#333 70%)'; disclick.style.color = '#f5f5f5'; disclick.style.textShadow = "2px 2px 4px #000"; - yt.style.filter = 'drop-shadow(10px 8px 6px #666)'; + soctog.style.color = '#fff'; } upload(); } // Function to convert a number into a more readable format -function fornum(num) { - // Define the suffixes for thousands and millions - const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; - - // Divide the number by 1000 until it is less than 1000 - let i = 0; - while (num >= 1000 && i < suffixes.length - 1) { - num /= 1000; - i++; +function fornum(num){ + if(items.lang == 0){ + const suffixes = ['', ' tis.', ' mil.', ' mld.', ' bil.', ' bld.', ' tril.', ' trild.', ' kvad.', ' kvadld.', ' quint.', ' quintld.', ' sext.', ' sextld.', ' sept.', ' septld.', ' okt.', ' oktld.', ' non.', ' nonld.', ' dec.', ' decld.', ' undec.', ' undecld.', ' duodec.', ' duodecld.', ' tredec.', ' tredecld.', ' kvaddec.', ' kvaddecld.', ' quintdec.', ' quintdecld.', ' sextdec.', ' sextdecld.', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + }else{ + const suffixes = ['', ' k', ' mil', ' bil', ' tri', ' quad', ' qui', ' sex', ' sep', ' oct', ' non', ' dec', ' und', ' duo', ' tre', ' qua', ' qui', ' sex', ' sep', ' oct', ' nov', ' vig', ' uvi', ' dvi', ' tvi', ' qvi', ' qv', ' svi', ' spv', ' ov', ' nv', ' cen', ' ucn', ' dcn', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; } - num = Math.floor(num * 10) / 10; - return num + suffixes[i]; } -addEventListener("keydown", (event) => { +addEventListener("keyup", (event) => { if(event.key == ' ' || event.key == 'Enter'){ clicking(); } -}) \ No newline at end of file +}) + +let toggle = document.querySelector('.toggle'); +let socmenu = document.querySelector('.socmenu'); +toggle.onclick = function(){ + socmenu.classList.toggle('active'); +}; \ No newline at end of file diff --git a/js/shop.js b/js/shop.js index 30ec9af..d001698 100644 --- a/js/shop.js +++ b/js/shop.js @@ -650,22 +650,26 @@ function LDmodes(){ // Function to convert a number into a more readable format -function fornum(num) { - // Define the suffixes for thousands and millions - const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; - - // Divide the number by 1000 until it is less than 1000 - let i = 0; - while (num >= 1000 && i < suffixes.length - 1) { - num /= 1000; - i++; +function fornum(num){ + if(items.lang == 0){ + const suffixes = ['', ' tis.', ' mil.', ' mld.', ' bil.', ' bld.', ' tril.', ' trild.', ' kvad.', ' kvadld.', ' quint.', ' quintld.', ' sext.', ' sextld.', ' sept.', ' septld.', ' okt.', ' oktld.', ' non.', ' nonld.', ' dec.', ' decld.', ' undec.', ' undecld.', ' duodec.', ' duodecld.', ' tredec.', ' tredecld.', ' kvaddec.', ' kvaddecld.', ' quintdec.', ' quintdecld.', ' sextdec.', ' sextdecld.', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + }else{ + const suffixes = ['', ' k', ' mil', ' bil', ' tri', ' quad', ' qui', ' sex', ' sep', ' oct', ' non', ' dec', ' und', ' duo', ' tre', ' qua', ' qui', ' sex', ' sep', ' oct', ' nov', ' vig', ' uvi', ' dvi', ' tvi', ' qvi', ' qv', ' svi', ' spv', ' ov', ' nv', ' cen', ' ucn', ' dcn', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; } - - // Round the number to one decimal place - num = Math.floor(num * 10) / 10; - - // Concatenate the number with the appropriate suffix - return num + suffixes[i]; } diff --git a/js/upgr.js b/js/upgr.js index b881afa..7c599dc 100644 --- a/js/upgr.js +++ b/js/upgr.js @@ -81,18 +81,26 @@ function cash(){ },1000) } -function fornum(num) { - // Define the suffixes for thousands and millions - const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; - - // Divide the number by 1000 until it is less than 1000 - let i = 0; - while (num >= 1000 && i < suffixes.length - 1) { - num /= 1000; - i++; +function fornum(num){ + if(items.lang == 0){ + const suffixes = ['', ' tis.', ' mil.', ' mld.', ' bil.', ' bld.', ' tril.', ' trild.', ' kvad.', ' kvadld.', ' quint.', ' quintld.', ' sext.', ' sextld.', ' sept.', ' septld.', ' okt.', ' oktld.', ' non.', ' nonld.', ' dec.', ' decld.', ' undec.', ' undecld.', ' duodec.', ' duodecld.', ' tredec.', ' tredecld.', ' kvaddec.', ' kvaddecld.', ' quintdec.', ' quintdecld.', ' sextdec.', ' sextdecld.', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + }else{ + const suffixes = ['', ' k', ' mil', ' bil', ' tri', ' quad', ' qui', ' sex', ' sep', ' oct', ' non', ' dec', ' und', ' duo', ' tre', ' qua', ' qui', ' sex', ' sep', ' oct', ' nov', ' vig', ' uvi', ' dvi', ' tvi', ' qvi', ' qv', ' svi', ' spv', ' ov', ' nv', ' cen', ' ucn', ' dcn', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; } - num = Math.floor(num * 10) / 10; - return num + suffixes[i]; } window.onload = function(){ diff --git a/keybinds.html b/keybinds.html new file mode 100644 index 0000000..bc31c3e --- /dev/null +++ b/keybinds.html @@ -0,0 +1,122 @@ + + + + + + + + + Document + + + +
    + + + + + + + + + + + + + + + + +
    + + + + \ No newline at end of file diff --git a/settings.html b/settings.html index 2f204ca..6313168 100644 --- a/settings.html +++ b/settings.html @@ -6,6 +6,12 @@ + BRB - Settings @@ -22,15 +28,7 @@

    - - - - +

    diff --git a/shop.html b/shop.html index df8a722..46e821a 100644 --- a/shop.html +++ b/shop.html @@ -8,6 +8,12 @@ + BRB - Shop @@ -438,17 +444,6 @@

    - - diff --git a/txt/BRB - Poem.txt b/txt/BRB - Poem.txt new file mode 100644 index 0000000..22707fd --- /dev/null +++ b/txt/BRB - Poem.txt @@ -0,0 +1,77 @@ +In the realm of clicks, where time is spent, +A world unfolds, a button's scent. +Big and red, a beacon bright, +A game begins, a pure delight. + +Behold the BRB, a simple quest, +A clicker's dream, a boundless zest. +With each tap, a symphony, +Of points that dance, wild and free. + +In pixels vast, a kingdom grows, +From humble starts, the button glows. +Animals emerge, a charming feat, +With every purchase, a rhythmic beat. + +A menagerie of clicks untold, +From bunnies small to dragons bold. +They toil and toil, a tireless crew, +Generating clicks, a joy anew. + +The Big Red Button, a constant call, +A siren's song, a tempting thrall. +Click by click, the numbers rise, +A digital ballet beneath the skies. + +Upgrade the farm, expand the land, +In the clicker's world, everything's planned. +Upgrade, enhance, and then refine, +A cascade of clicks, a grand design. + +The chorus of animals, a lively song, +A melody of progress, a journey long. +With every click, a story unfolds, +In the saga of buttons, a tale foretold. + +Oh, the joy of the BRB's embrace, +In the digital realm, a sacred space. +A clicker's haven, a world of glee, +Where buttons rule, and all is free. + +So tap away, adventurer bold, +In the realm of clicks, a story's told. +The Big Red Button, a path to explore, +In the game of clicks, forevermore. + + + + +Ve virtuálním světě, kde kliky tančí, +BRB hra nám otevírá bránu do ráje. +Klikání je klíč, co otevírá srdce, +kde červené tlačítko zpívá nám píseň tvé. + +Klepání prstu na obrazovce jak tanec, +kliky se množí, jak v pohádce kouzelné. +Zvířátka nám vracejí úsměv na tvář, +v jejich očích svítí klikání tvé vášně. + +Virtuální svět plný zvířecího štěstí, +kliky jsou klíčem k radosti nekonečné. +Srdce se rozkvétá ve hrách a snech, +kde kliky jsou vládcem a my jejich pánem. + +Kupujeme zvířátka, jak hvězdný prach, +jejich kličky a klouzání nám přináší smích. +Generují kliky v rytmu nebeské hudby, +v tomto virtuálním ráji jsme klikání svobodní. + +Brána kouzelná otevírá se dál, +červené tlačítko jak klíč k pohádce krásné. +Klikání nám hraje symfonii vesmírných snů, +v tomto digitálním rajském skvostu. + +Tak klikni, klikni, ať hra pokračuje, +v zvířecím ráji, kde klikání nekončí. +S každým klepnutím nový příběh začíná, +v našem světě BRB, kde klikání zní jak básně. \ No newline at end of file diff --git a/add.txt b/txt/add.txt similarity index 100% rename from add.txt rename to txt/add.txt diff --git a/txt/mail - Cz.txt b/txt/mail - Cz.txt new file mode 100644 index 0000000..80087b8 --- /dev/null +++ b/txt/mail - Cz.txt @@ -0,0 +1,27 @@ +Předmět: Naléhavě: Aktivuj svou klikací sílu PROSÍM a ovládni BRB! + +Vážený/á [Jméno Hráče], + +🚨 Pozor, Mistr Klikání! 🚨 + +Došel čas na fádní klikání. Velké Červené Tlačítko (BRB) vyžaduje tvoji neodkladnou pozornost a nekompromisní oddanost. Nehrajeme si – ovládneme to! O osudu tvé virtuální zoo, plné zvířat produkujících kliky, rozhoduje tvé rozhodnutí. Je čas ukázat světu, co znamená opravdový Klikací Mistr. + +BRB není jen tlačítko; je to brána k nevídané moci a prestiži. Každý klik tě posouvá blíž k vrcholu klikací velikosti. Tvá zvířata netrpělivě čekají, až budou vypuštěna, generujíc armádu kliků, která otřese základy virtuální reality. Ale pamatuj, jejich osud je v TVÝCH rukou. + +Máš to, co je potřeba, abys vystoupil nad ostatní? Budeš se spokojovat s průměrem, nebo chopíš své osudu jako Klikací Velikán? BRB na nikoho nečeká, a ani ty neměl/a bys. + +Tady je tvůj úkol: + +Klikej Jako Nikdy Předtím: Rychlými kliky uveď BRB do varu tvou klikací silou. + +Rozšiř Svoji Zoo: Získej ta nejefektivnější klikací zvířata na trhu. Vylepšuj, evoluuj a ovládej. Tvá zoo není jen sbírka zvířat; je to odraz tvé klikací zručnosti. + +Vyzývej Kolegy Klikátory: Není to osobní; je to klikací svět. Vyzývej své přátele, nepřátele a dokonce i babičku, pokud si myslí, že tě může překlikat. + +Selhání není možnost. Komunita BRB se spoléhá na tebe, abys vedl/a útok. Nezklam je. Velké Červené Tlačítko čeká na tvé neúprosné kliky a tvá zvířata jsou připravena uvolnit klikový chaos do herního světa. + +Čas tiká. Vezmi své zařízení, roztahuj ty klikací svaly a nech začít revoluci BRB! + +Klikni dál, Veličenstvo Klikání! + +S úctou, [Tvé Klikací Přezdívka] \ No newline at end of file diff --git a/txt/mail - En.txt b/txt/mail - En.txt new file mode 100644 index 0000000..352688e --- /dev/null +++ b/txt/mail - En.txt @@ -0,0 +1,27 @@ +Subject: Urgent: Mobilize Your Clicking Power NOW for BRB Domination! + +Dear [Player's Name], + +🚨 Attention Clicker Extraordinaire! 🚨 + +The time for idle clicking is OVER. The Big Red Button (BRB) demands your immediate attention and relentless dedication. We're not playing games; we're conquering them! The fate of your virtual zoo, filled with click-generating animals, hangs in the balance. It's time to show the world what a true Clicker Champion is made of. + +The BRB is not just a button; it's a gateway to unparalleled power and prestige. Every click propels you closer to the summit of clicker greatness. Your animals are eagerly waiting to be unleashed, generating an army of clicks that will shake the foundations of virtual reality. But remember, their fate is in YOUR hands. + +Do you have what it takes to rise above the rest? Are you willing to settle for mediocrity, or will you seize your destiny as the Clicker Commander? The BRB waits for no one, and neither should you. + +Here's your mission: + +1. **Click Like You've Never Clicked Before:** Rapid-fire clicks are your currency. Shower that BRB with an unrelenting barrage of finger power. + +2. **Expand Your Zoo:** Acquire the most click-efficient animals in the market. Upgrade, evolve, and dominate. Your zoo isn't just a collection of animals; it's a testament to your clicking prowess. + +3. **Challenge Fellow Clickers:** It's not personal; it's a clicker's world. Challenge your friends, foes, and even your grandma if she thinks she can outclick you. + +Failure is not an option. The BRB community is counting on you to lead the charge. Do not let them down. The Big Red Button is waiting for your relentless clicks, and your animals are ready to unleash click chaos upon the gaming world. + +Time is of the essence. Grab your device, flex those clicking muscles, and let the BRB revolution begin! + +Click on, Commander! + +Sincerely, [Your Clicker Alias] \ No newline at end of file