CS 4280 - Final Project
Wednesday
2006.05.03
10:10 PM
Score printing on screen still not working :/
Last rules:
- use either gestures to swap pieces, or click_src then click_dest
- < L > key to switch ON/OFF light
Wednesday
2006.05.03
04:28 PM
Print text on screen still not working
Wednesday
2006.05.03
05:30 AM
To the instructor:
please let me know if you have any idea how to fix the print-text error explained below. Thanks.

Game is coming good.
To download please use the below section
Fixed many bugs.

Known Bugs
  1. Sometimes on the right side the mouse doesn't work
  2. If there is a match, either Horiz or Vert, it does not check the other direction
  3. When a match, it just substitutes the 3 involved pieces, but does not scroll the matrix
  4. Doesn't matter how many combinations I tried to print some text on the screen, it doesn't work.
    On several sources on Google who says to push the matrix, print and then restore - who says to turn OFF the lights - who says to turn OFF the texture - plus obviously the pair glMatrixMode( GL_PROJECTION ) / glMatrixMode( GL_MODELVIEW ). As I said I tried some combinations but it still doesn't work. By the way, during long debug sessions, the Score seems to work well.
  5. Scarce use of the 3D animations effects offered by openGL
ASAP
  1. Must fix the print text on screen
  2. It's strongly required a smooth transition effect while swapping objects
  3. Minor bugs in the check routines
Wish List
  1. Some background
  2. Possibly different texture, make Themes, like Fruits, or Planets, etc.
  3. Possibly some sounds
Further Rules
  1. Now player can move the pieces with "gestures", i.e. clicking on a obiect and shoving the direction - a kind of a drag-n-drop but faster
  2. Or use the old fashion click-1st_tile-click-2nd_tile situation
Monday
2006.05.01
11:50 PM
Project is almost finished but not working.
Basically when I wrote the routine to check if a mouse click has happened on a tile, I had forgotten that Windows' mapping is different from the openGL viewport' mapping.
So the mouse coords are wrong.
I need a couple days more to fix that, please.
About the remainder all should work.

Finished

Now loads til 10 different textures
Permanent mipmapped filter on textures.
Lights working
Score and score enhancements for chain hits
works both in window and fullscreen
Code wherever possible has been tested

To Do List

Urgent:
  1. Fix the mouse coords bug
  2. Add the Score Display on the right side
Required:
  1. Transition effect when swaps objects
  2. Transition effect when level upgrade
  3. A nice frame around the matrix of obj
  4. Background image under the Score Display
Un-needed:
  1. Sound
  2. A tile, when clicked, spins in its square
  3. Give to the user the choice to save/load a game.
  4. Give to the user the choice of a tile set
  5. Make couple tiles sets with shining metal or marble
  6. Enhancement of the game with special bonus for 4 and 5 equal tiles - gives right to a special explosive tile
  7. Other fancy stuff

Instructions
  1. < L > key : this is the FIRST thing to do, switch ON the light (if one doesn't turn ON the Light, the scene looks flat.
    At the beginning of the program it doesn't work. So I tried with a patch
    {
      PostMessage( NULL, WM_KEYDOWN, 76, 0);
      Sleep( 25);
      PostMessage( NULL, WM_CHAR, 76, 0);
      Sleep( 25);
      PostMessage( NULL, WM_KEYUP, 76, 0);
      firstTime = FALSE;
    }
    but it is not working.
  2. Put 3 equal tiles in a row, either horizontally or vertically
  3. Drag & Drop a Tile with the mouse (when working)

A Possible Final Look