WIP
This commit is contained in:
@@ -136,7 +136,7 @@ $(async function () {
|
||||
|
||||
class Particle {
|
||||
constructor(emote,data){
|
||||
this.size = 64;
|
||||
this.size = 56;
|
||||
this.data = data;
|
||||
this.setPhysics(randRange(0,canvas.width),
|
||||
randRange(0,canvas.height),
|
||||
@@ -299,7 +299,7 @@ $(async function () {
|
||||
const createParticule = (partP, emote, data, args) => {
|
||||
let a = new partP(emote,data,args)
|
||||
particles.push(a);
|
||||
setTimeout(()=>{particles.pop()}, drt*1000+2000);
|
||||
setTimeout(()=>{particles.shift()}, drt*1000+2000);
|
||||
}
|
||||
|
||||
const genExplosion = (x,y,ang,em) =>{
|
||||
|
Reference in New Issue
Block a user