New games every week!
All in One? Blog
1st August 2018
For the past 24 hours, I've been wondering if I could somehow compile bunches of games into bundle.exe's

-=-=-

Since the new C++ framework is stable enough to have multiple games gathered within a single directory, it should theoretically be possible to then expand that to the exe itself.
The framework source, and the system source never gets touched between each game, so only the overlying "main.cpp" will need to be retweaked.

I'm thinking of reusing the number system which is already significantly reused throughout the framework, to allow me to differentiate between all the different games in the code.
It'll mean having to do a quick search+replace of function names, each time I start a new project, but realistically that won't be anything too difficult.

Of course, in order to pick a game from within the singular bundle.exe, I'll need to come up with some kind of additional overlying Menu.cpp which will override the regular main.cpp's, and allow for an icon style flick through the included games.

.. I hate doing menus!!!

Don't expect this to happen any time soon, though. There's an awful lot of work that needs to be done, first.
Views 86, Upvotes 17  
Daily Blog , 2018 Framework
New games every week!
Site credits : Jayenkai put all his heart and soul into everything you can see on this site.
(c) Jayenkai 2023 and onwards, RSS feed 3

Blog - All in One? - AGameAWeek