Scrapyard Brawl - Post Mortem
Posted 22 days ago

This section is mostly focused on what I wish went better with the game, and I don't have a lot of bad things to say about the engine. Documentation could be a lot better but that's to be expected, and there's some missing features like foliage that are coming anyways so I'm not too worried there.

This was my first S&box game, and as such there was a lot of bad code near the beginning that when built upon made everything held together by duct tape. I used the facepunch player controller for my character, threw out half the stuff, and by the end really wished I had just made my own streamlined for my game. There's also too much stuff hard coded to the game mode I settled on, and any changes will require a big refactor.

The UI is not amazing, I think the menu came out really well but ingame is not very cohesive and I went with a very half baked solution for telling players how to use their special because I noticed it was being under utilized. I didn't have a lot of experience with CSS or Razor going into this project so I'm not too shocked, it's one of the areas I have to improve on for the future, and I do really really like the workflow here.

I decided to go with singleplayer out the gate so I could focus on making a game and not worrying about learning networking. I think objectively this was the best thing I could have done for the timeframe, however I think the game would be a lot better with multiplayer. But this is another thing that will need another massive refactor because there is no code that works with multiplayer in mind currently.


I think I regret the class system, most people didn't end up choosing anything but the first selected class, so I ended up making the first selected class random to try and add more variety but that felt like a hacky solution. I have some ideas on what I could do to make it better and more streamlined, because it's obvious people want to just get in and destroy robots and not worry about which classes have better stats or weapons. I am very proud of the entire menu execution though, and I think if it was a standalone game it'd still be perfect.