Phaser Project Template (JavaScript) For Visual StudioThis is a basic project template for the Phaser HTML Game Engine using JavaScript in Visual Studio 2015. It can of course be used for non-Visual Studio projects also. Simply download the Zip file (from Github) and add the contents of the Phaser-Project-Template-Javascript to your project. You can remove the .config and .sln files from your project as these are Visual Studio specific. TypeScript Version: https://github.com/funzeye/Phaser-Project-Template-TypeScript Still learning about Phaser? Be sure to check out our book "Making Your First HTML5 Game with Phaser" SetupThe Easy Way (Ideal for new projects):We have created a VSIX install package that is available within Visual Studio.
As a side note, there doesn't not seem to be any way to install our template under the JavaScript project type. The only values I could enter were CSharp, VB or Web, and Web didn't seem to work for us. But don't worry, the CSharp thing is meaningless - it adds no CSharpy stuff to our project! Direct Link to VSIX install file: /vsgallery/e6eeccc4-3963-4e3d-8181-77d94ae67d9a The Manual Way (Ideal for existing projects):If you have an existing project that you would like to add these basic files to then you can always just download the GitHub zip file (located as a link on the top right ofGithub page) and add in the files you need to the project. We recommend adding in the bower.json file (and following instructions below) in order to get the latest Phaser Build. Installing the Phaser Package in Visual Studio:Okay so the first thing you might notice when opening up your new project template is that the Phaser package files are actually missing. We did not want to include the Phaser files in the project as any new releases of Phaser would invalidate this template. There is also no Nuget package for Phaser. Thankfully Visual Studio has recently added Bower support to it's IDE. For the uninitiated Bower is like a client-side version of Nuget. Installing The Phaser Package
|