Hey fellow developers! I recently released my first fully “functioning” experience, and the feedback has been… well, let’s just say insightful! The game is very simple, you kill zombies, drag them back to the camp and burn them to get coins. Despite the games simplicity and complete lack of content, to be honest embarrassing how laggy and unoptimized it is.
The game is having significant memory, CPU, and GPU usage, (1105mb/s, 34ms and 32ms… over double recommended usages in all aspects according to this guide about the micro-profiler). As a self-taught scripter without any professional programming experience, I’m not familiar with standard optimization techniques. My past projects have mostly been personal experiments and failed attempts at games before running out of motivation and switching to the next project, so I didn’t focus much on best scripting or world-building practices or really use any of the dev tools Roblox provides other than the Output.
For those of you who have faced similar challenges, I’d love to hear about any techniques, resources, or experiences that have helped you improve performance and adopt best practices. I recently came across a really good guide by MrChickenRocket on optimization that was both helpful and enjoyable to read, especially around optimizing world assets and touching on some good scripting considerations, check that out here!
In terms of next steps, I’m debating whether to rebuild the game from scratch with optimization in mind or to try and optimize my existing work. I now have a clearer vision for the game as a whole so a lot more consideration can go into creating a more cohesive framework while also planning performance budgets and using the techniques I’ll learn in the coming days. On the other hand, it has taken me a while to get to where I am and rebuilding from scratch would be a large undertaking, so should I spend that time salvaging the patchwork I currently have. What would you recommend?
Thanks in advance for any advice, resources, or stories you can share! I’m excited to learn more about game development and scripting as it really is what i love doing, and I appreciate all the guidance.