Recommendations for design pattern material
Posted: Mon Jun 04, 2018 8:24 pm
I'm new to game development and LÖVE. So far I've only created Pong and Flappy Bird knockoffs.
I'm still working on the Flappy Bird clone and I've spent most of time trying to decide how to separate concerns and avoid spaghetti.
Does anyone have recommendations on books/blogs/videos/etc for best practices and design patterns? A lot of the basic tutorials and literature tend to stick everything or nearly everything in a single main.lua file.
I'm currently re-writing the menus to make them look pretty with graphics, better font, and clickable buttons. I have a proof of concept working but I'm passing a lot of global state around and sending callback functions as arguments. It works but debugging this on a large application would be a nightmare. I wonder if there are tried and true patterns I ought to be using.
I realize this is overkill on a Flappy Bird clone but my goal is to engineer the hell out of this thing so I can take concepts onto future games.
I'm still working on the Flappy Bird clone and I've spent most of time trying to decide how to separate concerns and avoid spaghetti.
Does anyone have recommendations on books/blogs/videos/etc for best practices and design patterns? A lot of the basic tutorials and literature tend to stick everything or nearly everything in a single main.lua file.
I'm currently re-writing the menus to make them look pretty with graphics, better font, and clickable buttons. I have a proof of concept working but I'm passing a lot of global state around and sending callback functions as arguments. It works but debugging this on a large application would be a nightmare. I wonder if there are tried and true patterns I ought to be using.
I realize this is overkill on a Flappy Bird clone but my goal is to engineer the hell out of this thing so I can take concepts onto future games.