Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Pixelbox

Create 2D games in JavaScript, made easier · By Cedric Stoquer

TypeScript Type Definitions

A topic by TyPhyter created Apr 14, 2020 Views: 469 Replies: 5
Viewing posts 1 to 5

Really loving the tool so far Cedric!

Just wanted to chime and say one way I think it could be even better for fast prototyping would be to have TypeScript definitions available, and maybe an option to set TS as the scripting language in Editor in Project Settings.

I'd be happy to help with these features if you're looking for contributors (good way to get familiar with the API, and I'd really like to get a peek at that Editor code XD).

(+1)

I would love this too!

(+1)

I created an account just to +1 this. would help prototyping a lot, and especially would help new ppl such as myself :)

(1 edit) (+1)

Hi,

TypeScript support is a good idea.

I don't have much experience with TypeScript, so any help and recommendation would be appreciated.

In particular, how do you expect a pixelbox project made in TypeScript to look like? Do we need to have the entry point main.js to become main.ts ?

Pixelbox is doing a bit of magic during the build process. So I need to do some tests to see how we can approach this problem.

I created an  issue on GitHub to discuss the technical aspects of this.

(+1)

Hate to necro-post, but I came searching for this same thing and added a pull request for the definitions.  Love this tool after using PICO8, TIC80, and some other small engines, this one offers so much freedom!

Sick!