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`;
- Read the Wiki on how to get started with Youngblood
- Look at some quick and dirty examples in the 'examples' folder
- Check out this repository to see a working example with bundling
To start working on the code, you just have to
- Clone the repo
npm install
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!