K
K
Konstantin Kitmanov2016-11-03 14:02:47
Game development
Konstantin Kitmanov, 2016-11-03 14:02:47

Are there game engines that are friendly with typescript?

For the purpose of self-education, I wanted to sketch a simple game in TypeScript. The problem is exacerbated by the fact that I’m completely lazy in my old age and want to build into one file and livereload out of the box (in other words, webpack or browserify).
First of all, I paid attention to Phaser, remembering that it seems to be written in TS. It turned out that this hasn’t been the case for a long time, modern TS doesn’t even pick up without decoy patching .d.ts, and how it’s all loaded into webpack, it makes your hair stand on end . .d.tsis also far from ideal, and for some things you have to type manually any, which, in general, kills the point of writing in typescript.
A cursory google turned up excalibur.js , but thank goodness it's not all there either. The official examples use a cavernous approach like "nafigat in the head of the scripts manually . In general, without manual editing, .d.tsagain, it does not work , neither under 1.8, nor under 2.0, nor with or without webpack.
Please do not send to https://html5gameengine.com/ , but share your live experience.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2016-11-03
@GreatRash

I will not share my experience. But it might help:
atomicgameengine.com
edn.egret.com/en/index.php/article/index/id/490

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question