Astrimedes@lemmy.worldtoGame Development@programming.dev•How are stats, skills, NPCs and maps stored in RPGs? And how does leveling up work?
5·
4 months agoIn general you want to put things like item statistics, level up experience point thresholds, and any other “pure data” into some kind of text file or database, and then read it into the memory on load or when you need it.
Look into exporting and importing JSON objects, and write ‘types’ in your code that are read in from JSON files. Then when the game or level loads, you read in all of the item statistics, for example.
Yes, try to find a different job. It’s tough out there right now, as you probably know, so don’t quit until you’ve secured a position at a less crazy place.