Inspiration

Wii sports was a gamechanger for interactive motion-based games, and I've always been interested in creating a motion-controlled game of my own. HackNotts 25 was my chance to do this.

What it does

This is a medieval swordfighting game using a Wii remote (or Wiimote). The original intention was to have multiple games (like Wii Sports) but this proved unachievable.

How to play

Connect your Wiimote to your computer using bluetooth (you don't need a sensor bar). WiiPair is helpful for this. The game will then pick up your remote automatically.

Now you can select your opponent; they are ordered from easiest (the Black Knight) to hardest (the Crimson Crusader). Make sure your Wiimote is placed on a flat surface since it will calibrate the sensors before the game starts.

After the countdown, the game is on! You will always move towards your opponent, but you can use the left and right dpad buttons to strafe left or right, and if you sense an attack coming you can press the down dpad button to jump backwards as a dodge. Once in range of your enemy, press the B button to thrust your sword at your opponent. A successful hit scores you a point. The first to 8 points wins! If at any point you want to reset the orientation of the sword, you can press the A button.

How we built it

Blood sweat and caffeine. On the technical side, I used the Godot game engine with a library called GDWiiInput which is a wrapper for a Wiimote input library called Wiiuse. The motion of the sword is controlled using the orientation of the Wiimote. The rest is standard game dev stuff.

Challenges we ran into

Other than not being able to implement more games, I wanted to use more motion controls, e.g. for moving the player, but the accelerometer proved too unreliable for that to be possible.

Accomplishments that we're proud of

Getting the motion controls to work, actually creating a 3d game (for the first time), writing a banger of a soundtrack (it's an arrangement of the Wii Sports theme combined with the classic medieval piece Greensleeves)

What we learned

3d game dev, bluetooth shenanigans

What's next for Yii Olde Sports (Team 9)

Graudation, but potentially more hackathons and game jams in the future.

Built With

  • godot
  • wiimotes
Share this project:

Updates