/webgl-game

WebGL project to develop a game. The objective is to insert the ball on the point for that.

Primary LanguageJavaScriptMIT LicenseMIT

WebGL game

Requirements

  • Browser suports WebGl. You can test on this website

  • Textures doesn't work on chrome (use Firefox or Edge), change flags on chrome (security problem) or run: ./run.sh

  • Images to textures must be:

    • 128 x 128
    • 256 x 256
    • 512 x 512

Run

Just open html file (WebGL.html) with browser and load csv file with labirinth. With mouse moves the ball until the destination.

Manager

  • Mouse: incline the world

  • Mouse scroll: move away the world (on perspective projection)

  • Keyboard directional keys: move the world just to visualization

  • Reset bottom: remove the world rotation

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details