Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
iPhone Game Blueprints

You're reading from   iPhone Game Blueprints If you're looking for inspiration for your first or next iPhone game, look no further. This brilliant hands-on guide contains 7 practical projects that cover everything from animation to augmented reality. Game on!

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781849690263
Length 358 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Igor Uduslivii Igor Uduslivii
Author Profile Icon Igor Uduslivii
Igor Uduslivii
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Starting the Game FREE CHAPTER 2. Ergonomics 3. Gesture Games 4. Card and Board Games 5. Puzzles 6. Platformer 7. Adventure 8. Action Games 9. Games with Reality Index

Introducing triggers


In the game, there are special elements that change the states of specific objects and switch them on and off. They are called triggers. They can have a dozen applications: they may turn on a lift or turn off water in the pipes. The following figure shows examples of triggers:

The following are the basic variations of triggers:

  • On-floor trigger: It is activated when somebody steps on it and can be either the protagonist or any other robot.

  • Universal color trigger: It responds to a shot that hits its surface. The trigger is indifferent to the color of the shot. The fact that a bubble has touched the spot is more important.

  • Specific color trigger: This trigger reacts to shots made of a specific color: red, green, and so one. This can be tricky.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image