HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.98k stars 439 forks source link

Newbie: How to use the template file/folder? #34

Closed sixman9 closed 12 years ago

sixman9 commented 12 years ago

Hi Zaphod, This isn't really an issue, I'm new to Haxe/NME, just wondering how to use the template[.zip] file?

I notice some '${PROJECT_*}' place holders which need substituting, is this a manual thing or is there an nme/haxe tool or ide that will do this substitution for me, say during new project creation?

Thanks

Rich

Beeblerox commented 12 years ago

you need to:

  1. install library from haxelib, just call in command-line "haxelib install flixel" (without quotations)
  2. open up command line (if you closed it) and navigate to your project folder
  3. from project folder call in command-line "haxelib run flixel -name YourProjectName -class YourProjectMainClassName -screen ProjectWidth ProjectHeight" (not all parameters are requiared). This will create template for your project in the folder you navigated.
  4. Start to code your project...

Hope it will help

sixman9 commented 12 years ago

Thanks man, sorry for not acknowledging sooner, been busy lately.

Thanks again.

Rich