PAXsims

Conflict simulation, peacebuilding, and development

Operation POMPEY WiiDOM

The following was contributed to PAXsims by Sally Davis.


 

After 5 days in quarantine I found a way to get out of the house without spreading the plague to my building-full-of-elderly-neighbours. It turns out you can connect Wii hardware to a PC by Bluetooth. I’m using the WiiBuddy API to get hold of the input in Unity:

  • The balance board returns a Vector4 with the load on each of the four load sensors (top left, top right, bottom left, bottom right). A quick bit of maths identifies individual steps, and while the player is stepping, the character walks forward.
  • The wiimote returns a Vector3 for roll pitch and yaw. I’m using pitch to rotate the character left/right, to copy the Wii Fit cycling game where you hold the wiimote sideways like bike handles.

Then I’m using MapBox‘s Unity SDK, which lets me stream in outstandingly optimised OpenMaps data within the bounds of the camera view. I’ve got a really basic setup going at the moment, using flat terrain and satellite imagery. It’s extruding buildings where the data exists—turns out that’s not many in Portsmouth (and, hilariously, Spinnaker Tower is rendered as a generic towerblock), but major cities are pretty well modelled.

At the moment it doesn’t care where you walk, so I can set out across the ocean, and walk through buildings. It’s awfully tempting to turn this into a Godzilla Simulator. As a 1-day “can I escape Wii Fit Island and go for a walk somewhere new?” experiment, I’m declaring operation POMPEY WiiDOM a success as-is.

I’m going to tidy things up, replace the somewhat inappropriate character artwork (I happened to have characters for a wargame lying around), and add some game mechanics like counting distance travelled and flags to collect. Then I’ll see about releasing an copy for the Good of Humanity in these strange times.

 

2 responses to “Operation POMPEY WiiDOM

  1. erosunciragi 18/05/2020 at 10:02 am

    Which driver do you use ? I have WiiBuddy but it couldn’t find my balance board.

  2. Jeremy Sepinsky 23/03/2020 at 5:13 pm

    Great use of the Benny Hill Theme :-)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: