Project.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <project>
  3. <!-- _________________________ Application Settings _________________________ -->
  4. <app title="FlxProject" file="FlxProject" main="Main" version="0.0.1" company="HaxeFlixel" />
  5. <!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
  6. or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
  7. <app preloader="flixel.system.FlxPreloader" />
  8. <!--Minimum without FLX_NO_GAMEPAD: 11.8, without FLX_NO_NATIVE_CURSOR: 11.2-->
  9. <set name="SWF_VERSION" value="11.8" />
  10. <!-- ____________________________ Window Settings ___________________________ -->
  11. <!--These window settings apply to all targets-->
  12. <window width="640" height="480" fps="60" background="#000000" hardware="true" vsync="false" />
  13. <!--HTML5-specific-->
  14. <window if="html5" resizable="false" />
  15. <!--Desktop-specific-->
  16. <window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
  17. <!--Mobile-specific-->
  18. <window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" />
  19. <!-- _____________________________ Path Settings ____________________________ -->
  20. <set name="BUILD_DIR" value="export" />
  21. <classpath name="source" />
  22. <classpath name=".." />
  23. <assets path="assets" />
  24. <!-- _______________________________ Libraries ______________________________ -->
  25. <haxelib name="flixel" />
  26. <!--In case you want to use the addons package-->
  27. <haxelib name="flixel-addons" />
  28. <!--In case you want to use the ui package-->
  29. <!--<haxelib name="flixel-ui" />-->
  30. <!--In case you want to use nape with flixel-->
  31. <!--<haxelib name="nape" />-->
  32. <!-- ______________________________ Haxedefines _____________________________ -->
  33. <!--Enable the Flixel core recording system-->
  34. <!--<haxedef name="FLX_RECORD" />-->
  35. <!--Disable the right and middle mouse buttons-->
  36. <!--<haxedef name="FLX_NO_MOUSE_ADVANCED" />-->
  37. <!--Disable the native cursor API on Flash-->
  38. <!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->
  39. <!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
  40. <haxedef name="FLX_NO_MOUSE" if="mobile" />
  41. <haxedef name="FLX_NO_KEYBOARD" if="mobile" />
  42. <haxedef name="FLX_NO_TOUCH" if="desktop" />
  43. <!--<haxedef name="FLX_NO_GAMEPAD" />-->
  44. <!--Disable the Flixel core sound tray-->
  45. <!--<haxedef name="FLX_NO_SOUND_TRAY" />-->
  46. <!--Disable the Flixel sound management code-->
  47. <!--<haxedef name="FLX_NO_SOUND_SYSTEM" />-->
  48. <!--Disable the Flixel core focus lost screen-->
  49. <!--<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />-->
  50. <!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
  51. <haxedef name="FLX_NO_DEBUG" unless="debug" />
  52. <!--Enable this for Nape release builds for a serious peformance improvement-->
  53. <haxedef name="NAPE_RELEASE_BUILD" unless="debug" />
  54. <!-- _________________________________ Custom _______________________________ -->
  55. <!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
  56. </project>