Categoryfull-stack

full-stack category

Tutorial: Multi-touch gesture for android

T

Multi-touch gestures are very useful in many common scenarios, such as zooming, panning. For game development, handling multi-touch is essential. This post will give a quick guide for handling multi-touch points. Project structure We create a new project name MultiTouch with Java and add a new class named GameScene as a subclass of android.view.View. The basic GameScene class is as follows...

THE JOEL TEST quick note: 12 STEPS TO BETTER CODE

T

Recently, I came across a company’s profile and found their Joel test. Basically, it is for a better quality of software team/company. So I decided to share it here in the simplified version. The great part about it is that it takes about 3-5 minutes compared to approx 6 years to understand SEMA. The Joel Test Joel test questions The neat thing about The Joel Test is that it’s easy to get a...

WHAT IS GIT REBASE?

W

Rebasing is the process of moving or combining a sequence of commits to a new base commit. Rebasing is most useful and easily visualized in the context of a feature branching workflow. The visualized general process is as the following: From a content perspective, rebasing is changing the base of your branch from one commit to another making it appear as if you’d created your branch from a...

Ping the pong redev video tutorial

P

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

r

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

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