Comprehensive scripting example?


Being new to PlayCanvas I’m looking for a fairly comprehensive scripting example. Just a project where they touch the graph content in various ways… access, create and tweak children, materials and other components by scripts.

The official documentation mostly covers the editor, and the API reference is, well, for reference. It’s dificult to get the whole picture from a scripting point of view.

Thanks in advance.

I am literally just about to release a set of tutorials that go through a complete game. And talk about how all the scripts work.

The game is live here: so you can take a look through the scripts yourself.

The tutorials should be up on the developer site today or tomorrow when I’ve finished checking them over.

1 Like

I posted the tutorials yesterday which do an overview of a complete game.

Hopefully this will help you!