In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Goblin's Cube"

From WiiBrew
Jump to navigation Jump to search
(Relinked download to a Google Code archive)
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Infobox homebrewapp
+
{{Infobox homebrew
 
| title      = Goblin's Cube
 
| title      = Goblin's Cube
 
| image      = [[File:GobliscubeLogo.png]]
 
| image      = [[File:GobliscubeLogo.png]]
| desc       = Rubik's Cube game
+
| type       = puzzle game
| type        = Game
 
| license    = GNU General Public License v2.0
 
 
| author      = [[User:Sponters|Sponters]]
 
| author      = [[User:Sponters|Sponters]]
| display     =  
+
| maintainer  =
| version     =  
+
| contributor =
| download    = [http://goblins-cube.googlecode.com/files/goblin.zip download]
+
| portedby    =
| source      = [http://code.google.com/p/goblins-cube/downloads/list source]
+
| version     = 1.1.0
| website    = [http://code.google.com/p/goblins-cube/ code.google.com]
+
| licence     = GNU General Public License v2.0
| peripherals = {{Wiimote}} {{Nunchuck}}
+
| download    = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/goblins-cube/goblin_v1.1.0.zip
| hbc         = 1
+
| website    =  
 +
| discussion  =
 +
| source      = http://code.google.com/p/goblins-cube/downloads/list
 +
| peripherals = {{Wiimote}} {{Nunchuk}} {{FrontSD}} {{Internet}}
 +
| hbb         = yes
 
}}
 
}}
  
'''Goblin's Cube''' is Rubik's Cube game that uses the wiimote's and nunchuck's accelerometers to control the cube.
+
'''Goblin's Cube''' is Rubik's Cube game that uses the wiimote's and nunchuk's accelerometers to control the cube.
  
 
== Controls ==
 
== Controls ==
  
The game's current version assumes that the wiimote will be held with the right hand and the nunchuck with the left hand.
+
The game's current version assumes that the wiimote will be held with the right hand and the nunchuk with the left hand.
  
 
=== Orientation ===
 
=== Orientation ===
  
 
==== Cube ====
 
==== 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".
+
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 ====
 
==== Hands ====
The wiimote's and the nunchuck'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. These
+
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.
  
 +
{| border="0" style="width:50%"
 +
|
 +
{| class="wikitable" style="left;text-align:left;"
 +
|-
 +
! {{Wiimote}} Axis || Face
 +
|-
 +
| -Z || '''Right'''
 +
|-
 +
| +X || '''Top'''
 +
|-
 +
| +Z || '''Left'''
 +
|-
 +
| -X || '''Bottom'''
 +
|-
 +
| +Y || '''Front'''
 +
|-
 +
| -Y || '''Back'''
 +
|}
 +
|
 +
{| class="wikitable" style="left;text-align:left;"
 +
|-
 +
! {{nunchuk}} Axis || Face
 +
|-
 +
| -Z || '''Left'''
 +
|-
 +
| +X || '''Bottom'''
 +
|-
 +
| +Z || '''Right'''
 +
|-
 +
| -X || '''Top'''
 +
|-
 +
| +Y || '''Front'''
 +
|-
 +
| -Y || '''Back'''
 +
|}
 +
|
 +
[[File:Wiimote_axis2.png|right|200px|Coordinate system used by Wii Remote]]
 +
|}
 +
 +
=== Movement ===
 +
 +
==== Whole Cube ====
 +
 +
Once you place a hand at a desired position you can hold the cube with {{WiimoteAButton}} or {{NunchukCButton‎}} 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 {{WiimoteDPad}} to turn the cube.
 +
 +
==== Rotating faces ====
  
=== Right hand ===
+
Once you place a hand at the desired face, hold {{WiimoteBButton}} or {{NunchukZButton‎}} 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.
{| class="wikitable" style="left;text-align:center;"
+
The best way to understand these instructions is to just try it and see how controls work.
 +
 
 +
=== Buttons ===
 +
 
 +
{| border="0" style="width:75%;text-align:left"
 +
! Right hand || Left hand
 +
|- valign="top"
 +
|
 +
{| class="wikitable" style="left;text-align:left;"
 
|-
 
|-
 
! {{Wiimote}} || Action
 
! {{Wiimote}} || Action
Line 49: Line 105:
 
| {{WiimoteHomeButton}}  || Exit
 
| {{WiimoteHomeButton}}  || Exit
 
|}
 
|}
 
+
|
=== Left hand ===
+
{| class="wikitable" style="left;text-align:left;"
{| class="wikitable" style="left;text-align:center;"
 
 
|-
 
|-
! {{Nunchuck}} || Action
+
! {{Nunchuk}} || Action
 
|-
 
|-
| {{NunchuckControlStick‎}} || Look around at the side faces of the cube
+
| {{NunchukControlStick‎}} || Look around at the side faces of the cube
 
|-
 
|-
| {{NunchuckCButton‎}}  || Hold the cube (used to change the front face)
+
| {{NunchukCButton‎}}  || Hold the cube (used to change the front face)
 
|-
 
|-
| {{NunchuckZButton‎}} || Hold the current piece (used to rotate a face)
+
| {{NunchukZButton‎}} || Hold the current piece (used to rotate a face)
 +
|}
 
|}
 
|}
  
[[category:Homebrew in Development]]
+
== Building ==
 +
 
 +
=== Libraries needed to build this game from source ===
 +
* [[FreeTypeGX]] by Armin Tamzarian for font rendering
 +
** [[Media:FreeType-PPC.rar|FreeType Wii]] ported by Tantric, needed by [[FreeTypeGX]] to load font images
 +
* [[Metaphrasis]] by Armin Tamzarian for font texture converting and instruction texture converting
 +
* [http://www.vorbis.com/ Vorbis] used to load ogg sound samples
 +
* [http://www.libpng.org/pub/png/libpng.html 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 [http://goblins-cube.googlecode.com/files/wii_libs_package.zip 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
 +
 
 +
[[Category:Homebrew in Development]]
 +
[[Category:Homebrew using FreeTypeGX]]

Latest revision as of 21:31, 20 August 2022

Goblin's Cube
GobliscubeLogo.png
General
Author(s)Sponters
TypePuzzle game
Version1.1.0
LicenceGNU General Public License v2.0
Links
Download
Source
Downloadable via the Homebrew Browser
Peripherals
Wiimote.svg Nunchuck alternative.svg Loads files from the Front SD slot Internet

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.svg Axis Face
-Z Right
+X Top
+Z Left
-X Bottom
+Y Front
-Y Back
Nunchuck alternative.svg 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 Nunchuck 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 D-Pad to turn the cube.

Rotating faces

Once you place a hand at the desired face, hold Wiimote B Button or Nunchuck 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.svg Action
Wiimote D-Pad 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 - Button Undo
Wiimote HOME Button Exit
Nunchuck alternative.svg Action
Nunchuck Control Stick Look around at the side faces of the cube
Nunchuck C Button Hold the cube (used to change the front face)
Nunchuck 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