martinbwg / Pixel-Tanks

1 stars 3 forks source link

Recruiting the Local Bread #702

Open cs6413110 opened 1 month ago

cs6413110 commented 1 month 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,

BreadSpam commented 1 month ago

my last braincell rn: 💀

CelestialKnight7 commented 1 month ago

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

BreadSpam commented 1 month ago

exactly 💀

BreadSpam commented 1 month ago

so like my brain cell died and as reincarnated to fix damage numbers instead

cs6413110 commented 1 month ago

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

BreadSpam commented 1 month ago

I'm stoopid ok?

BreadSpam commented 1 month ago

something "ez" for u, is effort for me

BreadSpam commented 1 month ago

u need an ez ez for me to exist, such as fixing dmg numbers :). speaking of, I just fixed tehm

cs6413110 commented 1 month ago

What was broken?

BreadSpam commented 1 month ago

+-250 damage

BreadSpam commented 1 month ago

also I wanted them to be green if u were healing :)

cs6413110 commented 1 month ago

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

BreadSpam commented 1 month ago

I MADE THE PUAE MENUE UOWSHUTUTUTUUTT

BreadSpam commented 3 weeks ago

can we agree that this isn't happening?

LostKing73 commented 3 weeks ago

I MADE THE PUAE MENUE UOWSHUTUTUTUUTT

The what

cs6413110 commented 3 weeks ago

@BreadSpam do this instead of spamming block issues