I want to develop my apps offline due to performance reasons. I wonder what would be the best approach. So far I tested 2 of them.
Approach 1. I start a basic project in online editor and then download it and use as a template. The good side is that scripts are arranged in separate files and seems that the project would be easier to mantain. However, it is very difficult to manipulate entities and so on. In general it’s not easy for me to build upon this basic template. Probably the solution would be to have all my assets in place before downoloading it but that’s rather impossible. I rarely know when I start what the game will look like at the end.
Approach 2. I download the latest release of engine from github and build from the scratch. It’s basically similar to this example: Github example. The good side is that I have a better understanding of what really happens behind the scenes. The downside is that it’s far more difficult to arrange the code into separate files. I fear that it will be hard to maintain a clean and modular code in this way.
At the moment I’m testing a 3rd approach. Namely I build a project from a scratch (like in Approach 2) but I use a modular prototype-based code arrangement (like in Approach 1) . So far I don’t know whether it is any good because I cannot get my project running
Do you have any advices here. What is the best practice or what worked for you personally?