#Drawing custom crosshairs ingame

56 messages ยท Page 1 of 1 (latest)

gentle shoal
solar seal
#

This is an awesome use of YACL

#

@grizzled tartan

grizzled tartan
#

wow!

gentle shoal
#

That is why I needed the right click & right mouse drag events ๐Ÿ˜„

grizzled tartan
#

this is insane lmao

gentle shoal
#

also a bit hacky

grizzled tartan
#

i'd be interested in making it less hacky?

gentle shoal
#

the nested yacl screen needs to get updated both ways

grizzled tartan
#

oh god

#

i mean

#

it's not too bad

gentle shoal
#

(the bottom one gets called in the outer yacl's save() function)

solar seal
#

YACL isn't really good with nested options honestly Xander

gentle shoal
#

yeah it's okay as long as there's not too many options

solar seal
#

8 times out of 10 you have to make a custom GSON serializer

#

but it's still pretty good out of the box

grizzled tartan
#

i didn't really consider advanced uses of yacl when designing the api

gentle shoal
#

the serialiser is regular for me btw, but that's why I have to do this weird plumbing

solar seal
#

I'm probably gonna add a custom controller/widget to preview sound effects to Sounds in 0.9.0, this has motivated me lol

gentle shoal
grizzled tartan
#

the next addition will probably be a record type

#

where there are multiple controllers inline

#

used for maps

gentle shoal
#

that will also be very useful in many places

empty magnet
#

This is awesome!

toxic sorrel
#

I just started using YACL and this usage amazes me...

#

Looks very good

#

๐Ÿ˜

chilly cove
#

Wow

solar seal
#

lol \s

gentle shoal
#

I tried abstracting it today and it doesn't work and I'm confused

solar seal
#

I cant for the love of god figure out how to add a secondary preview sound button to my controllers

#

Trying to add a button here

gentle shoal
#

you'll have to create a custom boolean controller element

solar seal
#

You managed to have multiple buttons in one row

solar seal
#

but it'll break acessibility/controller support

gentle shoal
#

ahh

solar seal
#

The ControllerElement widget thing only has one focused thing

gentle shoal
#

to be fair, I have not tested that yet

#

but you can probably override the navigation path stuff

solar seal
solar seal
#

its still whacky as fuck tho

#

I mean it can just be an AbstractWidget

#

There arent any container widgets tho

#

(that are on 1.20-1.20.6)

grizzled tartan
#

idiot me did not even use the vanilla one (:

#

so goodbye focus paths

simple apex