ZORO COMMUNITY
قناة بسيطة
إظهار المزيد
لم يتم تحديد البلدالفئة غير محددة
876
المشتركون
لا توجد بيانات24 ساعات
لا توجد بيانات7 أيام
لا توجد بيانات30 أيام
أرشيف المشاركات
Repost from 𝗖𝗹𝘂𝗱𝗱𝘆 𝗛𝗮𝗰𝗸𝘀 - 𝗖𝗵𝗮𝗻𝗻𝗲𝗹
This channel can’t be displayed because it violated Telegram's Terms of Service.
27 أكتوبر, 06:28
if(!info){mineT=null;}
else{
if(k!==mineK){mineK=k;mineP=0;}
const tier=bestTier(info.t);
if(tier<info.req){
mineBad=true;mineP=0;
if(time-lastBadT>2){lastBadT=time;toast('Need a '+TIER[info.req]+' '+TN2[info.t]+' or better!');}
}else{
if(tier>0)heldKind=info.t+tier;
mineP+=dt*(1+tier*1.2)/info.h;
if(mineP>=1)breakBlock(mineT[0],mineT[1]);
}
}
}else{mineK='';mineP=0;}
if(P.acting)P.actT=.2;else P.actT=Math.max(0,P.actT-dt);
if(P.acting)P.face=P.targetX>P.x+10?1:-1;
for(let i=0;i<8;i++)if(hot[i]&&!(inv[hot[i]]>0))hot[i]=null;
}
function update(dt){
time+=dt;
for(let i=toasts.length-1;i>=0;i--){toasts[i].t-=dt;if(toasts[i].t<=0)toasts.splice(i,1);}
if(state!=='play')return;
if(pausedFlag&&net.mode==='solo')return;
dayT+=dt;
if(net.mode==='client'){interpClient(dt);}
else{updateMobs(dt);updateArrows(dt);spawnT-=dt;if(spawnT<=0){spawnT=2.5;spawnMobs();}}
interpRemote(dt);
updatePlayer(dt,!menuOpen&&!pausedFlag);
hunger=Math.max(0,hunger-dt*.03);
if(hunger>=14&&P.hp<10){regen+=dt;if(regen>2.5){P.hp++;regen=0;}}
else if(hunger<=0){starve+=dt;if(starve>3){starve=0;if(P.hp>1){P.hp--;say('Starving!','#ffb347');}}}
if(P.hp<=0||P.y>(WH+3)*TS){P.hp=10;hunger=Math.max(hunger,12);spawn();P.inv=2;toast('You passed out... respawned!');}
for(const p of parts){p.vy+=500*dt;p.x+=p.vx*dt;p.y+=p.vy*dt;p.life-=dt;}
parts=parts.filter(p=>p.life>0);
for(const f of floats){f.y-=34*dt;f.t-=dt;}
floats=floats.filter(f=>f.t>0);
const nd=Math.max(darkness(),clamp((depthNow()-3)/10,0,.9));
darkLvl+=(nd-darkLvl)*Math.min(1,dt*3);
netUpdate(dt);
shake*=.86;if(shake<.3)shake=0;
cam.x+=(P.x+10-W/2-cam.x)*Math.min(1,dt*9);
cam.y+=(P.y+20-H*.5-cam.y)*Math.min(1,dt*9);
cam.x=clamp(cam.x,0,Math.max(0,WW*TS-W));cam.y=clamp(cam.y,0,Math.max(0,WH*TS-H));
camX=Math.round(cam.x+(rnd()-.5)*shake);camY=Math.round(cam.y+(rnd()-.5)*shake);
saveT+=dt;if(saveT>15){saveT=0;saveWorld();}
}
// ================= drawing helpers =================
function rr(x,y,w,h,r){ctx.beginPath();ctx.moveTo(x+r,y);ctx.arcTo(x+w,y,x+w,y+h,r);ctx.arcTo(x+w,y+h,x,y+h,r);ctx.arcTo(x,y+h,x,y,r);ctx.arcTo(x,y,x+w,y,r);ctx.closePath();}
function txt(s,x,y,sz,col,al){ctx.font='bold '+sz+'px sans-serif';ctx.textAlign=al'left';ctx.fillStyle='rgba(0,0,0,.6)';ctx.fillText(s,x+1,y+1);ctx.fillStyle=col'#fff';ctx.fillText(s,x,y);}
function drawHuman(o,pal){
const C=c=>o.flash>0?'#ff9a9a':c;
ctx.save();ctx.translate(Math.round(o.x-camX),Math.round(o.y-camY));ctx.scale(o.face,1);
const w=Math.sin(o.walk),air=!o.onGround,bob=o.moving?-Math.abs(Math.cos(o.walk))*1.6:Math.sin(time*3)*.6,la=air?.55:(o.moving?w*.85:0);
const limb=(px,py,len,wd,ang,c1,c2)=>{ctx.save();ctx.translate(px,py);ctx.rotate(ang);ctx.fillStyle=C(c1);ctx.fillRect(-wd/2,0,wd,len);if(c2){ctx.fillStyle=C(c2);ctx.fillRect(-wd/2,len-4,wd,4);}ctx.restore();};
const fixed=o.armA!=null;
limb(0,-26+bob,12,4,fixed?o.armA:(air?-2.4:(o.moving?-w*.8:0)),pal.shirtD,pal.skinD);
limb(-1,-14,14,5,air?-.5:-la,pal.pantsD,pal.shoeD);
ctx.fillStyle=C(pal.shirt);ctx.fillRect(-5,-28+bob,10,15);
ctx.fillStyle=C(pal.shirtD);ctx.fillRect(-5,-15+bob,10,2);
limb(1,-14,14,5,la,pal.pants,pal.shoe);
ctx.fillStyle=C(pal.skin);ctx.fillRect(-6,-40+bob,12,12);
ctx.fillStyle=C(pal.hair);ctx.fillRect(-6,-41+bob,12,4);ctx.fillRect(-7,-41+bob,4,10);
ctx.fillStyle=o.eyeW||'#fff';ctx.fillRect(1,-35+bob,4,3);
ctx.fillStyle=o.eyeC||'#2a3a8a';ctx.fillRect(3,-35+bob,2,3);
ctx.fillStyle=o.mouth||'#a0583a';ctx.fillRect(2,-30+bob,4,1);
ctx.fillStyle=C(pal.skinD);ctx.fillRect(6,-33+bob,1,2);
if(o.nose){ctx.fillStyle=C(pal.skinD);ctx.fillRect(6,-34+bob,3,5);ctx.fillStyle='#4a2f1b';ctx.fillRect(0,-37+bob,6,1);}
let aa;
if(fixed)aa=o.armA+(o.zombie?Math.sin(time*5)*.1:0);
else if(o.swing!=null)aa=-2.3+o.swing*1.9;
20 أكتوبر, 11:01
Repost from N/a
📢 𝗠𝗜𝗡𝗜𝗠𝗨𝗠 𝗢𝗙 30 𝗦𝗛𝗔𝗥𝗘𝗦 𝗥𝗘𝗤𝗨𝗜𝗥𝗘𝗗 📢
🚫 𝗡𝗢 𝗦𝗛𝗔𝗥𝗘 = 𝗡𝗢 𝗥𝗘𝗪𝗔𝗥𝗗 ❌
📉 𝗟𝗘𝗦𝗦 𝗧𝗛𝗔𝗡 30 𝗦𝗛𝗔𝗥𝗘𝗦 = 𝗡𝗢 𝗥𝗘𝗪𝗔𝗥𝗗 ⚠️
⏰ 𝗟𝗔𝗧𝗘 𝗦𝗛𝗔𝗥𝗘 = 𝗡𝗢 𝗥𝗘𝗪𝗔𝗥𝗗 🚫
05 نوفمبر, 05:53
