This project showcases various interactive WebGL modules, including:
- Primitives: Basic geometric rendering
- Shoot 'Em Up: A top-down space shooter demo
- Procedurally Generated Tiles: Dynamic tile-based environments
... and more!
To launch this project with live reloading in Visual Studio Code:
- Open the project folder in VS Code.
- Install the Live Server extension from the Extensions Marketplace if you haven’t already.
- Right-click on
index.html
(or any HTML file you want to preview). - Select "Open with Live Server".
- Your default browser should open at
http://127.0.0.1:5500/
or a similar local address.
This allows you to develop and test as you go.
If you'd prefer using the terminal, you can try:
- Navigate to your project directory in terminal, then run:
python3 -m http.server
- This starts a server at
http://localhost:8000
but you can adjust the port by appending one:
python3 -m http.server 8080
- If you have Node.js installed, install the lightweight server:
npm install -g http-server
- Then, start the server with:
http-server
By default, it will serve the current directory at http://localhost:8080