Android video game tutorial

 

Table of contents

  • Outline
  • Android Development Environment
  • The Android SDK starter package
  • The ADT plugin
  • Configuring the ADT plugin
  • Android SDK and AVD manager
  • Pointers
  • Starters: "Hello World"
  • Android Project Components
  • A Tabbed application
  • Android Manifest.xml
  • Accessing Sensors
  • GPS Sensor Access
  • Accelerometer and Access to other Sensors
  • Android and Databases

Principle of a 2D / 3D game

This is a "graphic" game, that is a "video" game in the true sense of the word. This means that images follow each other to create a cinematic effect. We must therefore define the frame rate per second (or FPS in English for Frames Per Second). The code that manages the display is a permanent loop, in which we go each time:

  • manage the actions of the user (keyboard, mouse, tap on mobile screen ...);
  • move objects, manage collisions;
  • display the complete image of the game on the screen;
  • we start again.

Development environment

I suggest Android Studio which is free. It contains all the necessary tools to develop an Android application: SDK, emulators ... If you have not already done so, create an emulator by going to the TOOLS - ANDROID - AVD MANAGER menu.

Creating a game

For the example, I propose you to:

  • place a moving ball on the screen;
  • bounce off the edges (collision detection);
  • and that we can reposition with the finger (management of the actions of the user).
Size : 925.512 Kb
File type : pdf
Downloads: 750
Created: 2018-05-31

Others Video Games development Tutorials

Video Game Development in Unity

The Basics of Game Design

How To Make Video Games

Creating Games in C++ : A Step-by-Step Guide

Others related eBooks about Android video game tutorial

Introduction to Kotlin

This course is a quick tutorial about Kotlin programming langage intended to beginners to learn how to create Android apps, free training document under 4 pages....

Classic Computer Science Problems in Python

Download free course Classic Computer Science Problems in Python, pdf file on 224 pages by David Kopec....

A Whirlwind Tour of Python

Download free course A Whirlwind Tour of Python, pdf file on 98 pages by by Jake VanderPlas....

Javafx PDF Tutorial

Download free Javafx tutorial course in PDF, training file in 21 chapters and 120 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Solving PDEs in Python: The FEniCS Tutorial I

This book offers a concise and gentle introduction to finite element programming in Python based on the popular FEniCS software library. Using a series of examples, including the Poisson equation, the equations of linear elasticity, the incompressible Navier–Stokes equations, and systems of nonl...

I Love Ruby

Download free course I Love Ruby, pdf file on 314 pages by Karthikeyan A K....

Effective AWK Programming, 5th Edition

When processing text files, the awk language is ideal for handling data extraction, report..., download free AWK Programming tutorial in PDF (572 pages) created by ....

2D Game Development: From Zero to Hero

This is a small project that aims to gather some knowledge about game development and make..., download free Game Development tutorial in PDF (260 pages) created by Penaz ....

Optimizing software in C++

This is an optimization manual for advanced C++ programmers. This book are not for beginne..., download free C++ tutorial in PDF (176 pages) created by Agner Fog ....

Problem Solving with Algorithms and Data Structures

Download free tutorial in Algorithms and data structures created by Brad Miller and David ranum....