Box2D for Flash Games
Create amazing and realistic physics-based Flash
games using Box2D
Emanuele Feronato
BIRMINGHAM - MUMBAI
Box2D for Flash Games
Copyright © 2012 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: November 2012
Production Reference: 1161112
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84951-962-5
www.packtpub.com
Cover Image by Artie Ng (artherng@yahoo.com.au)
Credits
Author
Emanuele Feronato
Reviewers
Joseph Hocking
Ali Raza
Acquisition Editor
Mary Jasmine Nadar
Commissioning Editors
Priyanka Shah
Shreerang Deshpande
Technical Editor
Manmeet Singh Vasir
Copy Editor
Laxmi Subramanian
Project Coordinator
Shraddha Bagadia
Proofreaders
Maria Gould
Cecere Mario
Indexer
Hemangini Bari
Graphics
Aditi Gajjar
Production Coordinator
Prachali Bhiwandkar
Cover Work
Prachali Bhiwandkar
About the Author
Emanuele Feronato has been studying programming languages since the early
1980s, with a particular interest in game development. He taught online programming
for the European Social Fund (ESF) and founded a web development company in Italy.
As a Game Developer, he has developed Flash games sponsored by the biggest game
portals and his games have been played more than 70 million times, and he is now
porting most of them on mobile platforms.
As a writer, he has worked as a Technical Reviewer for Packt Publishing and
published the book Flash Game Development by Example, Packt Publishing.
His blog,
www.emanueleferonato.com, is one of the most visited blogs about
indie programming.
First of all I would like to give a big thank you to Erin Catto, the guy
who developed Box2D, and to Boris the Brave for porting it to AS3.
A thank you also goes to Shraddha Bagadia and the entire Packt
Publishing team for believing in this project, as well as to the
reviewers for dealing with my drafts and improving the book.
The biggest thank you obviously goes to my blog readers and to
my Facebook fans for appreciating my work, giving me the will
to write more and more.
I also want to thank my wife Kirenia for being patient while I
was writing rather than helping her to paint the house. Awesome
job Kirenia!