martinbwg / Pixel-Tanks

1 stars 3 forks source link

Recruiting the Local Bread #702

Open cs6413110 opened 2 months ago

cs6413110 commented 2 months ago

I need your help with the htmlifying. I'm giving you an easy job, I promise.

Here are the new files:

You will be making the most changes in HTMLify.js.

The way I've re-coded menus makes it so they regenerate buttons when their loaded property is set to false. You can do that by:

Menus.menus.<menu_name>.loaded = false;
// e.g Menus.menus.start.loaded = false;
// e.g (in scope context of menu listeners or cdraw) this.loaded = false;

In the inventory menu mainly(maybe only?), the buttons need to be reloaded whenever they open a tab, change a cosmetic, item, or class, level up, etc. I need you to just copy and paste either Menus.menus.inventory.loaded = false; or probably this.loaded = false; at all these different places. Do it until it works, reference all the commits to this issue, and I'll optimize it.

Should be relatively simple, just a bit of copy and pasting. Let me know when you are done.

Link for beta is: data:text/html,

CelestialKnight7 commented 2 months ago

bro ur last braincell hasnt seen work in the last 5 years

cs6413110 commented 2 months ago

What's wrong with damage numbers? Also this is ez?

cs6413110 commented 2 months ago

What was broken?

cs6413110 commented 2 months ago

Ok, now back to menu work @BreadSpam . There is no escape.

LostKing73 commented 2 months ago

I MADE THE PUAE MENUE UOWSHUTUTUTUUTT

The what

cs6413110 commented 2 months ago

@BreadSpam do this instead of spamming block issues