ok time to break all of block game's gui
-
ok time to break all of block game's gui
-
ok time to break all of block game's gui
i think its going really well
-
i think its going really well
ok, slowly getting somewhere
-
ok, slowly getting somewhere
recipe window is fixed, now to fix all the other gui elements
-
recipe window is fixed, now to fix all the other gui elements
well all the rendering works but the input is completely broken yaaaaay
-
well all the rendering works but the input is completely broken yaaaaay
Ok the inputs are working again! The mouse over highlights are broken but this is expected, as it's the one thing I knew I had to change completely after this refactor
-
Ok the inputs are working again! The mouse over highlights are broken but this is expected, as it's the one thing I knew I had to change completely after this refactor
and everything's working again! that was a fun little adventure

i had to add branching logic to my rendering to do the highlights, because there's no way to know until render time whether the mouse is over something, so i added a render command that branches based on whether it is or not at render time
in this case it either jumps over the selection highlight or the active item highlight (if any)
-
and everything's working again! that was a fun little adventure

i had to add branching logic to my rendering to do the highlights, because there's no way to know until render time whether the mouse is over something, so i added a render command that branches based on whether it is or not at render time
in this case it either jumps over the selection highlight or the active item highlight (if any)
also can i just say that "immediate" mode gui is just... such a lie
like, i've made one now and there's still a ton of retained state, it's just shoved into the gui manager's backend instead of having to deal with it on the frontend
once you delegate all that retained state it does work great though. most of the time
and then occasionally you have to commit atrocities to do what you need to
-
also can i just say that "immediate" mode gui is just... such a lie
like, i've made one now and there's still a ton of retained state, it's just shoved into the gui manager's backend instead of having to deal with it on the frontend
once you delegate all that retained state it does work great though. most of the time
and then occasionally you have to commit atrocities to do what you need to
at long last after all of that effort i finally have the ability to dynamically center windows in my GUI
-
at long last after all of that effort i finally have the ability to dynamically center windows in my GUI
after many, *many* refactors the recipe picker popup is now in, which means that crafting stations in block game in general are now complete!
of course i haven't made any carpentry items yet so for now the crude carpentry table only has the two basic recipes
-
J jwcph@helvede.net shared this topic