Examples from the playground

Its kinda weird at first, but once you realize the patterns its all the same as javascript + types and a couple cool new things that save a ton of time when it comes to defining classes and their properties. Interfaces are a must, and constructor private/public param binding is legit too. Plus then with all the extra code security/safety nets it puts in makes it well well worth it especially as your codebase grows in size.

I even shave my head:) but it still starts to show:)

there is hot loading and watch functions in webpack for sure.

I use

npm run start, and that boots up a server with the page going strong. It reloads just as fast as hitting play on the playground.


nice dice!

Babylon.js Playground (babylonjs.com)


Havok Demo with Three.js

Sorry for the off topic - since it is not made in native babylon - but it was too cool not to mention this!

(2) 3TH on Twitter: “start adding havok to PHY :grimacing: soon full option: callback, filter, raycast, good joints https://t.co/Z7Bd3Lh3bp https://t.co/9mNqAnovTU” / Twitter

PHY (lo-th.github.io)


Really B E A U T I F U L

Nice Geometry, perfect materials and perfect Ilumination with super soft-shadows

found a little jumping game. press on the “hopp!” button

glTF Loader Demo | Babylon.js Playground (babylonjs.com)


Nice !!! I have never seen this one before !!!

hight score ^^

1 Like

109.74 :laughing:


(though I may have injected this line of code after line 384 to help just a little…)

( (10 - (distance%10)) < speed * 0.3 + 1.3 && !jumpTriggered && (function() { player.jump(); jumpTriggered = true; })()) || ((10 - (distance%10)) >= speed * 0.3 + 1.3 && (jumpTriggered = false));

Adding a Roof | Babylon.js Playground (babylonjs.com)

1 Like

Load a map


slide tiles | Babylon.js Playground (babylonjs-playground.com)

Absolutely LOVE it :slight_smile:
May i steal the idea for future work? :sunglasses: