Git Product home page Git Product logo

raycaster-go-demo's Introduction

raycaster-go-demo

Demo project for using raycaster-go engine as a module.

To see it in action, see the demo video on YouTube.

Screenshot

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:

  1. Download, install, and setup Golang https://golang.org/dl/
  2. Clone/download the demo project locally.
  3. From the demo project folder, use the following command to run it:
    • go run main.go

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

raycaster-go-demo's People

Contributors

harbdog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

raycaster-go-demo's Issues

Remove windows gcc dependency

This is to remove the use of ebiten-imgui as the menu interface in favor of ebitenui in order to remove the additional dependency on gcc that imgui has when developing on Windows. This should greatly simplify the ability for anyone to be able to quickly and easily clone and run raycaster-go-demo without too much hassle.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.