deis

Javascript Game Engine definitions for TypeScript?

Recommended Posts

Does anyone know of any currently available? Or anyone have some news on any pure TypeScript game engines?

 

I have been heavily into TypeScript lately; writing a little game with it right now actually.  But, I have been having to mostly roll my own stuff, which is fun but time consuming for me right now.

 

Thanks!

Share this post


Link to post
Share on other sites

Our entire framework is written in TypeScript too, so we have loads of classes that could be useful for you if you need something specific. But in general we'll release the whole lot shortly - we're building a pretty significant game for the BBC using it at the moment, and once released (end of March) we'll be in a much better state to finally open source the framework itself (as it will have been battle tested via a huge project)

Share this post


Link to post
Share on other sites

I am stoked to see it! I am currently only writing a few things that will help me out for the time being. I really don't have the time right now to code a whole library from scratch, at least not until I get some personal projects out of the way. I hope there are some other game devs that utilize TypeScript here as well because I would love to have some other minds to bounce things off.

 

(Somewhat off-topic):

I am really enjoying the simplicity and cleanliness of TypeScript, and I wish to try and push some of my colleagues to see some of the value of it. I was a Flash developer for over 4 years with my company, and last year we transitioned our final Flash client to HTML5 related techs. So much of my time has been spent learning JS/CSS3/HTML5 ins and outs as well as I knew Flash. I have really found TypeScript to be a MUCH more efficient and friendly approach. I picked up on it in minutes, compared to constantly /facepalming with straight Javascript. 

Share this post


Link to post
Share on other sites

There are TypeScript packages for sublime I believe, but a lot of the benefit of TS comes from its Visual Studio integration imho. JavaScript itself is fine and WELL worth picking up, maybe start with some of the tutorials on http://www.html5canvastutorials.com/ or a book like Core HTML5 Canvas (http://corehtml5canvas.com/) which has lots of game specific sections in it.

Share this post


Link to post
Share on other sites

I understand that the TS library files will be compiled into JS.
I also guess we'll be able to access library files from JS code or from TS code.
My question is, what language do you recommend to coding games using KiwiJS?
Do you intend to help developers migrate to TS (tutorials, examples, etc.)?

Share this post


Link to post
Share on other sites

Hi deis,

I just posted a game I made with TypeScript here : http://www.html5gamedevs.com/topic/39-germiz-an-html5-puzzle-game/ :)

Game engine and renderer are written in TS, and the main game file is JS/JqueryUI for UI stuff and scenes .

 

what's good with TS is that generated JS remain readable and maintanable if you want to abandon TS.

 

it'll also make the transition to ECMA 6 easier hopefully :)

 

my dev environment is VS2012 with TypeScript and a post build event that compiles everything with google CC...

and I'm also migrating my nodejs projects to VS2012 since node-inspector is now working good with windows :)

Share this post


Link to post
Share on other sites

I didn't measured significant benefit from compiling Germiz (the game I posted)  code with google CC since the graphics are quite simple.

 

but in another project I'm working on the benefit was impressive, especially for cross-browsers performance...  that project is an isometric MMORPG in HTML5 (prototype available here : http://demo.ezelia.com ) ... and as you know, isometric rendering is hard to optimize with classic optimization tricks like rendering only the changing part of the scene ...etc

you can test the proto and tell me what do you think about performance ;)

Share this post


Link to post
Share on other sites
On 2/15/2013 at 8:13 PM, deis said:

Does anyone know of any currently available? Or anyone have some news on any pure TypeScript game engines?

 

I have been heavily into TypeScript lately; writing a little game with it right now actually.  But, I have been having to mostly roll my own stuff, which is fun but time consuming for me right now.

 

Thanks!

https://github.com/zlatnaspirala/visual-ts-game-engine Take a look.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.