Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

2020-01-01_about_restarting_from_scratch.md 3.7KB

4 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Title: The pros and cons of restarting from scratch
  2. Date: 2020-01-01 00:00
  3. Category: News
  4. Slug: the-pros-and-cons-of-restarting-from-scratch
  5. Lang: en
  6. ![Happy 2020][screenshot]
  7. Anyone, who watches our progress long enough, can say that we restarted the development from scratch plenty of times.
  8. Even before releasing ["OGS Mahjong"][ogs-mahjong-1], we changed the underlying technology more than once. After that, we did it again several times, throwing away already completed features.
  9. It seems that right now we have less completed features than before the release of ["OGS Mahjong"][ogs-mahjong-1]. It's true, but not entirely.
  10. When ["OGS Mahjong"][ogs-mahjong-1] was released, we had a descent looking (for that moment) open-source game, that worked under Windows and Linux. With some luck and effort it still works today, but not out of the box.
  11. Some parts of the underlying technology did not age very well. And fixing these problems today will require us to invest a lot of time into it.
  12. Even setting the building environment for the game is time-consuming, because the game had some very particular dependencies.
  13. So, as Michael stated before, we are trying to find the set of technologies, that will resolve two problems at the same time:
  14. * greatly decrease the amount of effort needed to setup a building environment;
  15. * age better.
  16. During this year, Michel, who has some experience with teaching kids to code, added one more goal - making the simple game should be easy enough for the kid to understand.
  17. So, we divided everything we wanted in two parts.
  18. The first part is making an easy to use instrument that a child can use to create a simple game, and a professional or hobbyist can use to test new ideas quickly. This instrument should require zero time to setup the working environment, but should still be highly customizable. After many hours of arguing, we decided that this instrument should be web-based (self-hosted, preferably working locally). This instrument is [MUROM][murom] (named after one famous Russian city), and right now it highly customizable and works in the browser with zero setup time. [MUROM][murom] can be used to create simple games, but it's far from ready. And the third goal is also ahead.
  19. We will start to work on the second part after completing the first part. It will include the native part of the engine. We'll try to let the web-based engine and the native engine use the same code for game logic, but we haven't decided on how exactly will we achieve this feature. Probably, we will have to use meta-language that can be translated into both JavaScript and C++. Also, creating separate plugins for something that is impossible in the web version (for example, using specific hardware or accessing a local file system) will still be required.
  20. Will we ever start to work on the second part? We hope so. We're planning to use [MUROM][murom] to remake ["OGS Mahjong"][ogs-mahjong-1], so some things will be done just in order to make it possible.
  21. And even if we will complete only the first part and [MUROM][murom] will just be a quick&dirty prototyping tool, it will be a tool we use, and we'll try to make it useful.
  22. When you throw away all the code, one thing remains. That's experience. Every restart will make you slightly better at understanding what you are actually doing. But it's important to complete something from time to time. Otherwise, you can find yourself stuck in the endless loop of new beginnings.
  23. And our own main goal for 2020 will be to break out of this loop and complete something.
  24. Happy new year, everyone! Stay tuned!
  25. [screenshot]: ../../images/2020-01-01-ny.jpg
  26. [ogs-mahjong-1]: ../game/ogs-mahjong-1.html
  27. [murom]: http://opengamestudio.org/murom