Code Monkey home page Code Monkey logo

noa's Introduction

noa-engine

An experimental voxel game engine.

Some projects using noa:


Usage

The easiest way to start building a game with noa is to clone the examples repo and start hacking on the code there. The comments in the hello-world example source walk through how to instantiate the engine, define world geometry, and so forth. The example repo also shows the intended way to import noa's peer dependencies, test a world, build for production, etc.

Docs

See the API reference for engine classes and methods.

Documentation PRs are welcome! See the source for details, API docs are generated automatically via npm run docs.

Status, contributing, etc.

This engine is under active development and contributions are welcome. Please open a discussion issue before submitting large changes. PRs should be sent against the develop branch!

Code style/formatting are set up with config files and dev dependencies, if you use VSCode most of it should work automatically. If you send PRs, please try to be sorta-kinda consistent with what's already there.

Change logs

See history.md for full changes and migration for each version.

Recent changes:

  • v0.33:

    • Much improved API docs
    • Terrain now supports texture atlases! See registry.registerMaterial.
    • Added a fast way to specify that a worldgen chunk is entirely air/dirt/etc.
    • Modernized keybinds to use KeyboardEvent.code strings, and changed several binding state properties
    • Bunch of internal improvements to support shadows - see examples
  • v0.32: Fixes npm versioning issue - no code changes.

  • v0.31:

    • Change the speed of the world! See noa.timeScale
    • Now possible to control chunk processing order: noa.world.chunkSortingDistFn
    • Much improved type exports and API docs
  • v0.30:

    • Engine now a named export, use import {Engine} from 'noa-engine'
    • many performance and size optimizations
    • now generates proper type declarations and API references!
    • can now configure separate vert/horiz values for chunk load distance
    • core option tickRate is now in ticks per second, not ms per tick
    • adds several init options, e.g. maxRenderRate, stickyFullscreen
  • v0.29:

    • maximum voxel ID is now 65535
    • adds option worldGenWhilePaused
    • adds option manuallyControlChunkLoading and related APIs
    • performance and bug fixes

Credits

Made with ๐Ÿบ by @fenomas, license is MIT.

Uses Babylon.js for 3D rendering.

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.