Actionscript-3-0-game-programming
800 East 96th Street Indianapolis, Indiana 46240 USA
ActionScript 3.0 Game Programming University
Copyright © 2008 by Que Publishing All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patentliability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. ISBN-13: 978-0-7897-3702-1 ISBN-10: 0-7897-3702-7 Library ofCongress Cataloging-in-Publication Data: Rosenzweig, Gary. ActionScript 3.0 game programming university / Gary Rosenzweig. p. cm. ISBN 0-7897-3702-7 1. Computer games—Programming. 2. Computer animation. 3. ActionScript (Computer program language) I. Title. QA76.76.C672R73 2007 794.8'1526—dc22 2007028659 Printed in the United States of America First Printing: August 2007
Associate Publisher
GregWiegand
Acquisitions Editor
Laura Norman
Development Editor
Laura Norman
Managing Editor
Gina Kanouse
Project Editor
Anne Goebel
Copy Editor
Keith Cline
Senior Indexer
Cheryl Lenser
Proofreader
Heather Waye Arle
Technical Editor
Cheryl Brumbaugh-Duncan
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks have beenappropriately capitalized. Que Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.
Publishing Coordinator
Cindy Teeters
Book Designer
Anne Jones
Warning and Disclaimer
Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitnessis implied. The information provided is on an “as is” basis. The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of programs accompanying it.
Senior Compositor
Gloria Schurick
Graphics
William Follett Eve Park
Bulk Sales
QuePublishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact U.S. Corporate and Government Sales 1-800-382-3419 corpsales@pearsontechgroup.com For sales outside of the U.S., please contact International Sales international@pearsoned.com
Contents at a Glance
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. Introduction UsingFlash and ActionScript 3.0 ActionScript Game Elements Basic Game Framework: A Matching Game Brain Games: Memory and Deduction Game Animation: Shooting and Bouncing Games Picture Puzzles: Sliding and Jigsaw Direction and Movement: Space Rocks Casual Games: Match Three Word Games: Hangman and Word Search Questions and Answers: Trivia and Quiz Games Action Games: Platform Games Game Worlds: Drivingand Exploration Game Index
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 Flash and Game Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 Who Is This Book For? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 What Do You Need To Use This Book? . . . . . . . . . . . . . . . . . . . . . .3 PrerequisiteKnowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 Software Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 Source Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 Using the Example Games in Your Projects . . . . . . . . . . . . . . . . . . . .4 What You’ll Find in This Book . . . . . . . . . . . . . . . ....
Regístrate para leer el documento completo.