Goblin's Cube

(Redirected from User:Sponters/goblins cube)
Jump to navigation Jump to search
General Goblin's Cube Sponters Puzzle game 1.1.0 GNU General Public License v2.0 Download Source Downloadable via the Homebrew Browser

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.

Axis Face
-Z Right
+X Top
+Z Left
-X Bottom
+Y Front
-Y Back
Axis Face
-Z Left
+X Bottom
+Z Right
-X Top
+Y Front
-Y Back

Movement

Whole Cube

Once you place a hand at a desired position you can hold the cube with or 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 to turn the cube.

Rotating faces

Once you place a hand at the desired face, hold or 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
Action
Shortcuts to turn the whole cube
Hold the cube (used to change the front face)
Hold the current piece (used to rotate a face)
Win the game button !!!
Restart game
Undo
Exit
Action
Look around at the side faces of the cube
Hold the cube (used to change the front face)
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