Goblin's Cube Wii

From GameBrew
Revision as of 03:16, 16 August 2022 by HydeWing (talk | contribs)
Goblin's Cube
File:Goblinscubewii.jpg
General
Authorsponters
TypePuzzle
Version1.1.0
LicenseGNU General Public Licence v2.0
Last Updated2009/06/10
Links
Download
Website
Source

Goblin's Cube is Rubik's Cube game that uses the wiimote's and nunchuk's accelerometers to control the cube.

Controls

The game's current version assumes that the wiimote will be held with the right hand and the nunchuk with the left hand.

Orientation

Cube

At any moment the cube has one face called the Front face, which is always visible on the screen. Using this face as reference, the game defines the other faces as: Top, Bottom, Left, Right and Back.

Hands

The wiimote's and the nunchuk's motion detection are used to move the hands around the cube. Each hand has only six possible positions available, depending on which axis (relative to the control) the gravity vector is pointing, as shown in the following table.

Wiimote Axis Face
-Z Right
+X Top
+Z Left
-X Bottom
+Y Front
-Y Back
nunchuk Axis Face
-Z Left
+X Bottom
+Z Right
-X Top
+Y Front
-Y Back
Coordinate system used by Wii Remote

Movement

Whole Cube

Once you place a hand at a desired position you can hold the cube with Wiimote A Button or Nunchuk C Button‎ and move the hand to another position, thus causing the cube to turn and change its Front position. You can also use the shortcuts at Wiimote DPad to turn the cube.

Rotating faces

Once you place a hand at the desired face, hold Wiimote B Button or Nunchuk Z Button‎ to grab the piece, then rotate the control as you would rotate that face. For the Front, Back, Left and Right position the rotation mimics the real movement; as for the Top and Bottom the control must be twisted around the Y axis. The best way to understand these instructions is to just try it and see how controls work.

Buttons

Right hand Left hand
Wiimote Action
Wiimote DPad Shortcuts to turn the whole cube
Wiimote A Button Hold the cube (used to change the front face)
Wiimote B Button Hold the current piece (used to rotate a face)
Wiimote 1 Button Win the game button !!!
Wiimote 2 Button Restart game
Wiimote Minus Button Undo
Wiimote Home Button Exit
Nunchuk Action
Nunchuk Control Stick‎ Look around at the side faces of the cube
Nunchuk C Button‎ Hold the cube (used to change the front face)
Nunchuk Z Button‎ Hold the current piece (used to rotate a face)

Building

Libraries needed to build this game from source

  • FreeTypeGX by Armin Tamzarian for font rendering
  • Metaphrasis by Armin Tamzarian for font texture converting and instruction texture converting
  • Vorbis used to load ogg sound samples
  • Libpng used to load instructions texture

Downloading libraries

You can follow the above links and download these libraries individually, cross-compiling some of them before using.

Or you can download directly this package with all of them.

Changes

v1.1.0

  • Added instructions screen

v1.0

  • Added online highscore

v0.9.1

  • Removed debug information from highscore screen

v0.9

  • Added local highcore record

v0.8

  • Added support for ogg sound files

v0.7

  • Added sound
  • Fixed bug where a face of the cube would turn in the wrong axis

v0.6

  • Initial version

Credits

Libraries

  • FreeTypeGX by Armin Tamzarian for font rendering
    • Metaphrasis by Armin Tamzarian for font texture converting
    • Freetype ported by Tantric to load font images
  • Libogc's developers for allowing all this to work
  • Libpng used to load instructions texture
  • Vorbis used to load ogg sound samples

Game

  • Hand model, hand textures and sounds by Bruno
  • Cube texture and game logo by Bota
  • Online highscore hosting by NextIS

External links

Advertising: