Sign in to follow this  
geowarin

A phaser generator using typescript and gulp

Recommended Posts

Hello guys,

 

Allow me to introduce myself, I'm Geoffroy Warin, entreprise javascript developper by day and an html5 game development junkie at night.

I really love phaser, I think it's fantastic work and as I kept experimenting with it, I realized I was always bootstrapping my projects the same way.

 

Copy my gulp file then create the small phaser bootstrap classes in typescript.

So I decided to create a yeoman generator :

 

https://github.com/geowarin/generator-phaser-gulp-typescript

 

It's really simple but you have nothing to do, just type 'gulp' on the command line and you will get :

  • Livereload
  • Autocompletion thanks to typescript definitions files
  • Typescript debugging in your browser with source maps

I also use it to deploy to github pages in one command ('gulp deploy').

 

Hope you will enjoy it. It can really be helpful if you want to dive into typescript or you wish to have an example of a good gulp build file.

I'm 100% open to pull requests and improvements.

 

Cheers !

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.