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 | |
| Downloads | 760 |
| Created | 2018-05-31 |
Others Video Games development tutorials
Others related eBooks about Android video game tutorial
-
How To Think Like A Computer Scientist: C++ Version
The goal of this book is to teach you to think like a computer scientist, using C++ as the programming language. ...
-
Tutorial JSF in PDF
Download free JSF tutorial course in PDF, training file in 6 chapters and 18 pages. Free unaffiliated ebook created from Stack OverFlow contributor....
-
Entity Framework tutorial for professionals
Download free Entity Framework tutorial course in PDF, training file in 23 chapters and 94 pages. Free unaffiliated ebook created from Stack OverFlow contributor....
-
ASP.NET Core 2 Succinctly
Download free course ASP.NET Core 2 Succinctly, pdf file on 109 pages by by Simone Chiaretta, Ugo Lattanzi....
-
Think Perl 6
Want to learn how to program and think like a computer scientist? This practical guide get..., download free Perl 6 tutorial in PDF (466 pages) created by Laurent Rosenfeld ....
-
VB.NET for beginners
This document is a VB.NET training tutorial for beginners who wants to learn the dot net platform with Visual Basic ,it's a free courses in PDF under 243 pages for download....
-
2D Game Development: From Zero to Hero
Download free course 2D Game Development: From Zero to Hero, pdf file on 262 pages by Self-publishing....
-
DevOps for Digital Leaders
Learn to design, implement, measure, and improve DevOps programs that are tailored to your..., download free DevOps tutorial in PDF (173 pages) created by Kieran Taylor ....
-
Introduction to VB.NET
This document is a complete PDF tutorial about VB dot NET ,free training courses under 223 pages designated to all level users by Paul Boger....
-
Using Perl 6
This book is primarily for people who want to learn Perl 6. It teaches the basics from a Perl 6 perspective, touching on variable interpolation, datastructure use, object construction, threads, closures, symbol tables, and other core features. It then introduces continuations, coroutines, binding (o...