Where can be found a playcanvas typescript hello world example

Hello all.
Just finished an small project with this great engine :slight_smile:. Now looking to refactor it to typescript. Is there any example?

Thanks in advance
Jpeter

1 Like

Hi @Juan_Pedro_Andres,

I am not aware of a full blown TS example, though it won’t be anything fancy. The most basic example would be adding types and a more elaborate example would be using a ES6 class style definition for your scripts.

Check the following thread for simple examples on both cases:

1 Like

Also, our glb viewer is written in TS and uses the engine, see here:

2 Likes

Nice. thanks. I will take a look of both codes. :grinning: