VM Labs SDK Sample Code

\vmlabs\sample\Games\SameGame

Copyright © 2000-2001 VM Labs, Inc.  All Rights Reserved

April 11, 2001


Welcome to SameGame, a simple yet mesmerizing game where you delete groups of tiles for points. The larger the group, the more points you earn! Removing all the tiles on the screen wins you a bonus too!

A group is two or more tiles of the same design or colour which touch on either the left, right, top or bottom. Deleting a group causes the images above that group to drop down, forming new groups. If you find these last two sentences confusing, watch SameGame in Demo mode and all well become clear to you!

SameGame has three levels of play. In Normal mode you have 3 different types of tiles; whereas, Challenge and Ultimate modes have 4 different types of tiles. Since playing with 4 different tiles is much trickier than with 3 tiles, Challenge mode starts you off with two special tiles (randomly placed) which are switchable; this will help you in your quest to clear the entire screen!

Use the D-pad to move your cursor over the various groups and press A to delete the highlighted group. Pressing B when pointing at a special tile changes that tile. Pressing Start will exit the current game or demo.

Filename Description
sg.cnf A config file which tells SameGame where to look for artwork and sounds. This file can be copied from Contents/Flowers/sg.cnf (default) or Contents/Shapes/sg.cnf.
Contents A directory that contains the sounds and artwork files needed to play SameGame. See Contents/index.html for more information.
makefile MAKEFILE for building and running sample program.

 

Known Problems:

To make SameGame run from a DVD, do the following:

  1. Compile SameGame with ON_DVD set to 1 (this turns off the printf statements amongst other things)
  2. Copy the following to the /udf/nuon directory on the DVD:
  3. Update the PATH variable in /udf/nuon/sg.cnf to the path of the directory containing the artwork and sounds, i.e. "/udf/nuon/Contents/Flowers/".

Before attempting to load or run any of the SDK samples, make sure you have first read the Hitchhiker's Guide To NUON document.  

After that, if you're still having trouble getting this sample program to work,  click here to request assistance from developer support.

Click here for other online SDK documentation.


The artwork found in Contents/Flowers (all *.tga files) is for the sole use of SameGame and may not be used in any other free, shareware, or commercial product. Flower images © 2000 C Webb.