Return to Home Page
Greg Santo's Game Programming Portfolio
   
The Great Escape


Game Description

The Great Escape is a point-and-click puzzle game. The player is given only two things: a set of tracks and a bomb. The tracks must be laid and the bomb must be rolled along them. The bomb must dodge obsticles, charge all the generators, and blow open the exit.

Programming Challenges

The major obsticle I encluntered while designing The Great Escape was MS-DOS's small 320x200 resolution. I was faced with the problem of creating a challenging puzzle game with enough screen space to allow for varying levels of complexity without sacrificing the player's interface. It was for this reason that I chose to use a small tile size for the graphics and keep the map's size no larger than the playing area (with no option of scrolling).


Features

  • Over 30 levels, exch more challenging than the first
  • Easy point-and-click interface
  • MIDI Music (uses QMidi)
  • WYSIWYG Level Editor
  • Detailed in-game instructions
  • High score screen
  • Automatic game save feature


Screenshots

The main menu
Level 5
Level 6
In-game help
The high score screen


Code Sample
The CheckLife function is called when the player looses a bomb. This function checks to see if he is out of bombs and, if so, checks to see if he got a high score.

SUB CheckLife

IF Chances <= 0 THEN

  DrawTools

  TextBox 70, 80, 180, 120

  PUT (120, 98), Small(20), PSET

  Text 97, 87, "Game Over!", 0, 0

  Text 87, 110, "Press Any Key", 0, 0

  Working = False

  DO

  LOOP UNTIL INKEY$ <> ""

   OPEN "score.dat" FOR INPUT AS #1

    FOR X = 1 TO 10

    INPUT #1, A$, TempScore

    IF Score >= TempScore THEN ScoreRank = X: EXIT FOR

    NEXT

   CLOSE #1

   IF ScoreRank <> 0 THEN GetName ScoreRank

   ScoreRank = 0

  MainMenu

END IF

END SUB


Downloads

The Great Escape.zip - Includes The Great Escape with music, level editor, and levels 1-31.
   
Copyright © 2006 Greg Santo