Verison 43

This commit is contained in:
2023-11-02 17:47:33 +01:00
parent dbf125c7d2
commit ae96d63ab2
20 changed files with 493 additions and 720 deletions

View File

@@ -1,3 +1,14 @@
v43
Added: Small changelog button
Squrrel + Badger
Better function for buying animals for clicks
Better jonathan in BRB
Fixed: Menu hitbox
lag while loading BRB
Removed: text shadow in light mode settings
v42
Added: Better syntaxes for both of the languages

View File

@@ -7,7 +7,7 @@ body{
box-sizing: border-box;
overflow: hidden;
}
#tycoon{
#jonathan{
position: absolute;
width: 100%;
height: 200px;
@@ -56,93 +56,29 @@ body{
}
/* Other BTNS */
.menu-container{
/* Šmol change */
.changelog{
position: absolute;
top: 50px;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Poppins';
width: 75px;
height: 75px;
bottom: 10px;
right: 10px;
filter: drop-shadow(0 0 10px #000);
background: #0098FF;
border-radius: 50%;
}
.button{
position: relative;
background: #1b1b1b;
.changelog svg{
border-radius: 50%;
height: 99%;
filter: drop-shadow(0 0 10px #000);
color: #fff;
font-size: 20px;
padding: 8px 20px;
width: 150px;/* 100% */
line-height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 25px;
cursor: pointer;
transition: width .4s;
transition: 0.5s;
}
.button.expand{
width: 100%;
}
.fas.expand:before{
content: '\f00d';
}
ul{
list-style: none;
position: absolute;
top: 65px;
display: block;
background: #1b1b1b;
width: 100%;
text-align: center;
border-radius: 5px;
display: none;
box-shadow: 0 3px 6px rgba(0,0,0,.3);
padding-inline-start: 0px;
}
ul:before{
position: absolute;
content: '';
width: 20px;
height: 20px;
background: #1b1b1b;
top: -10px;
right: 15px;
transform: rotate(45deg);
z-index: -1;
}
ul li{
line-height: 35px;
padding: 8px 20px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,.1);
}
ul li:hover:first-child{
border-radius: 5px 5px 0 0;
}
ul li:hover:last-child{
border-radius: 0 0 5px 5px;
}
ul li:hover{
box-shadow: inset 0 0 5px #33ff33,
inset 0 0 10px #66ff66;
}
ul li:last-child{
border-bottom: none;
}
ul li a{
display: block;
width: 100%;
height: 100%;
color: #fff;
font-size: 18px;
text-decoration: none;
}
ul li:hover a{
color: #44dd44;
.changelog:hover svg{
color: #d33;
}
/* Social */
.socmenu{
position: absolute;
left: -45px;
@@ -163,6 +99,7 @@ ul li:hover a{
0 25px 15px rgba(0,0,0,0.25),
0 25px 20px rgba(0,0,0,0.1);
backdrop-filter: blur(10px);
filter: drop-shadow(0 0 10px rgba(0,0,0,.75));
display: flex;
justify-content: center;
align-items: center;
@@ -171,11 +108,17 @@ ul li:hover a{
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 .toggle svg{
position: absolute;
filter: drop-shadow(0 0 10px rgba(0,0,0,.75));
opacity: 0;
transition: 0.5s;
}
.socmenu .toggle svg{transition: 0.5s;}
.socmenu .toggle svg:nth-child(1){opacity:1;transform:rotate(360deg);}
.socmenu.active .toggle svg:nth-child(1){opacity:0;transform:rotate(0deg);}
.socmenu .toggle svg:nth-child(2){opacity:0;transform:rotate(0deg);}
.socmenu.active .toggle svg:nth-child(2){opacity:1;transform:rotate(360deg);}
.socmenu li{
position: absolute;
left: 0;
@@ -221,3 +164,4 @@ ul li:hover a{
transform: rotate(calc(360deg/-4*var(--i)));
box-shadow: 0 3px 4px rgba(0,0,0,0.15)
}
.socmenu li a img{width:1em;}

98
css/menu.css Normal file
View File

@@ -0,0 +1,98 @@
.menu-container{
position: absolute;
top: 50px;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Poppins';
}
.button{
position: relative;
background: #1b1b1b;
color: #fff;
font-size: 20px;
padding: 8px 20px;
width: 150px;/* 100% */
line-height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 25px;
cursor: pointer;
transition: width .4s;
}
.button.expand{
width: 100%;
}
.fas{
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.menu-container .button span svg{
position: absolute;
margin-right: 15px;
transition: 200ms;
}
.menu-container .button span svg:nth-child(1){opacity:1;}
.menu-container .button.expand span svg:nth-child(1){opacity:0;}
.menu-container .button span svg:nth-child(2){opacity:0;}
.menu-container .button.expand span svg:nth-child(2){opacity:1;}
ul{
list-style: none;
position: absolute;
top: 65px;
display: block;
background: #1b1b1b;
width: 100%;
text-align: center;
border-radius: 5px;
display: none;
box-shadow: 0 3px 6px rgba(0,0,0,.3);
padding-inline-start: 0px;
}
ul:before{
position: absolute;
content: '';
width: 20px;
height: 20px;
background: #1b1b1b;
top: -10px;
right: 15px;
transform: rotate(45deg);
z-index: -1;
}
ul li{
line-height: 35px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,.1);
}
ul li:hover:first-child{
border-radius: 5px 5px 0 0;
}
ul li:hover:last-child{
border-radius: 0 0 5px 5px;
}
ul li:hover{
box-shadow: inset 0 0 5px #33ff33,
inset 0 0 10px #66ff66;
}
ul li:last-child{
border-bottom: none;
}
ul li a{
display: block;
width: 100%;
height: 100%;
color: #fff;
padding: 8px 0;
font-size: 18px;
text-decoration: none;
}
ul li:hover a{
color: #44dd44;
}

View File

@@ -43,105 +43,6 @@ button{
border: none;
filter: drop-shadow(10px 10px 14px #444);
}
/* Menu */
.menu-container{
position: fixed;
top: 50px;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Poppins';
z-index: 500;
}
.button{
position: relative;
background: #1b1b1b;
color: #fff;
font-size: 20px;
padding: 8px 20px;
width: 150px;/* 100% */
line-height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 25px;
cursor: pointer;
transition: width .4s;
/* By MrEidam */
}
.button.expand{
width: 100%;
}
.fas.expand:before{
content: '\f00d';
}
ul{
list-style: none;
position: absolute;
top: 65px;
display: block;
background: #1b1b1b;
width: 100%;
text-align: center;
border-radius: 5px;
display: none;
box-shadow: 0 3px 6px rgba(0,0,0,.3);
padding-inline-start: 0px;
}
ul:before{
position: absolute;
content: '';
width: 20px;
height: 20px;
background: #1b1b1b;
top: -10px;
right: 15px;
transform: rotate(45deg);
z-index: -1;
}
ul li{
line-height: 35px;
padding: 8px 20px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,.1);
}
ul li:hover:first-child{
border-radius: 5px 5px 0 0;
}
ul li:hover:last-child{
border-radius: 0 0 5px 5px;
}
ul li:hover{
box-shadow: inset 0 0 5px #33ff33,
inset 0 0 10px #66ff66;
}
ul li:last-child{
border-bottom: none;
}
ul li a{
display: block;
width: 100%;
height: 100%;
/* By MrEidam */
color: #fff;
font-size: 18px;
text-decoration: none;
}
ul li:hover a{
color: #44dd44;
}
::-webkit-scrollbar{
background: transparent;
width: 5px;

View File

@@ -149,99 +149,6 @@ button{
}
}
/* Menu */
.menu-container{
position: fixed;
top: 50px;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Poppins';
z-index: 500;
}
.button{
position: relative;
background: #1b1b1b;
color: #fff;
font-size: 20px;
padding: 8px 20px;
width: 150px;/* 100% */
line-height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 25px;
cursor: pointer;
transition: width .4s;
/* By MrEidam */
}
.button.expand{
width: 100%;
}
.fas.expand:before{
content: '\f00d';
}
ul{
list-style: none;
position: absolute;
top: 65px;
display: block;
background: #1b1b1b;
width: 100%;
text-align: center;
border-radius: 5px;
display: none;
box-shadow: 0 3px 6px rgba(0,0,0,.3);
padding-inline-start: 0px;
}
ul:before{
position: absolute;
content: '';
width: 20px;
height: 20px;
background: #1b1b1b;
top: -10px;
right: 15px;
transform: rotate(45deg);
z-index: -1;
}
ul li{
line-height: 35px;
padding: 8px 20px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,.1);
}
ul li:hover:first-child{
border-radius: 5px 5px 0 0;
}
ul li:hover:last-child{
border-radius: 0 0 5px 5px;
}
ul li:hover{
box-shadow: inset 0 0 5px #33ff33,
inset 0 0 10px #66ff66;
}
ul li:last-child{
border-bottom: none;
}
ul li a{
display: block;
width: 100%;
height: 100%;
/* By MrEidam */
color: #fff;
font-size: 18px;
text-decoration: none;
}
ul li:hover a{
color: #44dd44;
}
::-webkit-scrollbar{
background: transparent;
width: 5px;

View File

@@ -183,95 +183,6 @@ h2{
to{filter: hue-rotate(360deg);}
}
.menu-container{
position: fixed;
top: 50px;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Poppins';
z-index: 500;
}
.button{
position: relative;
background: #1b1b1b;
color: #fff;
font-size: 20px;
padding: 8px 20px;
width: 150px;/* 100% */
line-height: 30px;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 25px;
cursor: pointer;
transition: width .4s;
}
.button.expand{
width: 100%;
}
.fas.expand:before{
content: '\f00d';
}
ul{
list-style: none;
position: absolute;
top: 65px;
display: block;
background: #1b1b1b;
width: 100%;
text-align: center;
border-radius: 5px;
display: none;
box-shadow: 0 3px 6px rgba(0,0,0,.3);
padding-inline-start: 0px;
}
ul:before{
position: absolute;
content: '';
width: 20px;
height: 20px;
background: #1b1b1b;
top: -10px;
right: 15px;
transform: rotate(45deg);
z-index: -1;
}
ul li{
line-height: 35px;
padding: 8px 20px;
cursor: pointer;
border-bottom: 1px solid rgba(255,255,255,.1);
}
ul li:hover:first-child{
border-radius: 5px 5px 0 0;
}
ul li:hover:last-child{
border-radius: 0 0 5px 5px;
}
ul li:hover{
box-shadow: inset 0 0 5px #33ff33,
inset 0 0 10px #66ff66;
}
ul li:last-child{
border-bottom: none;
}
ul li a{
display: block;
width: 100%;
height: 100%;
color: #fff;
font-size: 18px;
text-decoration: none;
}
ul li:hover a{
color: #44dd44;
}
::-webkit-scrollbar{
background: transparent;
width: 10px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

71
img/badger.svg Normal file
View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.5, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Слой_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 507.9 279.8" style="enable-background:new 0 0 507.9 279.8;" xml:space="preserve">
<style type="text/css">
.st0{fill:#92877F;}
.st1{fill:#666059;}
.st2{fill:#D8D6CA;}
.st3{fill:#52483D;}
.st4{fill:#473E37;}
.st5{fill:#605A53;}
.st6{fill:#333331;}
.st7{fill:#7F7663;}
</style>
<g>
<path class="st0" d="M420.7,22.4c0,0,7.4,0.3,16.2,3L434,11.6C432.6,4.8,426.6,0,419.7,0c-6.8,0-12.7,4.7-14.2,11.3l-2.2,9.3
l0.4,1.9H420.7z"/>
<path class="st1" d="M403.3,20.6l-1.9-9C400,4.8,394,0,387.1,0c-6.8,0-12.7,4.7-14.2,11.3l-2.6,11.2h33.4L403.3,20.6z"/>
<path class="st2" d="M501.2,87.6l-34.1-6.4c-1.5-0.3-3-0.7-4.5-1.3l-28.8-10.7c-3.3-1.2-6.3-2.9-9.1-5l-54.4-41.7H162.1
c-36.7,0-72.4,13.7-98.9,39c-0.9,0.9-1.9,1.8-2.8,2.8c-15.5,18.5-25.7,40.5-32.2,62.1c2.1-3.5,4.4-7,6.8-10.2
c0.8-1.1,1.7-2.2,2.5-3.2c0.1-0.2,0.3-0.3,0.4-0.5c1.2-1.4,2.4-2.9,3.7-4.2c2.5-2.8,5.2-5.4,8.1-7.8c2.8-2.5,5.8-4.8,8.9-6.9
c3.1-2.2,6.3-4.2,9.6-6c14.9-8.2,32.1-12.9,50.3-12.9h194c19.3,0,37.5,5.2,53,14.4c3.9,2.3,7.6,4.8,11.2,7.6
c1.2,0.9,2.3,1.9,3.5,2.8c1.7,1.5,3.4,3,5.1,4.6c2.5,2.4,4.8,4.9,7,7.5c1.5,1.7,2.9,3.5,4.3,5.3c2.7,3.7,5.2,7.5,7.5,11.5h0
c5.5-3.9,14.1-7.2,27.7-9.9c0.9-0.2,1.8-0.4,2.7-0.6H480c3.2,0,6.1-1.7,7.6-4.5l19.3-35.7c0-0.1,0.1-0.2,0.1-0.3
c-0.1,0-0.2-0.1-0.3-0.1L501.2,87.6z"/>
<path class="st2" d="M403.7,22.4l27,10.9c10.9,4.4,20.7,11.2,28.8,19.8l8.7,9.3c1.6,1.7,3.7,3,6,3.6l26.7,7.3
c-1.3-1.7-2.1-3.8-2.1-6.1V65l-14.2-3.2c-9.3-2.1-17-8.3-21.3-16.8c0,0,0-0.1-0.1-0.1c-5.6-11-16.8-16.6-26.2-19.5
c-8.9-2.7-16.2-3-16.2-3H403.7z"/>
<path class="st3" d="M499.3,65.1l-0.5-0.1v2.4c0,2.3,0.8,4.4,2.1,6.1l-26.7-7.3c-2.3-0.6-4.4-1.9-6-3.6l-8.7-9.3
c-8-8.6-17.8-15.4-28.8-19.8l-27-10.9h-33.4l54.4,41.7c2.8,2.1,5.8,3.8,9.1,5l28.8,10.7c1.5,0.5,3,1,4.5,1.3l34.1,6.4l5.5-10.5
c0.1,0,0.2,0.1,0.3,0.1c0.3-0.6,0.5-1.2,0.6-1.7l0.1-0.1l0,0C508.8,70.3,505,65.1,499.3,65.1 M439.7,63.3c-4.2,0-7.6-3.4-7.6-7.6
c0-4.2,3.4-7.6,7.6-7.6c4.2,0,7.6,3.4,7.6,7.6C447.3,59.9,443.9,63.3,439.7,63.3"/>
<path class="st4" d="M4.9,156c-6.2,20.7-5.1,38.9-4.1,46.8c0.3,2.1,2.6,3.2,4.3,2.1c2.8-1.7,7-4.3,11.5-7.7
c0.7-17.8,3.4-43.9,11.5-70.8C20.4,130.7,9.9,139.4,4.9,156"/>
<path class="st4" d="M108.8,256c6.5,0,12.2,5,12.4,11.5c0.2,6.7-5.2,12.3-11.9,12.3H74.5h11.9h0h80.8c6.6,0,11.9-5.3,11.9-11.9
c0-6.6-5.3-11.9-11.9-11.9h-8.5l12-36h-57.9l-12,36H108.8z"/>
<path class="st4" d="M296.1,220l-14.4,44.2c-2.5,7.7,3.2,15.6,11.3,15.6h12.1h15h23.6c6.4,0,11.5-5.2,11.5-11.5
c0-6.4-5.2-11.5-11.5-11.5h-10.9l16.3-29.5l-5.6-7.3H296.1z"/>
<path class="st5" d="M396.4,116.7c-1.4-1.8-2.8-3.6-4.3-5.3c-2.2-2.6-4.6-5.1-7-7.5c-1.6-1.6-3.3-3.1-5.1-4.6
c-1.1-1-2.3-1.9-3.5-2.8c-3.5-2.8-7.3-5.3-11.2-7.6c-15.5-9.1-33.7-14.4-53-14.4h-194c-18.2,0-35.4,4.7-50.3,12.9
c-3.3,1.8-6.5,3.8-9.6,6c-3.1,2.2-6,4.5-8.9,6.9c-2.8,2.5-5.5,5.1-8.1,7.8c-1.3,1.4-2.5,2.8-3.7,4.2c-0.1,0.2-0.3,0.3-0.4,0.5
c-0.9,1.1-1.7,2.1-2.5,3.2c-2.5,3.3-4.8,6.7-6.8,10.2c0,0,0,0,0,0c-8.2,26.9-10.8,53-11.5,70.8c-0.6,14,0,22.8,0,22.8v49.3
c0,5.8,4.7,10.5,10.5,10.5h1.4h0h46h34.7c6.7,0,12.1-5.5,11.9-12.3c-0.2-6.5-5.9-11.5-12.4-11.5h-8l12-36h183.3h47.5l5.6,7.3
l37,47.9c2.3,2.9,5.8,4.7,9.5,4.7h8.2h38.6c6.4,0,11.5-5.2,11.5-11.5c0-6.4-5.2-11.5-11.5-11.5h-22.5l-24.5-42.3v-47.2
c0-17.8-4-30.1,8.3-39C401.7,124.2,399.2,120.4,396.4,116.7 M84.2,116.1c-0.1,0.3-14.2,32.2-12.8,72.3c0,1.4-1,2.5-2.4,2.6
c0,0-0.1,0-0.1,0c-1.3,0-2.4-1.1-2.5-2.4c-1.5-41.3,12.6-73.1,13.2-74.5c0.6-1.2,2-1.8,3.3-1.2C84.2,113.4,84.7,114.9,84.2,116.1
M136.4,116.1c-0.1,0.3-14.2,32.2-12.8,72.3c0,1.4-1,2.5-2.4,2.6c0,0-0.1,0-0.1,0c-1.3,0-2.4-1.1-2.5-2.4
c-1.5-41.3,12.6-73.1,13.2-74.5c0.6-1.2,2-1.8,3.3-1.2C136.4,113.4,137,114.9,136.4,116.1 M188.7,116.1
c-0.1,0.3-14.2,32.2-12.8,72.3c0,1.4-1,2.5-2.4,2.6c0,0-0.1,0-0.1,0c-1.3,0-2.4-1.1-2.5-2.4c-1.5-41.3,12.6-73.1,13.2-74.5
c0.6-1.2,2-1.8,3.3-1.2C188.7,113.4,189.3,114.9,188.7,116.1 M241,116.1c-0.1,0.3-14.2,32.2-12.8,72.3c0,1.4-1,2.5-2.4,2.6
c0,0-0.1,0-0.1,0c-1.3,0-2.4-1.1-2.5-2.4c-1.5-41.3,12.6-73.1,13.2-74.5c0.6-1.2,2-1.8,3.3-1.2C241,113.4,241.6,114.9,241,116.1
M293.3,116.1c-0.1,0.3-14.2,32.2-12.8,72.3c0,1.4-1,2.5-2.4,2.6c0,0-0.1,0-0.1,0c-1.3,0-2.4-1.1-2.5-2.4
c-1.5-41.3,12.6-73.1,13.2-74.5c0.6-1.2,2-1.8,3.3-1.2C293.3,113.4,293.9,114.9,293.3,116.1 M345.6,116.1
c-0.1,0.3-14.2,32.2-12.8,72.3c0,1.4-1,2.5-2.4,2.6c0,0-0.1,0-0.1,0c-1.3,0-2.4-1.1-2.5-2.4c-1.4-41.3,12.6-73.1,13.2-74.5
c0.6-1.2,2-1.8,3.3-1.2C345.6,113.4,346.1,114.9,345.6,116.1"/>
<path class="st6" d="M439.7,48.1c-4.2,0-7.6,3.4-7.6,7.6c0,4.2,3.4,7.6,7.6,7.6c4.2,0,7.6-3.4,7.6-7.6
C447.3,51.5,443.9,48.1,439.7,48.1"/>
<path class="st7" d="M82.9,112.8c-1.3-0.6-2.7,0-3.3,1.2c-0.6,1.3-14.7,33.2-13.2,74.5c0,1.3,1.1,2.4,2.5,2.4c0,0,0.1,0,0.1,0
c1.4,0,2.4-1.2,2.4-2.6c-1.4-40.1,12.7-71.9,12.8-72.3C84.7,114.9,84.2,113.4,82.9,112.8"/>
<path class="st7" d="M135.2,112.8c-1.3-0.6-2.7,0-3.3,1.2c-0.6,1.3-14.7,33.2-13.2,74.5c0,1.3,1.1,2.4,2.5,2.4c0,0,0.1,0,0.1,0
c1.4,0,2.4-1.2,2.4-2.6c-1.4-40.1,12.7-71.9,12.8-72.3C137,114.9,136.4,113.4,135.2,112.8"/>
<path class="st7" d="M187.5,112.8c-1.2-0.6-2.7,0-3.3,1.2c-0.6,1.3-14.7,33.2-13.2,74.5c0,1.3,1.1,2.4,2.5,2.4c0,0,0.1,0,0.1,0
c1.4,0,2.4-1.2,2.4-2.6c-1.4-40.1,12.7-71.9,12.8-72.3C189.3,114.9,188.7,113.4,187.5,112.8"/>
<path class="st7" d="M239.8,112.8c-1.3-0.6-2.7,0-3.3,1.2c-0.6,1.3-14.7,33.2-13.2,74.5c0,1.3,1.1,2.4,2.5,2.4c0,0,0.1,0,0.1,0
c1.4,0,2.4-1.2,2.4-2.6c-1.4-40.1,12.7-71.9,12.8-72.3C241.6,114.9,241,113.4,239.8,112.8"/>
<path class="st7" d="M292.1,112.8c-1.3-0.6-2.7,0-3.3,1.2c-0.6,1.3-14.7,33.2-13.2,74.5c0,1.3,1.1,2.4,2.5,2.4c0,0,0.1,0,0.1,0
c1.4,0,2.4-1.2,2.4-2.6c-1.4-40.1,12.7-71.9,12.8-72.3C293.9,114.9,293.3,113.4,292.1,112.8"/>
<path class="st7" d="M344.3,112.8c-1.3-0.6-2.7,0-3.3,1.2c-0.6,1.3-14.7,33.2-13.2,74.5c0,1.3,1.1,2.4,2.5,2.4c0,0,0.1,0,0.1,0
c1.4,0,2.4-1.2,2.4-2.6c-1.4-40.1,12.7-71.9,12.8-72.3C346.1,114.9,345.6,113.4,344.3,112.8"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 11-26 26 26 26 0 0126-26zm48 226h-88a16 16 0 010-32h28v-88h-16a16 16 0 010-32h32a16 16 0 0116 16v104h28a16 16 0 010 32z"/></svg>

Before

Width:  |  Height:  |  Size: 317 B

1
img/squirell.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 4.9 KiB

1
img/twitter.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><style>svg{fill:#ffffff}</style><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

1
img/youtube.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 576 512"><style>svg{fill:#ffffff}</style><path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/></svg>

After

Width:  |  Height:  |  Size: 595 B

View File

@@ -1,40 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Webová Clicker hra s Červeným tlačítkem a zvířátky!">
<meta name="keywords" content="BRB, MrEidam, Eidam, Clicker, Button, Red, Big, Shop, Ajdam, MrAjdam, paneidam, merida">
<meta name="description" content="Clicker hra s červeným tlačítkem a zvířátky!">
<meta name="author" content="MrEidam">
<meta property="og:url" content="https://www.mreidam-brb.com">
<!-- Social -->
<meta property="og:title" content="BRB">
<meta property="og:description" content="Clicker hra s červeným tlačítkem a zvířátky!">
<meta property="og:url" content="https://www.mreidam-brb.com">
<meta property="og:site_name" content="BRB"/>
<meta property="og:type" content="website">
<meta property="og:description" content="Webová Clicker hra s Červeným tlačítkem a zvířátky!">
<meta property="og:image" content="https://raw.githubusercontent.com/MrEidam/bigredbutton/main/img/brb-still.png">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9310992147638822" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/21ea186610.js" crossorigin="anonymous"></script>
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="BRB"/>
<meta name="twitter:url" content="https://www.mreidam-brb.com"/>
<meta property="twitter:description" content="Webová Clicker hra s Červeným tlačítkem a zvířátky!">
<meta name="twitter:image:src" content="https://raw.githubusercontent.com/MrEidam/bigredbutton/main/img/brb-still.png"/>
<!-- Libraries -->
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CTW2M8Q7SB"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CTW2M8Q7SB');
</script>
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-CTW2M8Q7SB');</script>
<title>BRB - Clicking</title>
<!-- By MrEidam && Standa Chlup -->
<link rel="stylesheet" href="./css/menu.css">
<link rel="stylesheet" href="./css/brb.css">
<link rel="icon" href="./img/brb-still.png">
</head>
<body id="body">
<div id="tycoon"></div>
<div id="jonathan"></div>
<!-- Clicks -->
<div id="logclick">
@@ -47,9 +53,18 @@
<img src="./img/brb-pressed.png" id="pressed" draggable="false">
</div>
<div class="menu-container">
<!-- Šmol changelog -->
<div class="changelog" onclick="change()">
<svg height="1em" viewBox="0 0 512 512"><path d="M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 11-26 26 26 26 0 0126-26zm48 226h-88a16 16 0 010-32h28v-88h-16a16 16 0 010-32h32a16 16 0 0116 16v104h28a16 16 0 010 32z" fill="currentColor"/></svg>
</div>
<!-- Menu -->
<div class="menu-container" style="z-index: 500;">
<div class="button">Menu
<span class="fas fa-bars"></span>
<span class="fas">
<svg height="1em" viewBox="0 0 448 512"><style>svg{fill:#ffffff}</style><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>
<svg height="1em" viewBox="0 0 384 512"><style>svg{fill:#ffffff}</style><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>
</span>
</div>
<ul>
<li><a href="./" id="brb">BRB</a></li>
@@ -62,11 +77,14 @@
<!-- Soc. -->
<div class="socmenu">
<li style="--i:1;--clr:#f00;">
<a href="https://www.youtube.com/@mreidam" target="_blank"><ion-icon name="logo-youtube"></ion-icon></a>
<a href="https://www.youtube.com/@mreidam" target="_blank"><img src="./img/youtube.svg"></a>
</li>
<!-- <li style="--i:2;--clr:#00acee;">
<a href="https://twitter.com/EidamMr" target="_blank"><img src="./img/twitter.svg"></a>
</li> -->
<div class="toggle" id="soctog">
<ion-icon name="share-social"></ion-icon>
<ion-icon name="close-outline"></ion-icon>
<svg height="1em" viewBox="0 0 512 512"><path d="M384 336a63.78 63.78 0 00-46.12 19.7l-148-83.27a63.85 63.85 0 000-32.86l148-83.27a63.8 63.8 0 10-15.73-27.87l-148 83.27a64 64 0 100 88.6l148 83.27A64 64 0 10384 336z" fill="currentColor"/></svg>
<svg height="1em" viewBox="0 0 384 512"><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" fill="currentColor"/></svg>
</div>
</div>

View File

@@ -3,6 +3,28 @@ let items;
let cs = 0;
let anime = false;
const changeEN = ` v43
Added: Small changelog button (this)
Squrrel + Badger
Better function for buying animals for clicks
Better jonathan in BRB
Fixed: Menu hitbox
lag while loading BRB
Removed: text shadow in light mode settings`
const changeCZ = ` v43
Přidáno: Malé tlačítko s aktualizacemi (toto)
Veverka + Jezevec
Lepší funkci pro nakupování zvířátek za kliky
Lepší jonathan v BRB
Upraveno: Hitboxy Menu
Sekání během načítání BRB
Smazáno: stín textu behem světlého módu v nastavení`
function load(){
if (localStorage.getItem('items')!=null){
items = JSON.parse(localStorage.getItem('items'));
@@ -74,9 +96,6 @@ function update(){
if(items.lang == 0){
document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs*items.pres)} k/s!`
}
if((items.mode != 0)&&(items.mode != 1)){
items.mode = 0;
}
checklang();
}
@@ -128,16 +147,14 @@ function checklang(){
function LDmodes(){
if((items.mode||0) == 0){// Light Mode
body.style.background = '#fff';
tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%)';
jonathan.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%)';
disclick.style.color = '#000';
disclick.style.textShadow = "";
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%)';
jonathan.style.background = 'radial-gradient(125% 100% at 50% 0%,#5add5a 20%,#333 70%)';
disclick.style.color = '#f5f5f5';
disclick.style.textShadow = "2px 2px 4px #000";
soctog.style.color = '#fff';
}
upload();
}
@@ -165,12 +182,27 @@ function fornum(num){
}
}
// šmol change
function change(){
if(items.lang == 0){ // CZ
alert(changeCZ);
}else{
alert(changeEN);
}
}
// keybinds
addEventListener("keyup", (event) => {
if(event.key == ' ' || event.key == 'Enter'){
clicking();
}
})
// social
let toggle = document.querySelector('.toggle');
let socmenu = document.querySelector('.socmenu');
toggle.onclick = function(){

View File

@@ -74,12 +74,12 @@ function LDmodes(){
});
Btns.forEach((e) => {
e.style.background = '#8FBC8F';
e.style.color = '#ccc';
e.style.textShadow = "2px 2px 4px #000";
e.style.color = '#fff';
e.style.textShadow = "";
});
hhh.forEach((e) => {
e.style.color = '#000';
e.style.textShadow = "2px 2px 4px #000";
e.style.textShadow = "";
});
}else if(items.mode == 1){// Dark Mode
body.style.background = '#333';
@@ -89,7 +89,7 @@ function LDmodes(){
});
Btns.forEach((e) => {
e.style.background = '#008B8B';
e.style.color = '#ccc';
e.style.color = '#fff';
e.style.textShadow = "2px 2px 4px #000";
});
hhh.forEach((e) => {

View File

@@ -16,7 +16,7 @@ function c(x){
function load(){
items = JSON.parse(localStorage.getItem('items'));
LDmodes()
cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000;
cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000 + items.badger*32000 + items.squirrel*50000;
if(items.lang == 1){
document.documentElement.setAttribute('lang', 'en');
@@ -42,6 +42,8 @@ function load(){
dismee.innerHTML=`You've got ${fornum(items.meerkat)} meerkats!`
disrac.innerHTML=`You've got ${fornum(items.raccoon)} racoons!`
disowl.innerHTML=`You've got ${fornum(items.owl)} owls!`
disbad.innerHTML=`You've got ${fornum(items.badger)} badgers!`
dissqu.innerHTML=`You've got ${fornum(items.squirrel)} squirrels!`
@@ -68,6 +70,8 @@ function load(){
dismeemake.innerHTML=`They're generating ${fornum((items.meerkat*9800)*items.pres)} clicks per second!`
disramake.innerHTML=`They're generating ${fornum((items.raccoon*14500)*items.pres)} clicks per second!`
disowmake.innerHTML=`They're generating ${fornum((items.owl*16000)*items.pres)} clicks per second!`
disbamake.innerHTML=`They're generating ${fornum((items.badger*32000)*items.pres)} clicks per second!`
dissqmake.innerHTML=`They're generating ${fornum((items.squirrel*50000)*items.pres)} clicks per second!`
dg1.innerHTML = 'Buy a Dog for 100 clicks'
ct1.innerHTML = 'Buy a Cat for 10 dogs'
@@ -87,6 +91,8 @@ function load(){
me1.innerHTML = 'Buy a Meerkat for <br /> 1 otter and 3 whales'
ra1.innerHTML = 'Buy a Raccoon for <br /> 1 meerkat and 7 porcupines'
ow1.innerHTML = 'Buy a Owl for <br /> 1 racoon and 1 snake'
ba1.innerHTML = 'Buy a Badger for <br /> 1 owl and 2 pythons'
sq1.innerHTML = 'Buy a Squirrel for <br /> 1 badger and 5 cheetah'
lm1.innerHTML = 'Buy a Lemon for <b style="font-weight: 1000;">some</b> cats'
lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons'
@@ -109,6 +115,8 @@ function load(){
Cme1.innerHTML = 'Buy a Meerkat for <br> 1 mil clicks'
Cra1.innerHTML = 'Buy a Raccoon for <br> 1.5 mil clicks'
Cow1.innerHTML = 'Buy a Owl for <br> 1.8 mil clicks'
Cba1.innerHTML = 'Buy a Badger for <br> 3.5 mil clicks'
Csq1.innerHTML = 'Buy a Squirrel for <br> 5.5 mil clicks'
}
if(items.lang == 0){
document.documentElement.setAttribute('lang', 'cz');
@@ -134,6 +142,8 @@ function load(){
document.getElementById('dismee').innerHTML=`Právě máš ${fornum(items.meerkat)} surikat!`
document.getElementById('disrac').innerHTML=`Právě máš ${fornum(items.raccoon)} mývalů!`
document.getElementById('disowl').innerHTML=`Právě máš ${fornum(items.owl)} sov!`
document.getElementById('disbad').innerHTML=`Právě máš ${fornum(items.badger)} jezevců!`
document.getElementById('dissqu').innerHTML=`Právě máš ${fornum(items.squirrel)} veverek!`
@@ -160,6 +170,8 @@ function load(){
document.getElementById('dismeemake').innerHTML=`Generují ${fornum((items.meerkat*9800)*items.pres)} kliků za sekundu!`
document.getElementById('disramake').innerHTML=`Generují ${fornum((items.raccoon*14500)*items.pres)} kliků za sekundu!`
document.getElementById('disowmake').innerHTML=`Generují ${fornum((items.owl*16000)*items.pres)} kliků za sekundu!`
document.getElementById('disbamake').innerHTML=`Generují ${fornum((items.badger*32000)*items.pres)} kliků za sekundu!`
document.getElementById('dissqmake').innerHTML=`Generují ${fornum((items.squirrel*50000)*items.pres)} kliků za sekundu!`
dg1.innerHTML = 'Kup Psa za 100 kliků'
@@ -180,6 +192,8 @@ function load(){
me1.innerHTML = 'Kup Surikatu za <br /> 1 vydru a 3 velryby'
ra1.innerHTML = 'Kup Mývala za <br /> 1 surikatu a 7 dikobrazů'
ow1.innerHTML = 'Kup Sovu za <br /> 1 mývala a 1 hada'
ba1.innerHTML = 'Kup Jezevce za <br /> 1 sovu a 2 kobry'
sq1.innerHTML = 'Kup Veverku za <br /> 1 jezevce a 5 gepardů'
lm1.innerHTML = 'Kup Citrón za <b style="font-weight: 1000;">pár</b> koček'
lt1.innerHTML = 'Kup Citrónovník za 5 citrónů'
@@ -202,6 +216,8 @@ function load(){
Cme1.innerHTML = 'Kup Surikatu za <br /> 1 mil kliků'
Cra1.innerHTML = 'Kup Mývala za <br /> 1,5 mil kliků'
Cow1.innerHTML = 'Kup Sovu za <br /> 1,8 mil kliků'
Cba1.innerHTML = 'Kup Jezevce za <br /> 3,5 mil kliků'
Csq1.innerHTML = 'Kup Veverku za <br /> 5,5 mil kliků'
}
}
load();
@@ -369,6 +385,22 @@ function buyowl(){
}
upload();
}
function buybad(){
if(items.owl>=1 && items.pythons>=2){
items.owl-=1;
items.pythons-=2;
items.badger++;
}
upload();
}
function buysqu(){
if(items.badger>=1 && items.cheetahs>=5){
items.badger-=1;
items.cheetahs-=5;
items.squirrel++;
}
upload();
}
@@ -443,181 +475,173 @@ function mxlt(){
upload()
}
function mxwh(){
let amount = Math.floor(items.wolfs/2);
const amount = Math.floor(items.wolfs/2);
items.wolfs -= amount*2;
items.whales += amount;
upload();
}
let one,two,val
let one;
// Max Shop
function mxwl(){
let amount = Math.min(Math.floor(items.foxes/5), Math.floor(items.dogs/6));
const amount = Math.min(Math.floor(items.foxes/5), Math.floor(items.dogs/6));
if(amount > 0){
items.foxes -= amount*5
items.dogs -= amount*6
items.wolfs += amount
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxhm(){
let amount = Math.min(Math.floor(items.wolfs/1), Math.floor(items.cats/2));
const amount = Math.min(Math.floor(items.wolfs/1), Math.floor(items.cats/2));
if(amount > 0){
items.wolfs -= amount*1;
items.cats -= amount*2;
items.hamsters += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxcp(){
let amount = Math.min(Math.floor(items.whales/1), Math.floor(items.cats/4));
const amount = Math.min(Math.floor(items.whales/1), Math.floor(items.cats/4));
if(amount > 0){
items.whales -= amount*1;
items.cats -= amount*4;
items.capybaras += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxpl(){
let amount = Math.min(Math.floor(items.capybaras/1), Math.floor(items.wolfs/1));
const amount = Math.min(Math.floor(items.capybaras/1), Math.floor(items.wolfs/1));
if(amount > 0){
items.capybaras -= amount*1;
items.wolfs -= amount*1;
items.platapuses += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxpr(){
let amount = Math.min(Math.floor(items.platapuses/1), Math.floor(items.whales/1));
const amount = Math.min(Math.floor(items.platapuses/1), Math.floor(items.whales/1));
if(amount > 0){
items.platapuses -= amount*1;
items.whales -= amount*1;
items.porcupines += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxhi(){
let amount = Math.min(Math.floor(items.porcupines/1), Math.floor(items.hamsters/2));
const amount = Math.min(Math.floor(items.porcupines/1), Math.floor(items.hamsters/2));
if(amount > 0){
items.porcupines -= amount*1;
items.hamsters -= amount*2;
items.hippos += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxsn(){
let amount = Math.min(Math.floor(items.whales/2), Math.floor(items.hamsters/4));
const amount = Math.min(Math.floor(items.whales/2), Math.floor(items.hamsters/4));
if(amount > 0){
items.whales -= amount*2;
items.hamsters -= amount*4;
items.snakes += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxch(){
let amount = Math.min(Math.floor(items.snakes/2), Math.floor(items.platapuses/2));
const amount = Math.min(Math.floor(items.snakes/2), Math.floor(items.platapuses/2));
if(amount > 0){
items.snakes -= amount*2;
items.platapuses -= amount*2;
items.cheetahs += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxpy(){
let amount = Math.min(Math.floor(items.cheetahs/1), Math.floor(items.hippos/5));
const amount = Math.min(Math.floor(items.cheetahs/1), Math.floor(items.hippos/5));
if(amount > 0){
items.cheetahs -= amount*1;
items.hippos -= amount*5;
items.pythons += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxgi(){
let amount = Math.min(Math.floor(items.pythons/1), Math.floor(items.foxes/20));
const amount = Math.min(Math.floor(items.pythons/1), Math.floor(items.foxes/20));
if(amount){
items.pythons -= amount*1;
items.foxes -= amount*20;
items.girrafes += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxot(){
let amount = Math.min(Math.floor(items.girrafes/1), Math.floor(items.capybaras/2));
const amount = Math.min(Math.floor(items.girrafes/1), Math.floor(items.capybaras/2));
if(amount > 0){
items.girrafes -= amount*1;
items.capybaras -= amount*2;
items.otters += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxme(){
let amount = Math.min(Math.floor(items.otters/1), Math.floor(items.whales/3));
const amount = Math.min(Math.floor(items.otters/1), Math.floor(items.whales/3));
if(amount > 0){
items.otters -= amount*1;
items.whales -= amount*3;
items.meerkat += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxra(){
let amount = Math.min(Math.floor(items.meerkat/1), Math.floor(items.porcupines/7));
const amount = Math.min(Math.floor(items.meerkat/1), Math.floor(items.porcupines/7));
if(amount > 0){
items.meerkat -= amount*1;
items.porcupines -= amount*7;
items.raccoon += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxow(){
let amount = Math.min(Math.floor(items.raccoon/1), Math.floor(items.snakes/1));
const amount = Math.min(Math.floor(items.raccoon/1), Math.floor(items.snakes/1));
if(amount > 0){
items.raccoon -= amount*1;
items.snakes -= amount*1;
items.owl += amount;
}else{
console.log('You fucked up you stupid bitch');
}
upload();
}
function mxba(){
const amount = Math.min(Math.floor(items.owl/1), Math.floor(items.pythons/2));
if(amount > 0){
items.owl -= amount*1;
items.pythons -= amount*2;
items.badger += amount;
}
upload();
}
function mxsq(){
const amount = Math.min(Math.floor(items.badger/1), Math.floor(items.cheetahs/5));
if(amount > 0){
items.badger -= amount*1;
items.cheetahs -= amount*5;
items.squirrel += amount;
}
upload();
}
@@ -679,7 +703,15 @@ function fornum(num){
/* SHOPPING WITH ONLY CLICKS */
function buyAnimal(animal, cost) {
function canimal(animal, cost){
if(items.clicks >= cost){
items[animal]++;
items.clicks -= cost;
upload();
}
}
function cManimal(animal, cost) {
const quantity = Math.floor(items.clicks / cost);
if (quantity > 0) {
@@ -689,279 +721,78 @@ function buyAnimal(animal, cost) {
}
}
// Example usage for buying cats
function buyCat() {
buyAnimal('cats', 1200);
}
// cat
function buyCcat(){
if(items.clicks >= 1200){
items.cats++;
items.clicks -= 1200;
upload();
}
}
function mxCct(){
one = Math.floor(items.clicks / 1200)
items.clicks -= one * 1200
items.cats += one
upload();
}
function buyCcat(){canimal('cats', 1200)}
function mxCct(){cManimal('cats', 1200)}
// fox
function buyCfox(){
if(items.clicks >= 1800){
items.foxes++;
items.clicks -= 1800;
upload();
}
}
function mxCfx(){
one = Math.floor(items.clicks / 1800)
items.clicks -= one * 1800
items.foxes += one
upload();
}
function buyCfox(){canimal('foxes', 1800)}
function mxCfx(){cManimal('foxes', 1800)}
// wolf
function buyCwol(){
if(items.clicks >= 10000){
items.wolfs++;
items.clicks -= 10000;
upload();
}
}
function mxCwl(){
one = Math.floor(items.clicks / 10000)
items.clicks -= one * 10000
items.wolfs += one
upload();
}
function buyCwol(){canimal('wolfs', 10000)}
function mxCwl(){cManimal('wolfs', 10000)}
// hamster
function buyCham(){
if(items.clicks >= 13000){
items.hamsters++;
items.clicks -= 13000;
upload();
}
}
function mxChm(){
one = Math.floor(items.clicks / 13000)
items.clicks -= one * 13000
items.hamsters += one
upload();
}
function buyCham(){canimal('hamsters', 13000)}
function mxChm(){cManimal('hamsters', 13000)}
// whale
function buyCwha(){
if(items.clicks >= 22000){
items.whales++;
items.clicks -= 22000;
upload();
}
}
function mxCwh(){
one = Math.floor(items.clicks / 22000)
items.clicks -= one * 22000
items.whales += one
upload();
}
function buyCwha(){canimal('whales', 22000)}
function mxCwh(){cManimal('whales', 22000)}
// cappybarra
function buyCcap(){
if(items.clicks >= 28000){
items.capybaras++;
items.clicks -= 28000;
upload();
}
}
function mxCcp(){
one = Math.floor(items.clicks / 28000)
items.clicks -= one * 28000
items.capybaras += one
upload();
}
function buyCcap(){canimal('capybaras', 28000)}
function mxCcp(){cManimal('capybaras', 28000)}
// platypussy
function buyCpla(){
if(items.clicks >= 42000){
items.platapuses++;
items.clicks -= 42000;
upload();
}
}
function mxCpl(){
one = Math.floor(items.clicks / 42000)
items.clicks -= one * 42000
items.platapuses += one
upload();
}
function buyCpla(){canimal('platapuses', 42000)}
function mxCpl(){cManimal('platapuses', 42000)}
// porcupine
function buyCpor(){
if(items.clicks >= 70000){
items.porcupines++;
items.clicks -= 70000;
upload();
}
}
function mxCpr(){
one = Math.floor(items.clicks / 70000)
items.clicks -= one * 70000
items.porcupines += one
upload();
}
function buyCpor(){canimal('porcupines', 70000)}
function mxCpr(){cManimal('porcupines', 70000)}
// hippopopopotamusss
function buyChip(){
if(items.clicks >= 100000){
items.hippos++;
items.clicks -= 100000;
upload();
}
}
function mxChi(){
one = Math.floor(items.clicks / 100000)
items.clicks -= one * 100000
items.hippos += one
upload();
}
function buyChip(){canimal('hippos', 100000)}
function mxChi(){cManimal('hippos', 100000)}
// Snuk
function buyCsna(){
if(items.clicks >= 150000){
items.snakes++;
items.clicks -= 150000;
upload();
}
}
function mxCsn(){
one = Math.floor(items.clicks / 150000)
items.clicks -= one * 150000
items.snakes += one
upload();
}
function buyCsna(){canimal('snakes', 150000)}
function mxCsn(){cManimal('snakes', 150000)}
// Chetuch
function buyCche(){
if(items.clicks >= 350000){
items.cheetahs++;
items.clicks -= 350000;
upload();
}
}
function mxCch(){
one = Math.floor(items.clicks / 350000)
items.clicks -= one * 350000
items.cheetahs += one
upload();
}
function buyCche(){canimal('cheetahs', 350000)}
function mxCch(){cManimal('cheetahs', 350000)}
// .py
function buyCpyt(){
if(items.clicks >= 820000){
items.pythons++;
items.clicks -= 820000;
upload();
}
}
function mxCpy(){
one = Math.floor(items.clicks / 820000)
items.clicks -= one * 820000
items.pythons += one
upload();
}
function buyCpyt(){canimal('pythons', 820000)}
function mxCpy(){cManimal('pythons', 820000)}
// Gurllaf
function buyCgir(){
if(items.clicks >= 880000){
items.girrafes++;
items.clicks -= 880000;
upload();
}
}
function mxCgi(){
one = Math.floor(items.clicks / 880000)
items.clicks -= one * 880000
items.girrafes += one
upload();
}
function buyCgir(){canimal('girrafes', 880000)}
function mxCgi(){cManimal('girrafes', 880000)}
// Other space
function buyCoth(){
if(items.clicks >= 950000){
items.otters++;
items.clicks -= 950000;
upload();
}
}
function mxCot(){
one = Math.floor(items.clicks / 950000)
items.clicks -= one * 950000
items.otters += one
upload();
}
function buyCoth(){canimal('otters', 950000)}
function mxCot(){cManimal('otters', 950000)}
// Mii Cat
function buyCmee(){
if(items.clicks >= 1000000){
items.meerkat++;
items.clicks -= 1000000;
upload();
}
}
function mxCme(){
one = Math.floor(items.clicks / 1000000)
items.clicks -= one * 1000000
items.meerkat += one
upload();
}
function buyCmee(){canimal('meerkat', 1000000)}
function mxCme(){cManimal('meerkat', 1000000)}
// C rac
function buyCrac(){
if(items.clicks >= 1500000){
items.raccoon++;
items.clicks -= 1500000;
upload();
}
}
function mxCra(){
one = Math.floor(items.clicks / 1500000)
items.clicks -= one * 1500000
items.raccoon += one
upload();
}
function buyCrac(){canimal('raccoon', 1500000)}
function mxCra(){cManimal('raccoon', 1500000)}
// O
function buyCowl(){
if(items.clicks >= 1800000){
items.owl++;
items.clicks -= 1800000;
upload();
}
}
function mxCow(){
one = Math.floor(items.clicks / 1800000)
function buyCowl(){canimal('owl', 1800000)}
function mxCow(){cManimal('owl', 1800000)}
items.clicks -= one * 1800000
items.owl += one
upload();
}
// bad
function buyCbad(){canimal('badger', 3500000)}
function mxCba(){cManimal('badger', 3500000)}
// squirt
function buyCsqu(){canimal('squirrel', 5500000)}
function mxCsq(){cManimal('squirrel', 5500000)}

View File

@@ -3,15 +3,14 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/21ea186610.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9310992147638822" crossorigin="anonymous"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CTW2M8Q7SB');
</script>
<link rel="stylesheet" href="./css/menu.css">
<link rel="stylesheet" href="./css/sett.css">
<link rel="shortcut icon" href="./img/settings.svg" type="image/x-icon">
<title>BRB - Settings</title>
@@ -40,9 +39,12 @@
</main>
<div class="menu-container">
<div class="menu-container" style="z-index: 500;">
<div class="button">Menu
<span class="fas fa-bars"></span>
<span class="fas">
<svg height="1em" viewBox="0 0 448 512"><style>svg{fill:#ffffff}</style><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>
<svg height="1em" viewBox="0 0 384 512"><style>svg{fill:#ffffff}</style><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>
</span>
</div>
<ul>
<li><a href="./" id="brb">BRB</a></li>

View File

@@ -5,10 +5,9 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://kit.fontawesome.com/21ea186610.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9310992147638822" crossorigin="anonymous"></script>
<script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
@@ -18,7 +17,7 @@
<!-- By MrEidam & Standa Chlup -->
<link rel="stylesheet" href="./css/menu.css">
<link rel="stylesheet" href="./css/shop.css">
<link rel="icon" href="./img/shop.png">
</head>
@@ -444,6 +443,52 @@
<p id="disowmake"></p>
</div>
<!-- Badger -->
<div class="item">
<img src="./img/badger.svg">
<div class="buttons" style="--Bcolor: #D8D6CA">
<button onclick="buybad()" class="buyone" id="ba1">
Buy a Badger
</button>
<button onclick="mxba()" class="buymax">
MAX
</button>
</div>
<div class="clickbtn" style="--Bcolor: #D8D6CA">
<button onclick="buyCbad()" class="buyone" id="Cba1">
Buy a Badger for clicks
</button>
<button onclick="mxCba()" class="buymax">
MAX
</button>
</div>
<p id="disbad"></p>
<p id="disbamake"></p>
</div>
<!-- Squirrel -->
<div class="item">
<img src="./img/squirell.svg">
<div class="buttons" style="--Bcolor: #CFB190">
<button onclick="buysqu()" class="buyone" id="sq1">
Buy a Squirrel
</button>
<button onclick="mxsq()" class="buymax">
MAX
</button>
</div>
<div class="clickbtn" style="--Bcolor: #CFB190">
<button onclick="buyCsqu()" class="buyone" id="Csq1">
Buy a Squirrel for clicks
</button>
<button onclick="mxCsq()" class="buymax">
MAX
</button>
</div>
<p id="dissqu"></p>
<p id="dissqmake"></p>
</div>
</article>
@@ -482,9 +527,12 @@
</main>
<div class="menu-container">
<div class="menu-container" style="z-index: 500; position: fixed;">
<div class="button">Menu
<span class="fas fa-bars"></span>
<span class="fas">
<svg height="1em" viewBox="0 0 448 512"><style>svg{fill:#ffffff}</style><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>
<svg height="1em" viewBox="0 0 384 512"><style>svg{fill:#ffffff}</style><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>
</span>
</div>
<ul>
<li><a href="./" id="brb">BRB</a></li>

View File

@@ -2,7 +2,7 @@ click.offline.make
max 5 hour
name gen com.cost cost
1 dog = 1 clicks/s = 100 | 100 clicks
1 dog = 1 c/s = 100 | 100 clicks
1 cat = 12 c/s = 1 000 | 10 dogs
1 fox = 18 c/s = 1 500 | 15 dogs
1 wolf = 100 c/s = 8 100 | 5 foxes + 6 dogs
@@ -20,8 +20,8 @@ max 5 hour
1 meerkat = 9 800 c/s = 644 700 | 1 otter + 3 whale
1 raccoon = 14 500 c/s = 956 200 | 1 meerkat + 7 porcupine
1 owl = 16 000 c/s = 1 029 000 | 1 raccoon + 1 snuk
1 badger =
1 squirrel =
1 badger = 32 000 c/s = 2 080 400 | 1 owl + 2 python
1 squirrel = 50 000 c/s = 3 091 400 | 1 badger + 5 cheetah
1 chameleon =
1 chicken =
1 wombat =
@@ -73,8 +73,3 @@ G fur - 300 cs
Y fur - 666 cs
P fur - 1 125 cs
C fur - 1 500 cs
lemon
Help - CZ
Help - En

View File

@@ -5,10 +5,10 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://kit.fontawesome.com/21ea186610.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<title>BRB - Upgrades</title>
<link rel="stylesheet" href="./css/menu.css">
<link rel="stylesheet" href="./css/upgr.css">
<link rel="icon" href="./img/upgrade-icon-png-12.jpg">
</head>
@@ -29,7 +29,6 @@
<img src="./img/brb-still.png">
<div class="buttons" style="--Bcolor: darkred">
<button onclick="buyMcc()" class="buyone" id="Mc1">
Buy a Lorem ipsum, dolor sit amet consectetur
</button><!--
<button onclick="mxMc()" class="buymax">
MAX
@@ -63,9 +62,12 @@
</div>
</main>
<div class="menu-container">
<div class="menu-container" style="z-index: 500;">
<div class="button">Menu
<span class="fas fa-bars"></span>
<span class="fas">
<svg height="1em" viewBox="0 0 448 512"><style>svg{fill:#ffffff}</style><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>
<svg height="1em" viewBox="0 0 384 512"><style>svg{fill:#ffffff}</style><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>
</span>
</div>
<ul>
<li><a href="./" id="brb">BRB</a></li>
@@ -73,7 +75,7 @@
<li><a href="upgrade.html" id="upg"></a></li>
<li><a href="settings.html" id="sett"></a></li>
</ul>
</div>
</div>
<script src="./js/menu.js"></script>
<script src="./js/upgr.js"></script>
</body>