DEV Community

Discussion on: JavaScript v TypeScript

Collapse
 
jwhenry3 profile image
Justin Henry

Typescript is used in Unity, Phaser, Excalibur. I'm sure there are more, but the listing of Typescript not having Game Engine Support is inaccurate.

Collapse
 
javacode7 profile image
JavaCode7 • Edited

Ok but I thought Unity removed UnityScript?

Collapse
 
jwhenry3 profile image
Justin Henry

forum.unity.com/threads/does-unity...
It appears it is deprecated but not removed yet, but that does not mean we should use UnityScript until it's gone, so it's a fair point. Aside from Unity, most JS game engines come with either their own typings or have 3rd party typings available. Assuming you have a decent IDE and a project setup, you should be able to use Typescript with any JS game engine (Though without the support, like you mentioned).