martinbwg / Pixel-Tanks

1 stars 3 forks source link

Re-add fire animation #615

Closed cs6413110 closed 2 months ago

cs6413110 commented 3 months ago

What Re-add the fire animation

It was removed due to timing inaccuracies but I think we can use a boolean system instead and just ignore the side effects of no internet.

cs6413110 commented 3 months ago

@BreadSpam

To keep you from destroying game

Go to Tank.js and AI.js Find this.fire and set it to either true or false, remove the old system default. Remove the old system for when you walk on fire and add the new one.

Go to Shot.js Change how tanks and AI are set on fire

Go to Client.js Find drawTank Change t.fire rendering(should just be changing an if statement)

MENTION EVERY COMMIT YOU DO HERE SO I CAN UNDO ANYTHING TOO DESTRUCTIVE PUT #615 IN THE COMMIT NAME

LostKing73 commented 3 months ago

too much effort bye

aahaahaa

cs6413110 commented 3 months ago

Reverting nuke tank