Archive for the ‘Game Development’ 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

Wii Simulator Created!!!

Tuesday, May 13th, 2008

Good news, for those of you who has built a PC wii but cannot play the wii games like wii sports:

Someone on youtube has created a Wii simulator that gives you a true wii experience including all of the wii-sports games. I have tried it out, and it looks pretty cool. Nice work, and keep them coming, guys!

Here are some info on the WiiPC simulator:

DOWNLOAD: http://wiisimulator.sourceforge.net/

REQUIRES 200+ MB FREE SPACE. For more info…read the other included .txt files.

Demo Video:

[youtube

embedded by Embedded Video

YouTube link to: wii simulator

Wii2DShoot code download

Sunday, January 6th, 2008

Here is the demo application I wrote in a couple of hours using XNA game studio. It was really simple. I think the Wii revolution has taught us that a game does not have to be a Hollywood blockbuster to be fun to play. I hope to write a tutorial on this sometime in the near feature so more people write their own PC-Wii games to share with others.

Download: installer, source code

Installation Notes:

Since this demo game is written using the Microsoft XNA platform, most likely you will need to download and install the following packages before you can run the game

Screenshot

Use the wiimote and nun-chuck as a drum machine

Sunday, January 6th, 2008

The wiimote and nun-chuck are perfectly setup for this. In fact, it is demoed as one of the Wii’s original applications. However, I have yet to see a Wii game that actually implements this. Well, now that you have your PC-Wii, you can download a free software to turn your PC into a drum machine! Check out the video and download the software.

embedded by Embedded Video

YouTube link to: wiimote drum machine

Download: wii-drum-machine

Author's page can be found here.

Creating Installation Package on Your Game

Thursday, January 3rd, 2008

After working on a game for weeks and finally you want to share it with friends and get them to play? Well, not quite yet. You still need to build your game into a standalone installer. Unfortunately, like most of .NET products, deployment is kind of a hassle. There are a bunch of prerequisites that the end-user would need before they can install you game.

Paul Stubbs has written a nice tutorial on how you can build a setup project for your XNA game, check it out!

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”.

          

Projects Ideas

Wednesday, January 2nd, 2008

Once you have set up the development environment, it is time to create your own game! Here are some freely available open source projects that you can build your game ontop of.

2D Fighting Game

  • ShugenDo – a next gen Mugen fighting, cross-platform, supports Windows, Linux and PS3!

[kml_flashembed movie="http://www.youtube.com/v/skfqO5qAeWo" width="425" height="350" wmode="transparent" /]

  • xnaMugen – a XNA port of the Mugen fighting engine

Space Flight Sims

RPG

RPG XNA game tutorials - Jim Perry, aka Machaira, has been working on a series on role playing game development using XNA. In this series Jim covers a whole variety of RPG specific game development topics from character properties to quests, spells and items.

Realtime Strategy

Shooting

Alienvasion – a game written by student: Calvin Liu for his final project. This game is a 3D third person space shooter featuring several powerups and increasingly difficult gameplay.

3D FPS/Adventure/RPG

Reactor 3D Engine – Reactor 3D Game Engine allows game developers to utilize XNA on Windows and XBox 360 without having to know the advanced graphics techniques required. Supports many different quaternion camera styles such as First-Person, 3rd-Person, Orbit, Free Floating, and more. Processing and loading of Half-Life .Map files as well as Half-Life 2 VBsp’s. Supports skeletal animation, boned animation, and keyframed animation actors. Newton Dynamics Engine physics support. GSE 2.0 Networking Support over Windows-Live/XBox-Live or pure .Net sockets for Windows.

Downloads

Wednesday, January 2nd, 2008

Here you may find games and applications to test your system with. Feel free to post links to your projects in the comments section of this page, and I will add them to the download list for everyone to enjoy.

Test applications

WiiRemote – A simple application to test your connectivity of the wii-mote with your PC. It also emulates mouse movements. (download, website). Here’s a video of it in action.

embedded by Embedded Video

YouTube link to: wiimote

Games

WiimoteDrumMachine – use the wiimote and nun-chuck and turn your PC into a drum machine!

embedded by Embedded Video

YouTube link to: wiimote drum machine

Wii2DShoot – a demo 2D “duck-hunt” like shooting game. Source code can be downloaded that shows you how to add Wiimote support for your games.

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 of the Wiimote supported version.

Setup Development Environment

Wednesday, January 2nd, 2008

Although WiiRemote.exe enabled us to test our system with writing any coding, to develop applications that take advantage of the full potential of the Wii-mote, we need to setup a development environment that is powerful enough for creating interesting games, and allow us to easily access the sensor data from the Wii-mote programatically.

Here are a list of tools and packages we need:

  • Visual C# 2005 Express - a Microsoft .NET programming environment for the C# language. It is very easy to learn if you have some kind of programming background, you should be able to pick up C# pretty easily.
  • Visual Studio 2005 Express Service Pack 1 – this installs the necessary updates and gets your system ready for the XNA game studio.
  • DirectX SDK – latest SDK for DirectX. “It is a collection of application programming interfaces for handling tasks related to multimedia, especially game programming and video. ” – Wikipedia.
  • XNA Game Studio 1.0 refresh – a set of classes and libraries built under the .NET framework to facilitate game programming. “Free game designers from repetitive coding, and bring all aspects of game programming under a single system” is their goal. Although it is better to use the latest version, but seems some of the samples project  currently only has a 1.0 implementation. Installing this version allows you to open up such sample projects.
  • XNA Game Studio 2.0 – version 2 of the GameStudio product.

Luckily, these tools are now FREE compared with several years ago, the visual studio alone used to cost several thousand dollars to own. So just download and install them in the order listed. After the installation is done, you may move onto the “Tutorials” section to learn about how to write your own game!