- Mar 7, 2019
- 1,117
- 932
glad to hear, also just pushed the fix!@WillyJL tested build 270 everything works fine. There is a small issue on the game info page, but nothing major. (Wrote about it in issues on github)
yea i also feel like its kinda badly designed... im thinking maybe a tab bar where you can flip between description, changelog, tags and notes, since those are the part that take up the most space. something like this since its a base widget in imgui:Also probably not in the current release, but it would be great to see the possibility of folding under the spoilers of the game description. IMO the user is usually interested in the changelog and their own notes. A description is only needed if he forgot what the game is about.
notes and other inputs would really benefit from many improvements but sadly its not really that doable at the moment. first of all they hae a fixed character buffer size which is due to thee C++ nature of imgui. in C++ you can setup a callback to resize the buffer automatically when the user inputs or removes text, but in python thats not doable due to pointers and other bs not being a thing in python. the ppyimgui de is working on a way to dynamically resize the buffers but that wont come for another few months.Oh and notes. So far, a few words are fine, but if, for example, you copy the walkthrough and / or FAQ there, it becomes difficult to use this window. Maybe add a forced wrapping of the text that goes beyond the border and the ability to increase the size in height?
for the text wrapping i had a friend already ask about it but its not easily doable. imgui itself does not expose a flag to wrap text, so what id have to do is every time the user inputs some text it would have to go through the whole text and check if a line is too long and wrap it by adding a newline character. thats not real wrapping, that would just be automating what you do right now by hand. and even then, if the text was automatically wrapped, when you go and add a new word to a line it might have to wrap again, leaving just 1 word on the next line... so it would need some complex logic...
and the cherry on top is that i dont think theres even a flag to show a horizontal scroll bar, so that just adds confusion to he end user...
i agree that notes need a rework but im not sure how exactly for now.