TiConf 2014 Game Dev with Titanium and Platino 5/10/14

Post on 10-May-2015

280 views 0 download

Tags:

description

TiConf 2014 Game Dev with Titanium and Platino 5/10/14

Transcript of TiConf 2014 Game Dev with Titanium and Platino 5/10/14

Game Development and GamificationWith Titanium, Platino and Hyperloop

John Gould, MCTS, TCD

CFO, Codex Labs, LLC

President, Avatar Software, LLC

Avatar Software@AvatarJohnhttp://blog.avatar-soft.com

Codex Labs@CodexLabs / @CodexCastshttp://blog.codexlabs.com

Game DevelopmentComing Soon!

Blogs and Twitter

Why Game Development With Platino?

Development Cost of AAA Titles

Specialized Languages and Complex Engines

Rise of RetroGaming

Use of ExistingSkills in Titanium

Gamification

So What Can I Start on Right Away?

• Important to Have Realistic Expectations• Types of Games YOU CAN DO TODAY:

• 80’s Arcade-Style (Stay Tuned!)• Board Games• Puzzle• 2D Adventure / Platforming• Educational• Mobile Platform-Centric / 2D Physics

4

Lanica Website: http://lanica.co• Platino modules

Platino Ruble:https://github.com/Lanica/Platino.ruble• Install ruble• Create new Platino project

Demo• Ruble vs. Lanica samples

(Alloy not Included, so use CommonJS!)• Game View• Setting the Scene

How To Get Started

Sprites and SpriteSheets

• Using Lanica Animo Sprites

• Using SpriteSheets in Platino

• Creating Sprites in Platino

6

Basic: Using Sprite Sheets with Transforms

Neat Trick: Intro to Particles!

Background Animations

Action / Arcade Basics – Setting Stuff Up

Start by setting up your in-game elements• (Don’t forget projectiles, explosions, and

other ephemeral objects!)

JavaScript Arrays for keeping track of multiple enemies

Layout “gotcha’s”

Setting up the Game Loop

Set up listeners for touch-screen input• How to tell where the user touched the

screen

Multi-Touch – Module required

Start Your Engines!

Collision Detection

• Here’s where Platino REALLY shines!• Displaying collision effects – particle

time!• Hiding “dead” enemies

Adding sound effects

“Game Over” conditions

Scoring

Levels / Increasing Challenge

Now, for the Polish…

Hyperloop!

• What is it? Ti.Next compiler.

• What does it mean for the future of game development?

• FPS Demo – Game of Life in current Titanium vs. Hyperloop

12

GameStick Demo?

NOPE!

We’ll keep working on it…

And now for something completely unfortunate…

Gamification

• Definition

• Game Mechanics – Adding a Point System to your apps

• Levels, Leaderboards and other Metaphors

• Dynamics that Drive User Adoption

• Be creative!

Conclusion

• This is realistically within your grasp!

• Start by Doing

• Then Start Over by Planning

• Have Fun!

Questions?

Questions