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: 744
Created: 2018-05-31

Others Video Games development Tutorials

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

Video Game Development in Unity

The Basics of Game Design

How To Make Video Games

Others related eBooks about Android video game tutorial

Introduction to Data Science

The demand for skilled data science practitioners in industry, academia, and government is..., download free Data Science tutorial in PDF (722 pages) created by Rafael A Irizarry ....

Solving PDEs in Python

Download free course Solving PDEs in Python, pdf file on 152 pages by Hans Petter Langtangen, Anders Logg....

IPython Interactive Computing and Visualization Cookbook

Download free course IPython Interactive Computing and Visualization Cookbook, pdf file on 548 pages by Cyrille Rossant....

Modern C PDF book

This book teaches you to take your C programming skills to new heights, whether you're just starting out with C or have more extensive experience. Organized by level, this comprehensive guide lets you jump in where it suits you best while still reaping the maximum benefits....

Arduino Development Cookbook

The single-chip computer board Arduino is small in size but vast in scope, capable of bein..., download free Arduino tutorial in PDF (246 pages) created by Cornel Amariei ....

Python tutorial for professionals

Download free Python tutorial course in PDF, training file in 201 chapters and 816 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Introduction to Spring MVC

This pdf tutorial is a step-by-step guide on how to develop a web application from scratch using the Spring Framework.Free training course material under 68 pages by Thomas Risberg, Rick Evans and Portia Tung....

Hacking Secret Ciphers with Python

Download free course Hacking Secret Ciphers with Python, pdf file on 442 pages by Al Sweigart....

Java Persistence and Hibernate Guide for developer

This PDF tutorial provides you an introduction to Java Persistence and Hibernate including the code snippets and complete working examples ,download free training document material for developer....

Bash programming ebook for professionals

Download free bash tutorial course in PDF, training file in 67 chapters and 204 pages. Free unaffiliated ebook created from Stack OverFlow contributor....