Coding4Fun

10 . NET Programming Projects for Wiimote, YouTube, World of Warcraft, and More

Af Dan Fernandez, Brian Peek
Detaljer O'Reilly Media, Incorporated
ISBN 9780596520748
Sprog Engelsk
Vælg mellem
Pris 337,00 kr.
Paperback

Ikke på lager

Ikke på lager. Bestil nu og få den leveret om ca. 12 hverdage

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 with C#, VB, ASP.NET, WPF, XNA Game Studio, Popfly, as well as the Lua programming language.

If you love to tinker, but don't have time to figure it all out, this book gives you clear, step-by-step instructions for building ten creative projects, including:

  • Alien Attack: Create a 2D clone of Space Invaders with XNA for the PC, Xbox 360, and Zune
  • LEGO Soldier: Create an action game using Popfly with a custom-built virtual LEGO character
  • World of Warcraft RSS Feed Reader: Use WoW's customizable interface to have feeds pop up while you're gaming
  • InnerTube: Download YouTube videos automatically and convert them to a file format for off-line viewing
  • PeerCast: Stream video files from any PC
  • TwitterVote: Create custom online polls on Twitter
  • WHSMail: Build a website with ASP.NET for Windows Home Server that lets you view the messages stored on a computer with Outlook
  • "Wiimote" Controlled Car: Steer your remote-controlled car by tilting the Wii Remote controller left and right
  • Wiimote Whiteboard: Create an interactive whiteboard using a Wii Remote
  • Holiday Lights: Synchronize your holiday light display with music to create your own light show

The perfect gift for any developer, Coding4Fun shows you how to use your programming skills in new and fun ways.

"This book is amazing The scope is so wonderfully broad that anyone who has an interest in designing games at any level should read this book."

-- Alex Albrecht, Creator of Diggnation / Totally Rad Show / Project Lore

Dedications;Preface; Who This Book Is For; 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;Gaming;
Chapter 1: Alien Attack;
1.1 Overview;
1.2 Setup;
1.3 Windows Version;
1.4 Xbox 360 and Zune Support;
1.5 Final Thoughts;
Chapter 2: LEGO Soldier: A 2-D LEGO Side-Scroller Popfly Game;
2.1 Overview;
2.2 Popfly Game Creator Terms;
2.3 Building LEGO Soldier Step-by-Step;
2.4 Building the Popfly Game;
2.5 Designing Custom Actors;
2.6 Importing Actors;
2.7 Designing the Main Scene;
2.8 Building Game Properties;
2.9 Building Behaviors;
2.10 Building the Main Scene Behaviors;
2.11 Building the LEGO Security Actor Behaviors;
2.12 Building the Fire Bullet Projectile Behaviors;
2.13 Building the LEGO Skeleton Behavior;
2.14 Adding Behaviors for the Barrel Actor;
2.15 Building the HealthBar Behaviors;
2.16 Adding the Blind Scientist Behaviors;
2.17 Publishing Your Game;
2.18 Final Thoughts;
Chapter 3: FEED READER: An In-Game RSS Reader for World of Warcraft;
3.1 Overview;
3.2 Before We Get Started;
3.3 Understanding the Feed Reader Addon;
3.4 Feed Grabber;
3.5 Final Thoughts;Software and Web;
Chapter 4: InnerTube: Download, Convert, and Sync YouTube Videos;
4.1 Overview;
4.2 How InnerTube Works;
4.3 How YouTube's API Works;
4.4 Building Classes for YouTube Feeds and Videos;
4.5 Calling the InnerTubeService Class;
4.6 Downloading Videos from YouTube;
4.7 Converting YouTube Videos Using ffmpeg;
4.8 Syncing YouTube Videos to iTunes and Zune;
4.9 Putting It All Together;
4.10 Setting Up the InnerTube WPF Application;
4.11 Building the InnerTube UI;
4.12 InnerTube Skeleton;
4.13 Dissecting MainWindow.xaml;
4.14 Final Thoughts;
Chapter 5: PeerCast: Watch Videos on Your PC Anywhere in the World;
5.1 Overview;
5.2 A Tour of PeerCast;
5.3 How PeerCast Works;
5.4 Building the Application UI;
5.5 Final Thoughts;
Chapter 6: TwitterVote;
6.1 Overview;
6.2 Building TwitterVote;
6.3 Displaying Results with Popfly;
6.4 Final Thoughts;
Chapter 7: WHSMail: An Outlook Webmail Add-in for Windows Home Server;
7.1 Overview;
7.2 Understanding the Setup;
7.3 Architecture;
7.4 Building the Host Application;
7.5 Windows Communication Foundation (WCF);
7.6 Using Outlook and MAPI;
7.7 ASP.NET "Client";
7.8 Deployment;
7.9 Running the Application;
7.10 Final Thoughts;Hardware;
Chapter 8: Wiimote-controlled Car;
8.1 Overview;
8.2 Building the Hardware;
8.3 Building the Software;
8.4 Using the Application;
8.5 Final Thoughts;
Chapter 9: Wiimote Whiteboard;
9.1 Overview;
9.2 Defining an Interactive Whiteboard;
9.3 Using the Wii Remote Infrared Camera;
9.4 Using IR Pens;
9.5 Setting Up Your Project;
9.6 Warping the Camera Coordinates;
9.7 Touch Calibration;
9.8 Putting It All Together;
9.9 Using the Software;
9.10 Final Thoughts;
Chapter 10: Animated Musical Holiday Lights;
10.1 Overview;
10.2 Building the Hardware;
10.3 Writing the Software;
10.4 Final Thoughts;Using the C4fStyle File for WPF Projects; C4fStyle Overview;Colophon;