The main thing I have left to do at this point is to deign the UI. It has become clear to me very quickly that additional learning is going to be required for me to be able to complete the UI. While the tutorial in the GoDot documentation covers the very basic’s of things like player movement, the UI elements it covers are basically just a text node and a button. In my opinion it would have been a lot more useful to teach the user how to set up new scenes like you would want for changing levels since this feels like it should be part of the basic fundamentals.
The other issue that I have at the moment is while I can use the editor to place elements on the screen, for the leader board I need to programmatically create the elements and update them, as of right now I am not sure if I would need to create a new instance of each score row node and update it’s text or if there is a way to set up a simple for loop so I can create a new row for each entry in the leader board or if it needs to be done another way.
I had planned on rolling my own server for the leader board system, but turns out that there is an add-on called silent wolf that is already set up and saves me having to configure and deploy a new server. Using the instructions for the leader board on the site and my so far limited knowledge of GoDot, we now have the ability to submit scores and player names to the silent wolf server.
The placement of the entry and button needs to be moved (the whole page will eventually be re-designed but I am just working on getting the functionality working before I worry about the styling). The next step is to create the actual leader board. The code side of things I understand how to accomplish it, but the design side is where my knowledge falls short.
Another couple of hours playing about and questioning chat gpt on some error’s I was getting and we now have somewhat of a leader board, all connected to Silent Wolf, scores submit and when the game loads it pulls in the leader board and displays it. Still need to do the styling, which looks like it is going to need a re-write on the leader board code to use a template system rather than just making new nodes for each entry in the leader board, but progress is being made and that is what counts.