Upcoming Events
Workshop on Network and Systems Support for Games (NetGames 2009)
11/23 - 11/25 @ Paris, France

LOOP 2009
11/26 - 11/29  

EVA 2009
12/4 - 12/5 @ Buenos Aires, Argentina

ICIDS 2009 Interactive Storytelling
12/9 - 12/11 @ Guimarães, Portugal

More events...


Quick Stats
6456 people currently visiting GDNet.
2341 articles in the reference section.

Help us fight cancer!
Join SETI Team GDNet!



Link to us

Link to us

  Intel sponsors gamedev.net search:   

Nintendo Wii Flash Game Creator's Guide: Chapter 5
Utilizing the Wii Remote: A Hammer Game


So far, we’ve looked at creating fairly simple games. This foundation is necessary to create games with advanced interactivity. However, though the games we’ve created are playable on the Wii,we have yet to truly take advantage of the Wii remote. In the remaining chapters, we will look at creating games creatively, using the Wii remote more as it is used in commercial Wii games.

Taking Advantage of the Wii Remote

I just mentioned that we would start taking a look at using the Wii remote more as it is used in commercial games. What does that mean exactly? One of the reasons the Wii is so popular and exciting and fun for people of all ages is that playing games on the Wii requires you to move in realistic ways; ways that simulate real life. In other words, playing a bowling game, for example, on the Wii is much more like bowling in real life than playing the same game on a traditional gaming console. This is because bowling on the Wii actually requires you to move as if you are indeed bowling. Of course, you may already know this. It might even be the reason you decided to get a Wii in the first place.

So how do you mimic that same interactivity in Flash? Though you can’t tap into the Wii remote’s motion sensors, you can do a lot to mimic them. For example, you’ll build a hammer and nail game in this chapter. In the game, you’ll have a hammer move up and down to pound in a nail when you move the Wii remote up and down. That way, the Wii remote acts as a pseudo-hammer while you’re playing the game. You’ll create the interactivity for the game using invisible buttons and simple mouse interactivity.

EXERCISE 5-1: Viewing the Flash File
EXERCISE 5-2: Creating Invisible Buttons
EXERCISE 5-3: Using Invisible Buttons
EXERCISE 5-4: Winning the Game
EXERCISE 5-5: Playing the Game Again



Exercise 5-1


Contents
  Introduction
  Exercise 5-1
  Exercise 5-2
  Exercise 5-3
  Exercise 5-4
  Exercise 5-5

  Printable version
  Discuss this article