Discover Packages
github.com/harbdog/raycaster-go-demo
command
module
Version:
v0.0.0-...-6dfeff5
Opens a new window with list of versions in this module.
Published: Mar 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
raycaster-go-demo
Demo project for using raycaster-go engine as a module.
To see it in action, see the demo video on YouTube .
How to try
The demo is now available to try in the browser: https://harbdog.github.io/raycaster-go-demo/
The browser version may run much slower than running locally as an application,
and may not run very well on old or slow machines. It also requires a mouse and keyboard,
see the controls listed below.
How to run
To run the demo from source locally:
Download, install, and setup Golang https://golang.org/dl/
Clone/download the demo project locally.
From the demo project folder, use the following command to run it:
NOTE : Depending on the OS, the Ebitengine game library may have
additional dependencies to install .
Controls
Press Escape
or F1
key to show demo settings menu (also to exit the game)
Move the mouse to rotate and pitch view
Move and strafe using WASD
or Arrow Keys
Click left mouse button to fire current weapon
Use mouse wheel or press 1
or 2
to select a weapon
Press H
to holster/put away current weapon
Hold Shift
key to move faster
Hold C
key for crouch position
Hold Z
key for prone position
Hold Spacebar
for jump position
Hold ALT
key to enter mouse move mode (vertical mouse moves position instead of pitch)
Hold CTRL
key to release mouse cursor capture
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.