Hobbies And Interests
Home  >> Internet Games >> Wii Games

How to Make Wii Flash Games

The Wii has taken over America. As the No. 1, hottest selling console in history, it's an extremely attractive console to develop games for. Because the Wii also supports Flash in the web browser, one of the easiest ways to make a game for the Wii is to design one in Flash and upload it to the Internet. Making a Flash game for Wii is just like making a Flash game for the personal computer, but there are a few limitations you have to consider.

Things You'll Need

  • Adobe Flash CS4 Professional Edition
  • Nintedo Wii
  • Wii remote API for Flash
Show More

Instructions

    • 1

      Develop your Flash game as you would any other by starting new document and building the pieces your game will need to function.

    • 2

      Implement the Wii remote API by downloading and extracting it into the same directory as your Flash project file and placing the following line at the top of each code file you wish to use the Wii remote feature in:

      import com.wiicade.*
      GO

      This line should go into each code file for each layer you wish to use. For example: if you have a code file for Layer 1 Frame 1 and a separate code file for Layer 2 Frame 1, you must place the statement at the top of both files in the Flash Studio Actions editor.

      Once you have the necessary import statement in your code, you can begin using the advanced features of the WiiCade Remote API. Here's a good example of how it should look:

      import com.wiicade.*
      GO

      function onEnterFrame() {
      var remote = Wii.getPrimaryRemote()
      GO

      if(remote.isDown(WiiRemote.BUTTON_B))
      {
      var x = remote.getCursorX()
      GO
      var y = remote.getCursorY()
      GO
      //Shoot something!
      }
      }

      Don't leave anything out or it won't work properly.

    • 3

      Upload your game to an existing web host or one of your own.

    • 4

      Navigate to your game through the browser and play it.


https://www.htfbw.com © Hobbies And Interests