A.I, Data and Software Engineering

Taggame loop

re-dev the first video game pong with SurfaceView and gameloop

Pong game (prototype) In this article, we recreate the two-player game Pong – the first arcade video game 1972 – for Android using Kotlin. We will implement the game SurfaceView, game loop design pattern, and code optimization for better performance. Game loop Game loop is a common design pattern in game development. It is already integrated into different game engines. Nevertheless...

Game Frame rate and character animations (part 2)

In part 1, we covered the principle of game frame rate and a useful game programming pattern for performance. This part shows the detailed implementation of a game scene with hundreds of moving characters using Android Studio and Kotlin. Image asset This game uses a free image from wild-refuge.net. Xmas girl 3 (URL) You can download any similar image (4 x 4 frames) and place it in the...

Game frame rate & Character animations (part 1)

A simple game does not always come with simple implementation w.r.t character animations. This articles will introduce a practical design pattern in game development to deal with this. How many animations in this game scene Let have a look at the famous game scene of flappy bird and try to identify how many animations. Fig 1. Flappy bird Visually, you may say there are two animations: the pipes...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Categories