9
The entire contents of this document are subject to copyright with all rights reserved. All copyrightable text and graphics, the selection, arrangement and presentation of all information and the overall design of the document are the sole and exclusive property of Virtusa. Copyright © 2011 Virtusa Corporation. All rights reserved 2000 West Park Drive Westborough MA 01581 USA Phone: 508 389 7300 Fax: 508 366 9901 Game Development on the Android Platform using AndEngine Ramindu Deshapriya

Tech Talk on Mobile game development

Embed Size (px)

DESCRIPTION

Tech talk conducted for University students on Mobile Game Development, focusing on the Android platform.

Citation preview

Page 1: Tech Talk on Mobile game development

The entire contents of this document are subject to copyright with all rights reserved. All copyrightable text and graphics, the selection, arrangement and presentation of all information and the overall design of the document are the sole and exclusive property of Virtusa.

Copyright © 2011 Virtusa Corporation. All rights reserved

2000 West Park DriveWestborough MA 01581 USAPhone: 508 389 7300 Fax: 508 366 9901

Game Development on the Android Platform using AndEngine

Ramindu Deshapriya

Page 2: Tech Talk on Mobile game development

2

Recognize any of these?

Page 3: Tech Talk on Mobile game development

3

How is mobile gaming different from other platforms?

• Portable : You can carry around your game with you, and play it when you’re bored! Great for those short periods of time when you have nothing else to do

• Special Features: The latest mobile games make use of smartphone features such as gyroscope, accelerometer, touch screen etc

• Simple: Think about it! It’s the simple arcade and puzzle-style games that have been most successful so far.

Page 4: Tech Talk on Mobile game development

4

Why should you develop games for mobile?

• Explore new areas: Mobile application development for smartphones is a new paradigm, you could come up with the next great idea!

• Simple and effective: You can build a pretty simple game for mobile and it could still become a mega hit

• Fun: Mobile game development is fun, as we’ll see shortly

• Profit: Develop a game using minimum resources, yet you could make a lot of money

Page 5: Tech Talk on Mobile game development

5

Types of Mobile Games – From a developer’s perspective

• Physics/Puzzle: Angry Birds, Cut the Rope

• Endless Runners: Temple Run

• Flick: Flick Golf

• Action/Adventure (on-screen controls): Caligo Chaser

• Everything!: Pocket God

Page 6: Tech Talk on Mobile game development

6

Game Engines for Mobile

• Do we really need to use game engines? Not really.

• But a game engine gives the best and most efficient solution

• Examples for game engines on mobile (2D): Cocos2D, AndEngine

• Game Engines let you apply things like,

• Collision detection

• Physics

• Sensor management

• Animation

easily on your mobile game.

Page 7: Tech Talk on Mobile game development

7

AndEngine

• One of the most popular game engines for Android

• Links:

• https://github.com/nicolasgramlich/AndEngine - Source Code

• http://andengine.com – Official website

• Free and Open Source

• Has been used to develop great games: Chalk Ball, Wheelz, Farm Tower and many more

Page 8: Tech Talk on Mobile game development

8

Let’s develop a game!

• We have a 3-wheeler

• Oncoming traffic

• Move forward without hitting any of the traffic

Onwards!

Page 9: Tech Talk on Mobile game development

www.virtusa.com

© 2011 All rights reserved. Virtusa and all other related logos are either registered trademarks or trademarks of Virtusa Corporation in the United States, the European Union, and/or India. All other company and service names are the property of their respective holders and may be registered trademarks or trademarks in the United States and/or other countries.