pandorabox-io / in-game

Random code and stuff for in-game things
MIT License
3 stars 0 forks source link

Search shop formspec screen width adjustment #269

Open Klaranth opened 2 years ago

Klaranth commented 2 years ago

The_Daethalus Is there a way to change the search shop screen? Because on some devices I use to play minetest, the information goes past the box, and I can't scroll to the side. Hedgehog Is this part of the HUD info ?

The_Daethalus Yes.

wsor hud, or formspec? sounds more like formspec

Hedgehog Can you add which type of devices, or rather the screen sizes of them ?

The_Daethalus What's formspec? Anyway, it's a window that pops up.

wsor formspecs are 2d on screen that allow interaction/text/buttons. huds are static, no interaction

The_Daethalus Oh, then it's a formspec, probably.

wsor if it is formspecs, then im not surprised since their scaling is terrible (you can hack this by just letting them noclip)

Huhhila Well, one option could be stuffing Owner to right side as that is likely least important piece of information. I'm far from UX person. And yes, formspec is the correct term here.

The_Daethalus I'm on a laptop right now. It's 1366x768.

wsor Anyways, re https://github.com/pandorabox-io/in-game/issues/268 feel free to close this if no one cares, I was merely asking

The_Daethalus So you can modify the windows? How?

Huhhila haven't seen anything against 268... do you happen to know the people who originally made those textures and that animation?

wsor formspecs, they suck there a string based gui basically you can abstract them away to your own format and "compile" them to the string format, but you cant fix the scaling without adding a lot of margin to everything because the rendering is client side

The_Daethalus Is that in the settings, or something?

Huhhila Well for /search shop, just by changing the related code. And by the way current touchscreen code on pandorabox does such "compile" with quite decent abstraction.

https://github.com/minetest/minetest/issues/6527 has a "long-term" solution for it. As in vaporware.

wsor ah yes, the long fabled mythical formspec replacement at least we have gotten some good formspec features out of vrob along the way so not completely useless anyways, a screenshot would be useful to know which elements need additional margins

The_Daethalus I also play minetest on my phone, sometimes. I don't know how to check the resolution on it, but it would be nice for that to be adjustable, too.

Is there somewhere I should post a screenshot?

wsor here works, or you can open a issue at https://github.com/pandorabox-io/in-game/issues/

The_Daethalus Alright. Do I have to have an account, or will I just show up as anonymous?

Klaranth commented 2 years ago

Hedgehog Fix results view of /search shop to widen more to be able to show all of the lines. Now the amounts of an item for sale is often obscured by the edge of the result window.