A.I, Data and Software Engineering

Search results forkotlin

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...

Break your nails with TIMER BOMB DEFUSAL game

Are you fast and durable enough to defuse a deadly bomb? Let try to create the bomb defusal game with Android Studio and Kotlin! Video tutorial is at the end of the post. The mechanic Players need to click as fast as they can to beat the speed of the timer bomb. When the progress goes down to 0, the bomb will be disabled. In contrast, if it reaches the full bar, the bomb will explode, and it will...

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...

Don’t copy and paste sensitive information – here is why

Clipboard was created for productivity purposes but developers can easily exploit this for malicious purposes. This article will demonstrates how to access Android/iOS clipboard from an activity or background service. Clipboard access Android provides a powerful clipboard-based framework for copying and pasting. It supports both simple and complex data types, including text strings, complex data...

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