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

1.1.1 • Public • Published

An Incredibly Easy-to-Learn Game Engine


Baby is ridiculously easy to learn. And incredibly powerful.


Baby provides the easy-to-use animation model of Alice3, built on the powerful foundation of BabylonJS. It is ideal for junior programmers writing simple 2D and 3d games, animations, and stories.

Web-based, effortlessly multi-player, integrated physics engine, javascript/typescript, 3D, and much more.

Here's your first working program:

let app = new Baby()

// create two cubes, change their colors, and move them in
// opposite directions (by default, actions take 1 second each)
app.floor(20,20,5) // 20x20 grid, highlight every 5 
let cube1 = app.cube().color('yellow').move('left',5)  
let cube2 = app.cube().color('blue').move('right',5)  
Sorry, your browser doesn't support embedded videos.

Check out Tutorials and Docs

Find them here

Built on BabylonJS

BabylonJS is awesome. Best-in-class graphics, performance, and tools. Supports the latest WebGL, WebGPU, WebXR, WebAudio, etc.
Check it out: https://www.babylonjs.com/

Babylon is a sprawling empire, but it takes a long time to learn, even for experts with the math skills of Star Fleet Navigators. You quickly get lost in the complexity and layers of possibilities, and sometimes never actually write a game.


Animation Concepts from Alice

Alice is simple, intuitive, powerful, and fun. A beginner can write complex animations with breath-taking graphics in a few hours. Check it out: https://www.alice.org/. Or even better, take the free Coursera Intro to Alice course from Duke University.

But Alice's Scratch-like building-blocks make programmers pull their hair. And there are severe limits to Alice programs. Alice will teach you programming and animation, but you likely won't write any games beyond the homework exercises.

Readme

Keywords

Package Sidebar

Install

npm i baby

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

1.57 MB

Total Files

76

Last publish

Collaborators

  • tberend