…About that. My coding abilities are trash NGL. Kinda the whole reason I even use GDevelop in the first place.
Totally understandable! thats also why this option concerns me. cause you arent even supposed to do it. But being the frontier of GDevelop’s functionality is even harder, so lets leave that to me. i will do my damnest to make a UI framework now that i know theres demand
Thank you. TBH, first time I have actually had positive news from this forum that wasn’t on the lines of “you’re just doing it wrong”
man ive been using gdevelop for over 7 years and some of this stuff i just dont have the capacity to understand or read.
You could use external layouts for the menus and add the appropriate layout or you could build the menu as needed using arrays or arrays of arrays.
When using array, the array tools extension really helps especially the split function. It allows you to create a string with items seperated by say commas like “Larry, Moe, Curly”. Then you can use the split function to turn it into an array.
You could use certain characters to flag items. You could start or end a menu item with a greater than symbol to flag it as having a sub menu. You could add the name of the sub-menu after the greater then symbol. You could use the same split function to split those items.
You wouldn’t need arrays with layouts. The layout items themselves could have object variables that can identify the objects as menu items or sub-menus with the name of the external layout that contain the sub-menu.
Creating your own functions would help greatly.
You could also create the menus as custom objects. Create one menu object and then copy it and use properties to create all of the menus. Either through events and array or functions or a property that uses the same concept of a string with the items seperated by commas.
I appreciate the response, but I’m just tired at this point. I’ve had too many project die due to Menu UI and I just want an easy implementation so I can get on with the parts of the game that I enjoy making. The burnout is starting to get to me
Have you tried using layers yet?
I could lend you some example code in a message if you need any.