OS4 DepotLogo by Alessandro Bacchia 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Demo » Misc » mazerays.lha


Description: A simple raycaster engine. Run around in a maze.
Download: mazerays.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 164kb
Date: 31 Mar 2009
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
FileID: 4700
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 323  (Current version)
323  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
maze_rays v0.2, written by Sean McKean

    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.

    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.

    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.

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

    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 © 2004-2024 by Björn Hagström All Rights Reserved