Category: gamedev (page 1 of 1)
Kotlin Game Development: Finalizing The Game
October 20, 2018
This is the last part of the “Kotlin Game Development” series and we are going to add the “game over” scene to our snake game and also reflect on the whole process. It might be helpful to read the previous posts first in order to understand what’s going on.
Kotlin Game Development: Model
October 18, 2018
We need a model layer to define what objects will exist within our game. We can define any object but since we’re working on the snake game it makes sense to start with the essentials: snake and apple. Feel free to add more objects such as bonuses if you think it would make the game more interesting.
Kotlin Game Development: Main Menu
May 30, 2018
Most of the games have a main menu because we might not always know what the user wants to do when he launches a game. He might want to start a new game, load the saved game data or modify the game settings but we will have a very simple menu in the Snake game which will have only one option: start a new game.
Kotlin Game Development: Game Loop
May 9, 2018
Every game has a game loop. It is a simple loop that should be familiar to every programmer. We can think of a game as a sequence of static images changing fast enough to create an illusion of motion. The purpose of the game loop is to keep generating new frames as long as the loop lasts and, as with any loop, it should not last forever so we must have some way of breaking the loop, usually when a player decides to quit the game.
Kotlin Game Development: Controller Input
May 2, 2018
Controllers are devices that can register players’ actions and we want our players to be able to affect the course of a game, otherwise it’s just a fancy movie. In more technical terms it means that every game has a state and the game controllers are devices that can be used to alter that state.
Kotlin Game Development: Creating a Scene
May 2, 2018
Every game is different but, luckily for us, all video games share a common set of components and patterns. There are things that may be specific to a certain genre but on a high level all games are more or less the same and they all have the following components:
Kotlin Game Development: Introduction
May 2, 2018
I’ve always been interested in game development since I’ve got my first video game console: Dendy, that was a hardware clone of the Nintendo Entertainment System. I’ve enjoyed playing video games but I was also interested in how those games worked under the hood. I knew nothing about programming and even computers in general but I was sure that game development is a lot of fun.