<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Building your own hand-held game console with, Netduino, C# and the PIX-6T4 project</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project/RSS"></atom:link>
	<image>
		<url>http://files.channel9.msdn.com/thumbnail/e0cda418-b69f-41d5-9e87-db34f0b471d1.png</url>
		<title>Channel 9 - Building your own hand-held game console with, Netduino, C# and the PIX-6T4 project</title>
		<link></link>
	</image>
	<description>Gaming = fun, right? Writing games with C# = fun, right? Writing games with C# that runs on Netduino hardware = run, right? Wrap all that into a hand-held package and we&#39;re talking some serious fun. Funny enough, coming to us via Fabien&#39;s Bit Bucket and his PIX-6T4 posts, that&#39;s what today&#39;s project is all about. PIX-6T4 [Building your own gaming console with C# and Netduino] Build Your Own Video Game Console Join the Maker Revolution Use your console as a Turn-Key Development Board Discover The Power of Netduino by &#39;Secret Labs&#39;! Learn C# Programming Have Fun Building Your Own Games Companion Book Included With the Full Kit The goal of the PIX-6T4 and its companion book is to teach you how to use &#39;Electronic and Software Building Blocks&#39; to become a Skilled Maker and, optionally, a Mad Scientist  To achieve this, we&#39;ll break down for you the process that we followed when we set out to build a simple video game console from readily available parts. Why a video game console? Because they&#39;re fun!... because a game console touches on many fundamental electronic concepts. In addition, a game console offers countless possibilities for learning how to write software: dream up a game and build it yourself by following our examples and techniques. We chose the Netduino over other types of microcontrollers simply because the programming skills that you will learn on the .Net Micro Framework, as you discover the Netduino, will also be applicable to the full-featured .Net Framework used to build professional applications, large scale web services, mobile applications running on phones and web applications. Our hope is to empower you with life skills that can help you build a career or just build anything you can think of.  Schematics &amp;amp; Parts Here&#39;s what the schematics of the PIX-6T4 look like below. We tried to make it easy for you to build your own console from scratch if you want and since we don&#39;t expect people to be familiar with printed circuit board design tools, we decided to make the schematics available as a PowerPoint file, which most people can easily read on their systems. ...  The PIX-6T4 Source Code The PIX-6T4 code is open source and is part of the netduino helpers repository on CodePlex. The projects that you will need to build are located in the \Samples folder: The Brain ConsoleBootLoader: is the program that runs when you turn on the console. Its job is to read the content of the SD card, looking for game modules for you to select in a main menu. When a game is selected, it is dynamically loaded from the SD card and starts. When the game ends, the player is brought back to the main menu. The Games Paddles: is a two player game of Ping Pong. Each player controls a paddle with one of the analog joysticks of the console, trying to hit the ball back to the opponent. A player scores a point when the other misses the ball. MeteorsFromOuterSpace: is a game where the player controls the movement of a small ship with the left stick of the console, and fires at meteors coming from all directions with the right stick. To shoot a meteor, just point the right stick in its direction &amp;nbsp; Digging Deeper If you want to explore how the &#39;layers of the cake&#39; really work, you should dig into the netduino.helpers project: \Fun: abstracts the hardware away from the game code. It also provides a small framework to write your games simply and efficiently. \Hardware: contains all the drivers for the hardware components used to build the console. \Helpers: contains the resource loader used to read and execute games from the SD card \Imaging: provides an interface to build your game world, create and display sprites, test collisions between objects and display small and large fonts. \Math: a library of trigonometric functions, frequently needed when building games. \Sound: provides a simple method to play tunes using the standard Nokia RTTL ringtone format &amp;nbsp; Here&#39;s a couple code snips form the Meteors From Outer Space project; public GameOfMeteors(ConsoleHardwareConfig config) : base(config) {
    World = new Composition(new byte[WorldSize * WorldSize / 8], WorldSize, WorldSize);
    World.Coinc &amp;#43;= WorldCoinc;
    Ship = new PlayerMissile {
        Name = &amp;quot;Ship&amp;quot;,
        Owner = World,
        X = WorldSize/2,
        Y = WorldSize/2
    };
    Pruneau = new PlayerMissile {
        Name = &amp;quot;Pruneau&amp;quot;,
        Owner = World,
        IsVisible = false
    };
    Meteors = new Meteor[WinningNumberOfMeteors];
    for (var i = 0; i &amp;lt; Meteors.Length; i&amp;#43;&amp;#43;) {
        Meteors[i] = new Meteor(this, i);
    }
    NumberOfMeteors = StartingNumberOfMeteors;
    SpawnMeteors();
    DisplayDelay = 0;
} public override void Loop() {
    // Ship
    Ship.HorizontalSpeed = (float)Hardware.JoystickLeft.XDirection * EnginePower;
    Ship.VerticalSpeed = (float)Hardware.JoystickLeft.YDirection * EnginePower;
    Ship.Move();

    var ship = Ship;
    ApplyToreGeometry(ship);

    // Meteors
    foreach (var meteor in Meteors) {
        meteor.Move();
    }

    // Pruneau
    if (Pruneau.IsVisible) {
        Pruneau.Move();
        ApplyToreGeometry(Pruneau);
        if (AgeOfPruneau&amp;#43;&amp;#43; &amp;gt;= RottingAge) {
            Pruneau.IsVisible = false;
        }
    }
    else {
        var shootXDir = Hardware.JoystickRight.XDirection;
        var shootYDir = Hardware.JoystickRight.YDirection;
        if (shootXDir != AnalogJoystick.Direction.Center ||
            shootYDir != AnalogJoystick.Direction.Center) {

            Pruneau.ExactX = Ship.ExactX;
            Pruneau.ExactY = Ship.ExactY;
            Pruneau.HorizontalSpeed = (float) shootXDir*PruneauSpeed;
            Pruneau.VerticalSpeed = (float) shootYDir*PruneauSpeed;
            AgeOfPruneau = 0;
            Pruneau.IsVisible = true;
            Beep(2000, 20);
            Beep(1000, 20);
        }
    }

    // Display
    Hardware.Matrix.Display(World.GetFrame(0, 0));
}
 If you&#39;ve been wondering how to use Netduino, C# and the .Net Micro Framework to build something pretty cool, to build and write games, this is the project for you... &amp;nbsp; Here’s a few more links you might find interesting: Netduino Netduino Helpers library Christoc’s Netduino SamplesNetduino is opening up to an wider audience with the .Net Micro Framework v4.2 release.Net Micro Framework CodePlex Project</description>
	<link></link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 20:24:46 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 20:24:46 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Building your own hand-held game console with, Netduino, C# and the PIX-6T4 project</title>
		<description>
			<![CDATA[<p>[applause]</p><p>posted by LukePuplett</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project#c634529850667215389</link>
		<pubDate>Fri, 30 Sep 2011 13:11:06 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project#c634529850667215389</guid>
		<dc:creator>LukePuplett</dc:creator>
	</item>
	<item>
		<title>Re: Building your own hand-held game console with, Netduino, C# and the PIX-6T4 project</title>
		<description>
			<![CDATA[<p>That is NUTS! So cool to see stuff like this at play, makes me see what I do is nothing compared to the ones who remind me and prove to me why I continue to be inspired and dream to be like.</p><p>posted by LanceSeidman</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project#c634530492903155646</link>
		<pubDate>Sat, 01 Oct 2011 07:01:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project#c634530492903155646</guid>
		<dc:creator>LanceSeidman</dc:creator>
	</item>
	<item>
		<title>Re: Building your own hand-held game console with, Netduino, C# and the PIX-6T4 project</title>
		<description>
			<![CDATA[<p>Hey that is pretty good.&nbsp; Good Job!</p><p>&nbsp;</p><p>posted by Algorithum</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project#c634532780429048779</link>
		<pubDate>Mon, 03 Oct 2011 22:34:02 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project#c634532780429048779</guid>
		<dc:creator>Algorithum</dc:creator>
	</item>
	<item>
		<title>Re: Building your own hand-held game console with, Netduino, C# and the PIX-6T4 project</title>
		<description>
			<![CDATA[awesome<p>posted by anon</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project#c634542147384071196</link>
		<pubDate>Fri, 14 Oct 2011 18:45:38 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/blog/Building-your-own-hand-held-game-console-with-Netduino-C-and-the-PIX-6T4-project#c634542147384071196</guid>
		<dc:creator>anon</dc:creator>
	</item>
</channel>
</rss>