Organizing a Collection of Mini Games?
Posted: Mon May 30, 2016 6:06 am
Hey all!
So I'm working on a game with a group of people that would essentially be a compilation of mini games, a la wariorware, mario party, etc. We've been working on our mini games separately and I'm starting to piece them together.
The obvious issues is of course that there are now about 5 different games with 5 different main files and 5 different sets of love.load, love.update, and love.draw, a slew of paths to images that are now incorrect, and a dozen variables that mean three dozen different things for different games.
I was wondering if anyone had any experience with organizing dependencies like this, or knew of any trick in LÖVE that could help me out with merging these separate games, possibly local name spaces? Even if its a way or design pattern to design future mini games, that would be stellar.
So I'm working on a game with a group of people that would essentially be a compilation of mini games, a la wariorware, mario party, etc. We've been working on our mini games separately and I'm starting to piece them together.
The obvious issues is of course that there are now about 5 different games with 5 different main files and 5 different sets of love.load, love.update, and love.draw, a slew of paths to images that are now incorrect, and a dozen variables that mean three dozen different things for different games.
I was wondering if anyone had any experience with organizing dependencies like this, or knew of any trick in LÖVE that could help me out with merging these separate games, possibly local name spaces? Even if its a way or design pattern to design future mini games, that would be stellar.