To start the game, the first thing I need is a game loop. Kotlin’s timers, unfortunately, lack some clear documentation. The first thing I noticed was that the timer functionality is, once again, just a wrapper of Java timer and not available for Javascript. This really makes me think I’m using a second-class version of
Continue reading Game loop in Kotlin
Tag: game loop
Initial game loop
My design for the initial game loop is simple, but we need to break it down a bit into two parts: Main character is gathering herbs, and a building is producing herbs. Herbs we’ll for now store as a simple field in the main game model – the model being a structure that contains the
Continue reading Initial game loop