I’m Santiago Zapata, better known online as slashie, a Software Engineer and Independent Game Developer and from Medellín, Colombia.

You are in the devlog, a chronological collection of updates on my projects, alongside articles about software and game development. Subscribe to get these directly into your inbox.

JSRL, now with TypeScript support

Published by

on

I backported TypeScript support from Emerald Woods into JSRL, so you can now use it to create roguelikes with TypeScript out of the box.

Unlike Emerald Woods, which has had a gradual transition to TypeScript (because it’s so big), for JSRL I decided to migrate it completely in a single machete blow, with an additional pass to use proper typed classes instead of functions.

The reason why there are still many variables typed as any is that some modules were modeled as raw objects instead of classes, and typifying them will require some additional work.

2 responses to “JSRL, now with TypeScript support”

  1. […] JSRL migration to typescript, I thought it would be a good idea to create a tutorial for it so that it could be used by some […]

  2. […] Finally, JSRL was migrated to TypeScript. […]

Leave a Reply

Discover more from Slashie's Gamedev Adventures

Subscribe now to keep reading and get access to the full archive.

Continue reading