OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Demo » Misc » mazerays.lha

Description: A simple raycaster engine. Run around in a maze.
Install: mazerays.lha
Size: 164kb 5
Date: 31 Mar 09
Author: Sean McKean, AmigaOS 4.x compile by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spotup/gmail com
Category: demo/misc
License: Other
Distribute: yes
Min OS Version: 4.0
maze_rays v0.2, written by Sean McKean

Description:
    Run through a randomly-generated maze with mouse and keyboard,
    making use of a top-down map and a first-person perspective.
    Features a simple raycaster engine.

Requirements:
    SDL             www.libsdl.org

Build instructions:
    Type  make  at a suitable terminal to build the executable.

To run:
    Type  ./maze_rays  at the terminal to run under Linux.

Controls:
    On the command-line, include argument "-mazewidth=W" (or "-mw W") to
    change the maze width to integer W. The same holds for maze height:
    "-mazeheight=H" or "-mh H". Take care that both the maze width and
    height are >= 3 and that they are odd numbers, otherwise the program
    will throw an error.

    In the game, the mouse position affects the player direction in the
    maze. To move forward, press the left mouse button. To move
    backward, press both the left and right mouse buttons
    simultaneously. The arrow keys also work as expected.

    To switch to and from fullscreen-map mode, either tap the right
    mouse button or press tab. From fullscreen mode, the left mouse
    button moves the center of the map, while movement can be achieved
    with the arrow keys.

Updates:
    v0.2: Fixed visual fishbowl distortion; thanks to Charles Huber.

TODO:
    Make code more readable.
    Make maze start and end locations somewhat random.
    Include an audible and/or visual pinging system to locate the exit.
    Include an intro/outro to maze.
    Add start-screen menu to adjust options.


Questions? Ideas? Comments?
Email: <smckean()yvn.com>





Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment