Archive for the ‘Tutorials’ Category

Where to buy (the updated hardware list)

Monday, April 20th, 2009

Hi, many asked for the list of the components I mentioned in the video. I did make a post (check out the original hardware list). However, it recently dawned on me that there is actually a new way of doing this! A much easier way!

OK. So, now I offer two hardware lists if you wish to carry out this project:

The lazy guy’s list

  • A wireless Wii sensor bar (~$16) – Yes, a year after I created this site. You can now actually buy the wireless sensor bar on Amazon. It’s about $16, so this will bring the total cost above my original estimate of $50, but hey, not that much! Check out the amazon store list above.
  • A Wii-mote (~$35 on amazon) -  the wii-mote is plentiful in a local store near you (e.g. BestBuy, Walmart, Target, ToyRus etc..). Or if you wish to buy online, that’s fine too. Check out the amazon store list above.
  • A usb bluetooth dongle (optional $3~$17) – this allows the PC communicate with the wiimote. If you have a laptop, your laptop may already have built-in bluetooth capability, in that case, you will not need this.
  • A Wii nun-chuck (optional, $19) – you will need this if you intend to play games that uses the extra input. Since currently, most wii games do not require a nun-chuck, I anticipate there will also be a lot of games that do not need this and therefore not including the nun-chuck as a must into the list.

The “I want to learn something about electronics” list

  • A Wii-mote (~$35 on amazon) – although the Wii console is scarce, the wii-mote seems to be plentiful in a local store near you (e.g. BestBuy, Walmart, Target, ToyRus etc..) or you can also buy online (check out the amazon store above)
  • A usb bluetooth dongle (optional $3~$17) – this allows the PC communicate with the wiimote. If you have a laptop, your laptop may already have built-in bluetooth capability, in that case, you will not need this. Check out the amazon store above.
  • >=2 IR-LED ($4) – for building your own sensor bar. You can buy these in your local RadioShack. If you buy them $3 for 20, click here).
  • A Wii nun-chuck (optional, $19) – you will need this if you intend to play games that uses the extra input. Since currently, most wii games do not require a nun-chuck, I anticipate there will also be a lot of games that do not need this and therefore not including the nun-chuck as a must into the list.
  • Bread-board (~$9, optional). You will need this if you cannot find any soldering equipment in your school to put your electric circuit together. The cheaper alternative is to use electric tape to stick the components together, but that would be very sturdy. :)
  • Misc: some batteries, some wires, soldering equipment, some extra IR-LEDs if you intend to develop more advanced-applications. I also assume you already own a PC or a laptop

Tutorial – How to add Wii-mote support for Rocket Commander

Wednesday, January 2nd, 2008

Rocket Commander – be a commander of a rocket spaceship and dodge asteroids in high speed action. The original game can be downloaded here. I took the source code and modified it with Wii-mote support and here is the source code. In this tutorial, I will show you how this is done (Coming soon……)

Getting Started

Wednesday, January 2nd, 2008

This tutorial shows you how to create a simple “Hello World!” program in XNA.

Let’s first start up Visual C# Express 2005.

[img of Visual C# Express 2005]

Next, click File-New Project. Now you should see a list of templates. Choose “Windows Game (XNA)” to create a new XNA game project. Let’s name it – HelloWorld, and click OK. Now a project with a bunch of generated files will created, and the first HelloWorld application is done. Let’s compile it (SHIFT+CTRL+B) and run it (F5) to see what it looks like.

[img of HelloWorld Application] 

What’s Next?

  • Check out XNA 101.net for a list of beginner tutorials on how to create 2D sprite and control its movement, which are the essentials for writing your very first PC-Wii game!
  • Go to the XNA Creators Club site for a list of more advanced tutorials ranging from “3D audio” to “Chase Cams” to “creating particle effects”.