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

The Basics of Game Design

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

Video Game Development in Unity

How To Make Video Games

Others related eBooks about Android video game tutorial

PC Assembly Language

The purpose of this book is to give the reader a better understanding of how computers really work at a lower level than in programming languages like Pascal. The tutorial has extensive coverage of interfacing assembly and C code and so might be of interest to C programmers who want to learn about...

Learn Programming

Download free course Learn Programming, pdf file on 465 pages by Antti Salonen....

Tutorial Maya in PDF

Download free Maya tutorial course in PDF, training file in 7 chapters and 23 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Learning Android

A complet Android Course in PDF format, this is a free Android ebook created for educational purposes by Stack Overflow documentation....

Think DSP: Digital Signal Processing in Python

This book is an introduction to signal processing and system analysis using a computational approach, using Python as the programming language. The premise of this book (like the others in the Think X series) is that if you know how to program, you can use that skill to learn other things. By the ...

Learning React Native

React Native is an open-source mobile application framework created by Facebook. It is an ..., download free React Native tutorial in PDF (101 pages) created by ....

Python for Everybody

This book assumes that everyone needs to know how to program, and that once you know how to program you will figure out what you want to do with your newfound skills. Download free ebook intituled Python for Everybody, creative commons document...

Elementary Algorithms

This book introduces about elementary algorithms and data structure. It includes side-by-s..., download free Algorithms tutorial in PDF (642 pages) created by Larry LIU Xinyu ....

Introduction to Programming Using Java

Designed to support an introductory programming course, this book teaches you concepts of problem-solving and object-orientated programming using a fundamentals-first approach. As beginner programmers, you learn critical problem-solving techniques then move on to grasp the key concepts of object-ori...

Perl tutorial for professionals

Download free Perl tutorial course in PDF, training file in 39 chapters and 109 pages. Free unaffiliated ebook created from Stack OverFlow contributor....