Hello everyone. I just made two games in OF, and I would like to merge them into one. Is there a way to do this? Like adding files to on src folder and renaming them? Or do I have to copy all my code into one?
Thanks
Hello everyone. I just made two games in OF, and I would like to merge them into one. Is there a way to do this? Like adding files to on src folder and renaming them? Or do I have to copy all my code into one?
Thanks
this is a very difficult question to answer, as it very much depends on what your projects are doing and how they are to work together.
what I would recommend as a first step is changing each game so that they are their own class, then in ofApp you can call either game1.draw() or game2.draw() etc etc. Then you’d be able to work on the desired behaviour
Hello Miles.
Thank you for your reply. I will give that a try!