Logo by Nickman (anonymous IP: 3.144.235.141,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
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 |