Coding4Fun /
How would you like to build an Xbox game, use your Nintendo Wiimote to create an electronic whiteboard, or build your own peer-to-peer application? Coding4Fun helps you tackle some cool software and hardware projects using a range of languages and free Microsoft software. Now you can code for fun wi...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, Calif. :
O'Reilly,
2008, ©2009.
|
Edición: | 1st ed. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Coding4Fun; What You Need to Use This Book; How This Book Is Organized; Conventions Used in This Book; About the Code; Using Code Examples; Comments and Questions; Safari℗ʼ Books Online; Acknowledgments; From Brian Peek; I. Gaming; Setup; Windows Version; InputManager; Back to the Game; Seeing the Title Screen; Game Screen; Sound engine; Player ship and sprites; Player shots; Scoring and lives remaining; Enemies; EnemyGroup; Collision detection and explosions; Running the Application; Xbox 360 and Zune Support; Zune; Final Thoughts; 2. Lego Soldier: A 2-D Lego Side-Scroller Popfly Game.
- Popfly Game Creator TermsBuilding Lego Soldier Step-by-Step; Building the Popfly Game; Designing Custom Actors; Exporting a Lego Model; Cropping out Empty Space; Upload Images to Popfly; Building an Actor in the Actor Designer; Adding a Health Bar and a Scoreboard; Importing Actors; Designing the Main Scene; Adding the Two Cave Background Actor Files; Tiling the Background; Tiling the Ground Floor; Designing the First Half of the Scene; Designing the Second Half of Our Scene; Building Game Properties; Building Behaviors; Building the Main Scene Behaviors.
- Building a Property Change Behavior to Reset the Health PropertyCreating a Custom Code Behavior; Adding Main Actor Behaviors Using Shortcuts; Building the Catapult Behavior; Building the Lego Security Actor Behaviors; Setting a Random Jump Behavior; Adding a Random Motion Behavior; Adding a Shooting Behavior; Adding a Disappear Behavior; Building the Fire Bullet Projectile Behaviors; Creating a Custom Code Behavior to Lower the Health Property; Building the Lego Skeleton Behavior; Updating the Jump Behavior; Creating a Behavior to Follow the Main Actor; Setting the Skeleton Disappear Behavior.
- Creating a Custom Code Behavior to Lower the Health ValueAdding Behaviors for the Barrel Actor; Adding the Disappear Behavior; Building the HealthBar Behaviors; Creating a Scene Change Behavior to End the Game; Adding the Blind Scientist Behaviors; Adding Random Left and Right Motion Behaviors; Adding a Behavior to Lower the Health Value; Adding the Scene Change Behavior to Win the Game; Publishing Your Game; Final Thoughts; 3. Feed Reader: An In-Game Rss Reader for World of Warcraft; Feed Reader; Feed Reader Slash Commands; Before We Get Started; Variable scopes; Lua functions.
- Understanding Lua tablesFeed Reader & s Lua table; FrameXml 101; AddOn Studio for designing FrameXml; Templates; Events; Understanding the Feed Reader Addon; How Feed Reader and Feed Grabber Work; The Feed Reader Ui; Defining a variable as a saved variable; Registering for Warcraft events; The SelectFeed and SelectFeedItems functions; The SelectFeedItem function; The UpdateFeeds and UpdateFeedItems functions; The UpdateFeeds function; The UpdateFeedItems function; Updating the summary; OnClick event for Feed buttons; OnClick event for FeedItem buttons; Adding a basic slash command; Feed Grabber.