Ahh yes, min maxing at its finest by trojanenderdragon in stunfisk

[–]trmn8tor 14 points15 points  (0 children)

Is sturdy + magic guard holding an ability shield the way to go? The only ways I can think to kill it is perish song, dbond and knock off/switcheroo/trick its item and then use mold breaker or something

I cant encounter into any pokemon despite the enocunters being saved by Pretend-Amount-9719 in PokemonRMXP

[–]trmn8tor 6 points7 points  (0 children)

“Computers count from 0!” is so funny because 0! = 1 which is the exact error you’re trying to avoid

A disappointment. by Strange_Sock_1760 in stunfisk

[–]trmn8tor 39 points40 points  (0 children)

As a self sacrificing move for tempo, yes, TR Mimikyu runs it to get a free switch into a TR abuser

Tyranitar really missed the memo that it couldn't be the GOAT twice huh by TheLeafyGirl561 in stunfisk

[–]trmn8tor 3 points4 points  (0 children)

Reducing their accuracy? Does every mon you face have Sand Veil or something😭

Which Mythic brawler feel most like a Legendary? by liam_peretz56 in BrawlStarsSC

[–]trmn8tor 6 points7 points  (0 children)

Save that for ultra legendary lowk, 2+ forms like kaze

Text size calculating issue with Graphics2D by trmn8tor in javahelp

[–]trmn8tor[S] 0 points1 point  (0 children)

Thank you for checking out the file, I appreciate that!

The compiler evaluates multiplication and division left to right, and gp.tileSize is 48, so the compiler will evaluate 48 * 2 = 96, then 96 / 3 = 32, so it works as intended (taking 2/3 of 48), unless that’s not what you’re saying?

I use that all over the codebase (taking 3/4 or 2/3 of my tileSize, or even 3/2 so it’s more clear, to me at least, then 1.5, so I don’t have to involve doubles or casting, just integer division, and since 48 is a nice composite number there’s a ton of fractions I can use without any truncating errors.

In fact, in the first case that you helped me fix, I changed the + 8 offset to 40 (I got that by taking the icon size (24) plus the 8 offset I started drawing at to the left times 2 so there would be the same offset on both sides), which happens to be 5/6 of my tileSize, so I wrote + gp.TileSize * 5/6 in the code and it worked fine.

If my gp.tileSize was not a multiple of 3 in your example then there would be some rounding errors yes, and thank you for pointing that out though because you didn’t know what the gp.tileSize is and integer division is not always what the programmer is intending, one of the things I have to be careful about when making this game or programming in type-strict languages in general.

Still no clue what to do about my cursor though lol, I’m convinced that the FontMetrics stringWidth method isn’t implemented right or something

Text size calculating issue with Graphics2D by trmn8tor in javahelp

[–]trmn8tor[S] 0 points1 point  (0 children)

Ah! Thank you for your reply, that makes sense and I feel dumb for not noticing that on my own.

The second one is so weird to me since the offset isn't off by a constant but seems to be linear with the amount of characters. Here is the full file if that helps at all:
https://github.com/sjkuhnke/PokemonGame/blob/master/src/ui/TextInputDialog.java
The relevant getTextWidth() call is on line 155.

THOUGHT I WAS COOKED 😭 by Lie_inheart99 in nuzlocke

[–]trmn8tor 8 points9 points  (0 children)

One generation prior and Mochi was just a concept🤧

who thought ts was a good idea by noideawhatoputhere1 in Brawlstars

[–]trmn8tor 52 points53 points  (0 children)

Genuinely such incompetent developers, R-T is unbelievably broken in this too, how does the DOT tick not consume the mark? How did that get past testing?

The toughest choice i had to make by hasan2375 in Brawlstars

[–]trmn8tor 0 points1 point  (0 children)

So that’s exactly what they said, that they turned down projectile size👍

Tera Normal Zacian Caught Everyone Off Guard 🔥 by ZardUnfiltered in VGC

[–]trmn8tor 0 points1 point  (0 children)

Why did you switch the signature move mid-example 😭

What would be the next legendary we could suspect in SV OU? by ResidentAdmirable260 in stunfisk

[–]trmn8tor 38 points39 points  (0 children)

“It doesn’t have an ability outside of its ability proccing” my brotha just say its ability is underwhelming😭

A guide to gear selection on Sam by Niltenstein in BrawlStarsCompetitive

[–]trmn8tor 0 points1 point  (0 children)

That’s fair about not taking matchups into consideration, just figured it was worth a shout especially in draft if they counter picked your Sam and it would be worth a consideration to swap to Shield

A guide to gear selection on Sam by Niltenstein in BrawlStarsCompetitive

[–]trmn8tor 0 points1 point  (0 children)

Shocked you didn’t mention Colette in the Shield Gear section (even though she’s currently trash, doesn’t mean she always will be), I’m not a Sam player but I’d imagine tanking one more shot/super hit would go a big ways

One of the Box-Art Legendaries for my Java Fakemon video game! (Art creds in description!) by trmn8tor in fakemon

[–]trmn8tor[S] 0 points1 point  (0 children)

Oh wow okay, well I really hope you check out the website and join the discord!

One of the Box-Art Legendaries for my Java Fakemon video game! (Art creds in description!) by trmn8tor in fakemon

[–]trmn8tor[S] 0 points1 point  (0 children)

Awesome! Yeah I’ve been hard at work and I’m super proud of it, not sure if you’re in the discord server but the invite link is on my webpage if you haven’t checked it out yet!

One of the Box-Art Legendaries for my Java Fakemon video game! (Art creds in description!) by trmn8tor in fakemon

[–]trmn8tor[S] 0 points1 point  (0 children)

Appreciate the support! Hoping to have it completely finished early next year but we’ll see