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

Video Game Development in Unity

How To Make Video Games

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

Others related eBooks about Android video game tutorial

Python 3 Tutorial for beginner

Download Python PDF Tutorial for free, it consisting of 20 chapters and 74 pages covering all the most important Python concepts. This tutorial is intended for beginner programmers, and we recommend you to go through all the chapters, to get the most out of it as possible....

Python Tutorial for Beginners in PDF

In this tutorial, we will introduce you to the basic concepts of Python programming in an informal manner....

Getting started with PowerShell

Download free tutorial about PowerShell, it's a powerful and very flexible language that is relatively easy to understand. PowerShell allows you as a system administrator to create scripts that help you automate certain tasks in a simple and very practical way....

Learning akka PDF course

Download free Akka tutorial course in PDF, training file in 9 chapters and 29 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

C programming tutorial for professionals

Download free C language tutorial course in PDF, training file in 63 chapters and 342 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Python Notes for Professionals

Download free course Python Notes for Professionals, pdf file on 855 pages by Stack Overflow Community....

Python For Loop free PDF

Download free course Python For Loop free PDF, pdf file on 5 pages by tutorialkart.com....

Learning Statistics with R

R is the world's most popular language for developing statistical software: Archaeologists use it to track the spread of ancient civilizations, drug companies use it to discover which medications are safe and effective, and actuaries use it to assess financial risks and keep economies running smooth...

How to Build a SharePoint Website

Download free SharePoint tutorial in pdf, training document on 11 pages for beginners....

Download Hibernate Tutorial

Download free Hibernate Tutorial for Beginners, training course material, a PDF file created by coreservlets.com....