OS4 DepotLogo by Nickman 
(anonymous IP: 34.200.252.156,1586) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (331)
   o Datatype (50)
   o Demo (188)
   o Development (556)
   o Document (21)
   o Driver (90)
   o Emulation (143)
   o Game (905)
   o Graphics (477)
   o Library (104)
   o Network (215)
   o Office (60)
   o Utility (846)
   o Video (64)

Total files: 4050

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: 303  (Current version)
303  (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-2020 by Björn Hagström All Rights Reserved