Hot answers tagged

2

From user744's answer: e.g., .../MainMenu/Loading was different than .../Loading/MainMenu, In the second case, when Loading completes, it will pop MainMenu and, presumably, push GamePlay to replace it. The resulting stack would, then, be Loading/GamePlay. MainMenu has disappeared and the Loading screen never goes away. After Loading completes and ...


2

You don't need to follow a game-programming programme to learn how to program games. It helps only on some aspects. Personal experience I've started to learn programming in high-school. We were free to chose the end-of-year project we had to do, and my friend and I decided to do a game. It was in VB6, the language we had learned the whole year. ...


1

The Singleton pattern is sometimes(!) by some(!) people considered an anti-pattern because it takes measures to make it impossible for more than one object of the class to exist and also provides access to that object from everywhere turning it into a global variable in disguise. This does not mean that it is bad when you have an object where you usually ...


1

Thinking of something like ROTK series, every scenario has a starting date and would benefit from holding the game time as one of its attributes, considering that many of its methods would need to access it. Also, if you think of saving/loading a game, the time should belong to the scenario on the data file - a scenario would then represent the whole game ...



Only top voted, non community-wiki answers of a minimum length are eligible