Home

Awesome

BabylonJS Typescript Logic Examples

This repo is a collection of simple examples showing some ways of handling game logic within Babylon JS. This list is in no way exhaustive as Babylon is a very unopinionated framework.

These are also only my personal experiences so don't consider this an authoritative souce but more as an example to get you started on your own ideas.

Building Examples

Observations

Please do note that these are my personal experiences and should in no way taken as gospel for or against these options.

Inheritance

Pros:

Cons:

Behaviours and Observables

Pros:

Cons:

ECS

Pros:

Cons:

Event Based Architecture

Pros:

Cons: