Search results

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
  1. lenscas

    Good vs. Evil

    51.5 Its not that epic, it just lets the program crash if the program ever does get there.
  2. lenscas

    Good vs. Evil

    52 I... think I found a bug in the rust compiler? I have the following match statement match (on_button, current_active.as_ref()) { (Some(button), Some(cur)) if button.0 != *cur => {} (Some(button), Some(cur)) if button.0 == *cur => {} (Some(button), None) => {} (None, Some(cur)) => {} (None...
  3. lenscas

    Good vs. Evil

    48 got some more work done on arena_keeper. Now, the tools are split into categories that each have their own menu and button to open said menu. Now, I just need make it so only 1 of those menu's can be open (Which will be a new widget in mergui) and I need to increase the size of the buttons...
  4. lenscas

    Launcher needs Java (I have AdoptOpenJDK

    On some systems getting Oracle java is painful (at least compared to getting openJDK). For example on debian you can simply install openJDK using apt like how you install most software. However, to get oracle java to work you need to download + install + know how to update the defaults. And last...
  5. lenscas

    Launcher needs Java (I have AdoptOpenJDK

    Though it has been a while since I used the launcher I never had a problem with openJDK. I just tried downloading the launcher and it seems to work though I haven't checked if it could start up a pack. output of java -version gives me java -version openjdk version "1.8.0_232" OpenJDK Runtime...
  6. lenscas

    Good vs. Evil

    48 I released version 0.0.2 of Mergui, which now officially adds the Concealer widget :) Also, I decided to quickly check how easy it is to find Mergui on crates.io (The main site where people publish modules for rust) Searching for "quicksilver" has it as the second result (4 total) and...
  7. lenscas

    Good vs. Evil

    46 actually, I decided to only have it be 1 for now because const generics are something that rust will get sooner or later and when they land I will probably want to use those for this which is a breaking change anyway. Also, I can't think of a reason to need more than 1. So... there is that....
  8. lenscas

    Good vs. Evil

    47 first complicated widget is finished. Its a compound of a Button widget and a list of widgets. It simply toggles the visibility of the list of widgets whenever you click on the button. I call it the "Concealer" widget, because I suck at names. It isn't released yet. Plan is to do that...
  9. lenscas

    Good vs. Evil

    47 I released mergui !!!! Entry on crates.io : https://crates.io/crates/mergui documentation : https://docs.rs/mergui/0.0.1/mergui/
  10. lenscas

    Good vs. Evil

    49 I implemented the change that I wanted. So, now layers are automatically removed when you loose access to them. Which was actually rather easy and is a nice showcase of why rust is awesome. That is because a lot of languages can't do this automatically, like javascript and python. Some...
  11. lenscas

    Good vs. Evil

    50 I finally managed to both make the new gui system good enough to replace the old one AND actually replace the old one. Note: I kind of abused the old gui system, which made replacing it not as easy as it should be. Also, I found a bug where the buy button doesn't always get cleared...
  12. lenscas

    Good vs. Evil

    48 right now it has "mergui" as a temporary name. Its a mashup of mercury and gui and chosen because to my knowledge mercury is another word for quicksilver. quicksilver being important as that is the engine that I use and thus what the library will be made to work with. I'm not totally sold on...
  13. lenscas

    Good vs. Evil

    46 seems like my new gui system is now able to do anything I wanted it to do. I now just need to implement some widgets for it. But first, time for some cleanup and to "extract" it from my game, so it can become its own little library. edit: I also need a name, suggestions are welcome
  14. lenscas

    Good vs. Evil

    46 working on the gui code for arena keeper again. Main problems that I'm trying to address: Not being able to use anything more complex than a button. The state of the GUI isn't remembered between update/draw calls, which gives the following limitations: The idea of a focused widget is...
  15. lenscas

    Good vs. Evil

    45 last time I checked it was, but that was ages ago....
  16. lenscas

    Good vs. Evil

    44 those suck. meanwhile, I got the buttons working so they aren't hard coded any more. Right now, an automatic build is running to update the online version :) edit: And... it used the wrong file in the /bin folder, meaning that although the build succeeded, the wasm file is broken...
  17. lenscas

    Good vs. Evil

    44 managed to work more on arena keeper. The wall and bed are now both defined using json files and thus in theory more items can be added simply by using them. I also fixed the rendering logic so tile features (like the wall and bed) can have transparency. Next thing is to change the buttons...
  18. lenscas

    Good vs. Evil

    44 yep, another fun thing is when a teacher says that the school he teaches at is insane. And.... I can't say I disagree with him.
  19. lenscas

    Good vs. Evil

    43 I made a simplistic brainfuck optimizer compiler in rust in about 1 and a half hour. It goes over the code in 2 passes. The first (which is done in parallel) turns the brainfuck "script" into tokens that are easier to work with. It also filters out everything that is not an instruction. The...
  20. lenscas

    Good vs. Evil

    49 typo's for the win?