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

How To Make Video Games

The Basics of Game Design

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

Others related eBooks about Android video game tutorial

C# Features Succinctly

Download free course C# Features Succinctly, pdf file on 77 pages by Dirk Strauss....

Visual Basic .NET Notes for Professionals

Download free course Visual Basic .NET Notes for Professionals, pdf file on 148 pages by Stack Overflow Community....

Python Datetime free PDF

Download free course Python Datetime free PDF, pdf file on 3 pages by tutorialkart.com....

JavaScript for impatient programmers

Download free course JavaScript for impatient programmers, pdf file on 526 pages by Axel Rauschmayer....

: Just Enough R: Learn Data Analysis with R in a Day

Learn R programming for data analysis in a single day. The book aims to teach data analysis using R within a single day to anyone who already knows some programming in any other language. The book has sample code which can be downloaded as a zip file. ...

Cryptography in .NET Succinctly

Download free course Cryptography in .NET Succinctly, pdf file on 67 pages by Dirk Strauss....

C# : Practical Guide for Programmers

Download a free Csharp tutorial in PDF by Michel de Champlain .A complet training document under 262 pages for intermediate level-users....

Getting started with Raspberry PI

Getting started with Raspberry Pi, lessons and examples to download for free in PDF format, tutorial created by StackOverflow....

Classic Computer Science Problems in Python

This book deepens your knowledge of problem-solving techniques from the realm of computer science by challenging you with time-tested scenarios, exercises, and algorithms. As you work through examples in search, clustering, graphs, and more, you'll remember important things you've forgotten and disc...

Python 3 Patterns, Recipes and Idioms

This book is aimed at more experienced Python programmers who are looking to deepen their understanding of the language and modern programming idioms. Much of the material focuses on some of the more advanced techniques used by libraries, frameworks, and applications. ...