OS4 DepotLogo by mason 
(anonymous IP: 3.137.174.216,2193) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Demo » Misc » mazerays.lha

Mazerays

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: 320  (Current version)
320  (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

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