Skip to content

A Minecraft inspired game engine based on WebGL

Notifications You must be signed in to change notification settings

kputnins/WebCraft

Repository files navigation

WebCraft

A Minecraft inspired game engine based on WebGL - Work In Progress

Inspired by

TypeScript Game Dev Series - GLOOM By Travis Vroman

Progress

Probably going to stop as I'm switching to Rust Screenshot

TODO

  • Move date from Level to DataStore
  • Set up World
    • Initial demo level
    • Procedural generation
  • Set up asset loading
    • Initial demo texture loading
    • Texture atlas
    • Loading phase
  • Set up Entities
    • Entities class
      • Voxel call
    • Component class
    • SafeArray class
    • Remove redundant Block class
  • Set up rendering
    • Combine block mesh
    • Optimize mesh updating
    • Refactor level code
  • Create a HTML5 HUD system
    • Add SCSS support
    • Update only on events
    • Redo debug HUD
    • Add crosshair
  • Set up Physics
    • Collisions
    • Gravity
  • Set up game states
  • Limit delta time
  • Create globals
  • Create dispose methods
  • Set up audio
  • Add more TODOs...

Done

  • Set up development project
    • Git
    • Prettier
    • Linter
  • Set up build process
    • Bundler
    • Debugging
    • Assets
  • Set up skeleton page
    • Handle canvas resizing
    • Set up game-loop
  • Set up data store
  • Set up messaging
  • Add Game class
  • Set up basic WebGL
  • Set up input handling
    • Keyboard handling
    • Mouse locking

To run

First install dependencies:

npm i

To run locally on localhost:1234:

npm start

To create a production build:

npm run build

To debug on VS Code run locally and start the debugger

About

A Minecraft inspired game engine based on WebGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published