Game Development with ActionScript. için kapak resmi
Game Development with ActionScript.
Başlık:
Game Development with ActionScript.
Yazar:
Moronta, Lewis.
ISBN:
9781592003815
Yazar Ek Girişi:
Fiziksel Tanımlama:
1 online resource (424 pages)
İçerik:
Title -- Copyright -- Dedication -- Acknowledgments -- About the Author -- Contents -- Introduction -- What's in This Book? -- Part One: The Essentials -- Part Two: The Intermediate -- Part Three: Interactivity and Sound -- Part Four: The Math -- Part Five: Advanced Topics -- What's on the CD? -- PART ONE The Essentials -- CHAPTER 1 The Flash Interface: Getting Acquainted -- Flash History -- Flash Today -- The Flash Tour -- The Toolbar -- Properties Panel -- The Timeline -- Symbols -- Movie Clips -- Buttons -- Graphics -- Publishing -- Summary -- Questions & Answers -- CHAPTER 2 Programming and Design: Concept to Production -- What Is Programming? -- What Is ActionScript? -- Production Pipeline -- The Idea -- The Approach -- Pseudo Code -- Setting Up the Source -- Writing the Code -- Bugs, Bugs, and More Bugs -- Summary -- Question & Answer -- CHAPTER 3 The Fundamentals: Variables, Conditionals, and Loops -- Where Do Scripts Go? -- The trace Command and Syntax -- Your First Program -- Commenting Your Code -- Introducing Variables -- The Operators -- Assignment Operators -- The Comparison Operators -- The == Operator -- The != Operator -- The and >= Operators -- The Arithmetic Operators -- Conditional Statements -- The switch Statement -- Loops and Iteration -- Summary -- Questions & Answers -- CHAPTER 4 Movie Clips and Buttons: Methods and Properties -- Programmable Buttons -- All About MCs -- MC Properties -- onClipEvent Handlers -- The Rotating Propellers Demo -- The Scrolling Street Light Demo -- The Bouncing and Scaling B-Ball Demo -- Custom Functions -- Movie Clip Navigation -- Summary -- Questions & Answers -- Exercise -- CHAPTER 5 Arrays and Objects -- What Are Arrays? -- Referencing Arrays -- Creating and Initializing Arrays -- Multi-Dimensional Arrays -- Using Arrays -- The Push and Pop Commands -- The unshift Command.

The slice and splice Commands -- What Are ActionScript Objects? -- Creating and Initializing Objects -- Using Objects -- Summary -- Question & Answer -- PART TWO The Intermediate Info -- CHAPTER 6 Dynamic Movie Clips -- Generating Random Numbers -- Duplicating a Movie Clip -- Duplicating Clips from the Library -- The attachMovie Demo -- Improving the Particle System -- Summary -- Question & Answer -- Exercise -- CHAPTER 7 Drawing with a Script -- How to Draw a Line -- How to Draw Shapes -- How to Automate Patterns -- Drawing Shapes with Fills -- Drawing Curves -- Drawing Shapes in Movie Clips -- Summary -- Question & Answer -- Exercises -- PART THREE Interactivity and Sound -- CHAPTER 8 User Interactivity: the Keyboard -- The Hidden Keypress -- Using the Key Object -- Installing Key Listeners -- A Key Object Demo -- Summary -- Questions & Answers -- Exercises -- CHAPTER 9 More Interaction: The Mouse -- Detecting the Mouse Cursor Position -- Replacing the Mouse Cursor -- Drawing Lines to the Cursor -- Programming Lines Chasing the Cursor -- Allowing the User to Draw -- Simple Drawing -- Improved Drawing -- Dragging and Dropping -- Using startDrag and stopDrag methods -- The hitTest Method -- A Solid Drag-and-Drop Demo -- Summary -- Question & Answer -- Exercise -- CHAPTER 10 Sound Effects and Music -- Using Library Sounds -- Setting Up a Sound Movie Clip -- Attaching Sounds Dynamically -- Creating a Volume Slider -- Panning Sounds -- Transforming Sounds -- Sound Monitoring -- Summary -- Question & Answer -- Exercises -- PART FOUR The Math -- CHAPTER 11 Trigonometry Made Easy -- The Unit Circle -- What Are Radians? -- Periods, Domains, and Ranges -- Trigonometric Functions -- The Sine -- The Cosine -- The Tangent -- The Tank Demo -- Summary -- Question & Answer -- Exercise -- CHAPTER 12 The Physics: Making It Feel Real -- Vector and Scalar Values.

Speed -- Velocity -- Acceleration -- Working with Gravity -- Working with Wind -- Working with Friction -- Summary -- Questions & Answers -- Exercise -- PART FIVE Advanced Topics -- CHAPTER 13 Server and CGI Communications -- Exporting HTML -- Browser Communication -- CGI Scripts -- How Info Is Stored -- The LoadVars Object -- Sending Info to the Server -- Saving Game States -- Summary -- Questions & Answers -- CHAPTER 14 Memory and Web Management -- Designing a Loader Screen -- Using the Bandwidth Profiler -- Issues with Linked Objects -- Summary -- Question & Answer -- Exercise -- CHAPTER 15 Advanced Interaction with Components -- Meet the Components -- The PushButton -- The CheckBox -- The RadioButton -- The ListBox -- The ComboBox -- The ScrollBar -- The ScrollPane -- Designing an Options Screen -- Summary -- Questions & Answer -- Exercise -- CHAPTER 16 Debugging and Avoiding Common Programming Pitfalls -- Common Pitfalls -- Cursor Position within a Clip -- From Buttons to Movie Clips to Timelines -- Working with Curly Brackets -- Using the Debugger -- Summary -- Questions & Answers -- CHAPTER 17 Matridia II: The Project -- The Idea -- The Approach -- The Setup -- The Code -- The Star Field Functions -- The Ship Functions -- The Missiles Functions -- The Enemy Functions -- The Explosions Function -- The Boss Functions -- The Bomb Functions -- The Future -- Summary -- Questions & Answers -- Exercises -- APPENDIX A Keyboard Keys and Key Code Values -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I -- K -- L -- M -- N -- O -- P -- Q -- R -- S -- T -- U -- V -- W -- X -- Y.
Notlar:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Elektronik Erişim:
Click to View
Ayırtma: Copies: