Search the Community
Showing results for tags 'flashdevelop'.
-
Just released: https://github.com/ratkingsminion/PhaserHaxe Haxe allows users to write code in a statically typed language and compile it to other languages (in this case, Javascript). Development with Haxe is very pleasant (especially when using FlashDevelop), and provides auto-completion with type information. PhaserHaxe is a set of typed class bindings for Haxe (similar to typescript definition files). Checkout source code of a simple demo built with PhaserHaxe: https://github.com/ratkingsminion/PhaserHaxe/blob/master/src/Main.hx
-
Hey, as requested in this thread - I made a small tutorial on how to setup phaser using FlashDevelop. This tutorial is based on the fantastic phaser-project-template done by jesse freeman. A flashdevelop project template is attached to this post. So, here we go... 1.) Install NPM 2.)Install typescript npm install -g typescript3.)Install and launch FlashDevelopThis tutorial uses FlashDevelop Version 4.4.0RTM 4.)Create a new TypeScript Project (Project->New Project->Typescript) 5.)Create a new folder within your project called "lib" 6.)Download PhaserThis tutorial uses Phaser0.9.5 7.)Copy Phaser directory (including the typoscripts) to you lib-folder 8.)Adjust project properties to compile to ES5 targetRight Click on Project Name -> Properties -> Build Tab -> add "--target ES5" to the Pre-Build Command Line textfield 9.)Press F8 (Build project) 10.)Open the bin/index.html in your browserNote: if you use assets please use a web server Hope this helps a bit. Best,benny!PhaserFlashDevelopTemplate.zip
- 9 replies
-
- phaser
- flashdevelop
-
(and 1 more)
Tagged with: