We have new TypeScript-based samples. I wanted to share briefly how to get started:
Open a sample and NPM install
Pick one of the samples (like “BunnyMark”) and run
npm install to setup dependencies:
cd openfl-samples-ts/BunnyMark npm install
Start a dev server
The project should compile, and open a browser window. Hot reloading is enabled, so make changes to the source *.ts files, and the project will automatically rebuild, and the window will reload.
Need a code editor? https://code.visualstudio.com is a good choice with built-in support for TypeScript
Please post if you have any questions!