Golang conversion of raycaster engine OwlRaycastEngine using the Ebiten 2D Game Library. To see it in action visit the YouTube playlist.
To install and run from source the following are required:
- Download, install, and setup Golang https://golang.org/dl/
- Use the
go get
command to download the Ebiten 2D Game Library:[GOPATH]$ go get github.com/hajimehoshi/ebiten/...
- Clone/download this project to your
GOPATH/src
folder, for example:GOPATH/src/raycaster-go
- Now you can use the
go run
command to runraycast.go
:[GOPATH/src/raycaster-go]$ go run raycast.go
- Move and turn using WASD and Arrow Keys
- Left/right mouse click currently used for visual/console debugging