Wondering what’s next for npm?Check out our public roadmap! »

    youngblood
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.6 • Public • Published

    Build status npm npm bundle size

    youngblood.js

    youngblood.js is a simple game development framework for web browsers, written in TypeScript. The aim of this framework is to be simple to use and understand. The JavaScript code for setting it up is just a few lines of code:

    <canvas></canvas>
    <script src="youngblood.js"></script>
    <script>
      new yb.Game()
        .startRendering();
    </script>

    You can also find the package on NPM, which means that you can use it from a proper setup by installing it:

    npm install youngblood

    And then importing the stuff you need in your code:

    import { Game } from `youngblood`;

    Getting Started

    Contributing

    To start working on the code, you just have to

    1. Clone the repo
    2. npm install
    3. npm build

    At this point, you should be able to run the examples included with this codebase! If you would like to contribute, please read the contribution guide before doing so!

    Install

    npm i youngblood

    DownloadsWeekly Downloads

    3

    Version

    0.3.6

    License

    ISC

    Unpacked Size

    5.32 MB

    Total Files

    118

    Last publish

    Collaborators

    • avatar