Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Mobile Games Development (IMAT2608/3608) - Lecture 1

This lecture covers the introduction to the course and some basic information regarding Android and Java.
by

Jethro Shell

on 29 September 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Mobile Games Development (IMAT2608/3608) - Lecture 1

Mobile Games Development (IMAT2608/3608) - Lecture 1
Lecture 1 - Introduction to Mobile Gaming Using Android
Assessment and materials
Brief History of Mobile Games
Introduction to Android
Types, Collections and Garbage collection
Object and classes
Assessment and materials
Java basics
Assessment
Assessment of module is split:
Coursework
Group elevator pitch - 15%
Game development - 35%
Exam - 50%
Materials
Books available in the library:
Zigurd et al : Programming Android
(not focused on game development but useful)
Rogers: Learning Android Game Programming
(Based largely on using the "And" framework)
DiMarzio: Android 4 Games Development
(General walk through of a game development)
Zechner: Beginning Android Games
(Good overall dicsussion of subjects)
Some basics:
Types and creation
Collections
Garbage collection
Collection
- Basic form of collection in Java.
List
- Ordered collection, can contain duplicates, map element to the index.
Set
- Unordered with no duplictes
Map
- Like list but maps keys instead of integers.
Iterator
- Returns elements from collection to a call of next (i.next();)
Others:
Arraylist, LinkedList, HashSet, HashMap, TreeMap (Take a look at the JavaDoc for these if needed).
Garbage Collection
Java is garbage-collected language.
Code does not need memory management
Code creates new objects, allocates memory and stops using them.
Dalvik runtime will delete them and compress memory.
Dr Jethro Shell
jethros_at_dmu.ac.uk

Mobile Games and Android
What's so special about mobile gaming?
Why use Android?
Mobile gaming was big before IOS and Android.
Smart phones and tablet changed mobile gaming.
Dedicated market places for applications.
Ubiquitous, "device in your pocket" gaming.
Multiple input modalities: GPS, accelerometer, multi-touch.
Gaming no longer confined to hardcore gamers.
Changing developers strategies: indie, fremium etc.
Two fundamental types in Java: objects and primitive types.
Primitive types: boolean, byte, short, int, long, char, float, double.
Object is made up of data and the procedure. A class defines fields (data) and methods (procedure).
Collection
- Basic form of collection in Java.
List
- Ordered collection, can contain duplicates, map element to the index.
Set
- Unordered with no duplictes
Map
- Like list but maps but maps keys instead of integers.
Iterator
- Returns elements from collection to a call of next (i.next();)
Others:
Arraylist, LinkedList, HashSet, HashMap, TreeMap (Take a look at the JavaDoc for these if needed).
Garbage Collection
Java is garbage-collected language.
Code does not need memory management
Code creates new objects, allocates memory and stops using them.
Dalvik runtime will delete them and compress memory.
Worldwide, over 70% of smartphones in Q4 of 2012 were shipped with Android according to IDC.
Most of Android code is open-source under Apache License 2.
Android language is heavily based on Java.
Java is an object orientated (OO) language which allows abstraction of complex concepts.
Linux Kernel
- Provides basic drivers
Runtime and Dalvik
- spawning and running applications.
Libraries
- Java SE and C++ libraries
Application Framework
- Ties together system libraries and runtime.
SDK
- Develop applications for Android.
Two fundamental types in Java: objects and primitive types.
Primitive types: boolean, byte, short, int, long, char, float, double.
Object is made up of data and the procedure. A class defines fields (data) and methods (procedure).
byte
: The byte data type is an 8-bit signed two's complement integer, -128 to a value of 127
short
: The short data type is a 16-bit signed two's complement integer, -32,768 to a value of 32,767
long: The long data type is a 64-bit two's complement integer. Large numbers.
boolean
– A 1-bit true or false value that can only be in one of those states. The Java keywords for the values are “true” and “false”, which represent 1 and 0, respectively.
char
– A single character, such as the letter “A” or the symbol “#”. Note that lowercase and uppercase characters are different, so “a” and “A” are two different characters.
String
– String data is a number of characters combined together.
double
- hold very large (or small) numbers. This data type is generally used as the default data type for decimal values, generally the default choice.
float
- Float data type is a single-precision 32-bit IEEE 754 floating point. Float is mainly used to save memory in large arrays of floating point numbers.
Comments
SINGLE LINE COMMENTS

Single line comments begin with two forward slashes: //. Everything on the line after the forward slashes makes up the comment and is completely ignored by the program.
MULTI LINE COMMENTS

Sometimes we want longer comments that span more than one line. In that case we use an opening marker to mark the start of the comment: /*, and a closing marker to mark the end of the comment: */.
Brief History of Mobile Games
Programmable calculator games, handheld games -> early products.
First mobile game, Tetris 1994.
Snake (selected models 1997) preloaded in 1998.
Hand held gaming: N-Gage mobile phone focused on Gaming 2003, lure people away from Gameboy.
Evolution of mobile gaming: Nintendo introduce Gameboy advance and DS. Touchscreen elements. 3DS offers larger, higher resolution screen and 3D. PSP is introduced to the market -> advanced gaming.
Advent of smart phones: Introduction of iPhone and the emergence of Android on devices. Additionally the impact of Google Play and Apple App store.
Advance of technology and interaction: Use of social media, inputs and location (think of Ingress)
Full transcript