ZORO COMMUNITY
Закритий канал
Показати більше
Країна не вказанаКатегорія не вказана
875
Підписники
Немає даних24 години
Немає даних7 днів
Немає даних30 днів
Архів дописів
04 лист, 01:50
const myCols=()=>[char.skin,char.hair,char.shirt,char.pants];
const PAL_Z={skin:'#6fae5a',skinD:'#5a9448',hair:'#2f4a2a',shirt:'#3aa6a0',shirtD:'#2c8580',pants:'#4b3a8a',pantsD:'#3b2d70',shoe:'#333',shoeD:'#222'};
const PAL_S={skin:'#e6e6de',skinD:'#c8c8c0',hair:'#e6e6de',shirt:'#d4d4cc',shirtD:'#b4b4ac',pants:'#cfcfc7',pantsD:'#adada5',shoe:'#bbb',shoeD:'#999'};
const PAL_V={skin:'#d9a37a',skinD:'#b9845c',hair:'#5a3a22',shirt:'#8d6e63',shirtD:'#6d4c41',pants:'#7b5e52',pantsD:'#5d4037',shoe:'#4e342e',shoeD:'#3e2723'};
// ================= noise + world gen =================
let SEED=(rnd()*1e9)|0,villageSpots=[];
function hash(x,y){let h=(Math.imul(x,374761393)+Math.imul(y,668265263)+SEED)|0;h=Math.imul(h^(h>>>13),1274126177);return((h^(h>>>16))>>>0)/4294967296;}
function vnoise(x,y){const xi=Math.floor(x),yi=Math.floor(y),xf=x-xi,yf=y-yi,u=xf*xf*(3-2*xf),v=yf*yf*(3-2*yf);const a=hash(xi,yi),b=hash(xi+1,yi),c=hash(xi,yi+1),d=hash(xi+1,yi+1);return a+(b-a)*u+(c-a)*v+(a-b-c+d)*u*v;}
function fbm(x,y){return vnoise(x,y)*.6+vnoise(x*2.1,y*2.1)*.3+vnoise(x*4.3,y*4.3)*.1;}
function buildHouse(x0){
const g=topY[x0+3];
for(let dx=-1;dx<=7;dx++){const x=x0+dx;for(let y=g-10;y<g;y++)set(x,y,0);set(x,g,1);for(let y=g+1;y<g+4;y++){const t=get(x,y);if(t===0||t===15)set(x,y,2);}topY[x]=g;}
for(let y=g-5;y<g;y++){if(y<=g-3)set(x0,y,7);set(x0+6,y,7);}
set(x0+6,g-3,0);
for(let dx=-1;dx<=7;dx++)set(x0+dx,g-6,7);
set(x0+3,g-5,12);
villageSpots.push([x0+3,g-1]);
}
function gen(){
SEED=(rnd()*1e9)|0;world.fill(0);villageSpots=[];
for(let x=0;x<WW;x++){
let h=Math.floor(SURF+(fbm(x*.03,3)-.5)*24+(vnoise(x*.12,9)-.5)*5);
h=clamp(h,22,46);topY[x]=h;
for(let y=0;y<WH;y++){
let t=0;const dep=y-h;
if(y===h)t=1;else if(dep>0&&dep<=4)t=2;else if(dep>4)t=3;
if(t&&dep>3){
const n1=fbm(x*.055,y*.055+50),n3=fbm(x*.09+300,y*.03+80);
const tun=Math.abs(n1-.5)<.028+Math.min(.035,dep*.0008)||Math.abs(n3-.5)<.022;
const blob=dep>10&&fbm(x*.04+200,y*.065)>.70-Math.min(.05,dep*.0007);
if(tun||blob)t=0;
}
if(y>=WH-2||(y===WH-3&&rnd()<.5))t=9;
world[y*WW+x]=t;
}
}
for(let k=0;k<7;k++){let x=ri(10,WW-10);const w=ri(2,3),dp=ri(12,22),y0=topY[x];for(let y=y0;y<y0+dp;y++){for(let i=0;i<w;i++)if(get(x+i,y)!==9)set(x+i,y,0);if(rnd()<.35)x+=ri(-1,1);}}
for(let y=WH-4;y>0;y--)for(let x=1;x<WW-1;x++){
if(world[y*WW+x]===0&&y-topY[x]>46){
if(y>WH-12)world[y*WW+x]=15;
else if(solid(x,y+1)&&rnd()<.15){let xx=x;const n=ri(2,5);for(let i=0;i<n;i++){if(get(xx,y)===0&&solid(xx,y+1))set(xx,y,15);xx++;}}
}
}
const vein=(t,count,d0,d1,size)=>{for(let i=0;i<count;i++){let x=ri(2,WW-3),y=topY[x]+ri(d0,d1);for(let k=0;k<size;k++){if(get(x,y)===3)set(x,y,t);x+=ri(-1,1);y+=ri(-1,1);}}};
vein(4,80,5,60,6);vein(10,55,12,70,5);vein(8,32,28,70,4);vein(11,18,44,72,3);
const noTree=[];
for(let v=0;v<3;v++){
const cx=ri(25,WW-45);if(Math.abs(cx-WW/2)<18)continue;
const offs=[0,10,-10].slice(0,ri(2,3));
for(const o of offs){const x0=cx+o;if(x0<4||x0+8>=WW-4)continue;buildHouse(x0);noTree.push([x0-2,x0+9]);}
}
const inR=x=>{for(const r of noTree)if(x>=r[0]&&x<=r[1])return true;return false;};
for(let x=1;x<WW-1;x++){if(inR(x))continue;const y=topY[x];if(get(x,y)===1&&get(x,y-1)===0){const r=rnd();if(r<.22)set(x,y-1,13);else if(r<.28)set(x,y-1,14);}}
let lastTree=-9;
for(let x=4;x<WW-4;x++){
if(Math.abs(x-WW/2)<6x-lastTree<5inR(x))continue;
if(rnd()<.14){
const y=topY[x];if(get(x,y)!==1)continue;
const th=ri(4,6);for(let i=1;i<=th;i++)set(x,y-i,5);
const cy=y-th;
for(let dx=-3;dx<=3;dx++)for(let dy=-4;dy<=1;dy++){if((dx*dx)/8+(dy*dy)/11<=1){const g=get(x+dx,cy+dy);if(g===0g===13g===14)set(x+dx,cy+dy,6);}}
lastTree=x;
}
}
}
function calcTop(){for(let x=0;x<WW;x++){let y=0;while(y<WH){const t=world[y*WW+x];if(t===1t===2t===3)break;y++;}topY[x]=Math.min(y,WH-1);}}
20 жовт, 11:01
Repost from 𝗖𝗹𝘂𝗱𝗱𝘆 𝗛𝗮𝗰𝗸𝘀 - 𝗖𝗵𝗮𝗻𝗻𝗲𝗹
AVAIL NA HANGGANG MURA PA!!
- ADDED STRETCH SCREEN - ADDED MYTHIC ATTACHMENT - ADDED UNLIMITED FLY - ADDED NO SMOKE FOR BR - ADDED NO GRAVITY FOR BR - ADDED ALL GUN SKINS - ADDED ALL CHARACTER SKINS - ADDED ALL VEHICLES SKINS - ADDED 185 FPS SMOOTHNESS - ADDED HOLD REPORT - ADDED STRONG BYPASS - GOOD FOR PUSHING RANKSCLUDDY AVAILABLE CHEATS: V20 PREMIUM [ BEST SELLER ]:
300 LIFETIME PROMOV19 VIP [ BEST SELLER ]:
200 LIFETIME PROMOV18 ECLIPSE:
300 PROMO LIFETIMEV17 PREMIUM [ BEST SELLER ]:
500 PROMO LIFETIMEV16 NOTURIUM:
350 PROMO LIFETIMEV15 EXTERIUM:
350 PROMO LIFETIMEV14 VVIP:
200 PROMO LIFETIMEV13 MAX [ BEST SELLER ]:
200 PROMO LIFETIMEV12 DELUXE:
200 PROMO LIFETIMEV11 VIP:
200 PROMO LIFETIMEDirect message: @cluddydumpy
16 жовт, 12:10
