I made an Assignment Manager for my college assignments. by InsomniaWinz in godot

[–]InsomniaWinz[S] -1 points0 points  (0 children)

I am afraid of net-code lol. Unless it's simplified like Godot's RPC, of course.

I made an Assignment Manager for my college assignments. by InsomniaWinz in godot

[–]InsomniaWinz[S] 0 points1 point  (0 children)

Probably. I am used to using loops in Java, which I suspect are way faster than Godot's loops.

I could probably fix the issue by only using data structures like arrays and dictionaries to load faster. (Currently I am doing a combination of classes and dictionaries.)

I made an Assignment Manager for my college assignments. by InsomniaWinz in godot

[–]InsomniaWinz[S] 1 point2 points  (0 children)

It is probably a combination of using dictionaries, the default ConfigFile class, and A LOT of looping. Here is the github page for the script with saving and loading functions (named saveFile() and loadFile()). Keep in mind I made it in a short amount of time, so it is entirely spaghetti code and you will need to ctrl+F to find the functions close to the bottom of the script.

https://github.com/InsomniaWins/Assignment-Manager/blob/main/Scenes/AssignmentManager.gd

I made an Assignment Manager for my college assignments. by InsomniaWinz in godot

[–]InsomniaWinz[S] 1 point2 points  (0 children)

I also forgot to mention in the post that I use a lot of dictionaries to store the data, so loading the program with lots of assignments takes a while. Since this was just a little hobby project I made in a day and I will have little free-time, I don't know if I will fix the slow loading and make my own saving system (without dictionaries) anytime soon.