Following up the article “RE-DEV THE FIRST VIDEO GAME PONG WITH SURFACEVIEW AND GAMELOOP”, here is the video tutorial for another version of the Ping game. What is new? Improve the GUIBetter collision handling Challenges The source code for the project is not fully provided but you can always get the code from the video. So want to release your first game on Play/App Store? Watch the...
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...
Basic shapes collision detection without complicated maths
This article demonstrates the collision between square, circle, and points using Android Kotlin. We will focus on the programming aspect rather than using complicated mathematical equations. A video tutorial is at the end of the article. Two rectangle collision Using complicated math for rectangle collision is not always necessary. Java and Kotlin offer a convenient way to detect the collision...
Touch me if you can (V.0.1)- Hero vs monsters game
Hero VS Monsters This is a (very) simple JAVA implementation of the game “hero vs monsters” as part of the year 1 BSE lab. The implementation is mainly for demonstrating the custom view and touch event. Video tutorial is at the end of the article. The UI it will be a very simple UI with only one view (game view) that extends Android View. In the scene, a hero is trying to kill...
Create a simple YET most addictive apps/games
With simple implementation, no user can escape from this addictive app! They will cry desperately for help! Let do it! The UI Do not spend much time on this. As said, make it as simple as possible. You can use any text, images, for the activity. An activity with only one image! TRICK #01: Disable the back button To let users stick to your app, the first trick is, of course, is… to block...