PacktLib: Corona SDK Hotshot

Corona SDK HOTSHOT

Credits

About the Author

Acknowledgement

About the Reviewers

www.PacktPub.com

Preface

Bat Swat – An Introduction to App Event Cycles

What do we build?

Describing the game

Defining the event flow

Creating the objects

Creating the interface

Adding the Shell

Tracking high scores

Adding finishing touches

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

SuperCargo – Using Events to Track Game Progress

What do we build?

Describing the game

Loading a level from a file

Displaying the map contents

Adding the interface

Making the game playable

Adding the Shell component

Supporting Undo

Preserving game history

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

TranslationBuddy – Fast App Development for any Field

What do we build?

Summarizing the design

Creating the account

Assembling the translator

Displaying results

Soliciting input

Maintaining a history

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

Deep Black – Processing Mobile Device Input

What do we build?

Creating the player and receiving events

Processing raw physical events

Bridging physical events to game events

Creating the world rules

Creating enemies and controlling collisions

Responding to fire controls and creating bullets

Responding to collisions and handling lives

Recognizing kills and recording scores

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

Atmosfall – Managing Game Progress with Coroutines

What do we build?

Tracking progress through the level

Constructing the enemy behavior

Creating a schedule

Scripting behavior

Controlling the boss

Cleaning up and making the game playable

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

Predation – Creating Powerful Visuals from Simple Effects

What do we build?

Planning the dissolve

Applying the dissolve

Planning the splatter

Assembling the splatter layers

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

Caves of Glory – Mastering Maps and Zones

What do we build?

Parsing a level file

Displaying objects

Creating an efficient background

Scrolling around a large level

Interacting with objects

Defining a chapter

Creating scenes for datafiles

Linking scenes together

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

The Beat Goes On – Integrating with Game Networks

What do we build?

Tracking multiple touches

Comparing touches with targets

Loading and playing music

Enabling Game Center on the Provisioning Portal

Enabling Game Center on iTunes Connect

Initializing a game network connection

Updating and reading a leaderboard

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

Into the Woods – Computer Navigation of Environments

What do we build?

Structuring the A* algorithm

Writing a custom iterator

Selecting costs for neighboring tiles

Sorting likely routes using a heap

Writing a heuristic function

Connecting all the elements

Using the implementation to find a path

Moving based on path selection

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

Underfoot – Selectively Leveraging the Physics System

What do we build?

Building physics for the map

Making characters interact with the world

Responding to collisions with other characters

Bouncing off enemies as appropriate

Controlling gravity to enable climbing

Selecting collisions by manipulating contacts

Adding polish with custom fonts

Game over – wrapping it up

Can you take the HEAT? The Hotshot Challenge

Index