87 lines
3.3 KiB
XML
87 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<!-- NMML reference: https://gist.github.com/1763850 -->
|
|
|
|
<!-- metadata, make sure 'package' is at least 3 segments (ie. com.mycompany.myproject) -->
|
|
<app title="Main" package="" file="Main" main="Main" version="1.0.0" company="" />
|
|
|
|
<!--The flixel preloader is not accurate in Chrome. You can use it regualary if you embed the swf into a html file, or you can set the actual size of your file manually at "Flxpreloader-onUpdate-bytesTotal"!-->
|
|
<app preloader="flixel.system.FlxPreloader" />
|
|
<app file="Main" path="build/flixel" />
|
|
|
|
<!--The swf version should be at least 11.2 if you want to use the FLX_MOUSE_ADVANCED option-->
|
|
<set name="SWF_VERSION" value="11.8" />
|
|
|
|
<!--------------------------------WINDOW SETTINGS-------------------------------->
|
|
|
|
<!--These window settings apply to all targets-->
|
|
<window width="800" height="600" fps="60" background="#000000" hardware="true" vsync="true" />
|
|
|
|
<!--HTML5-specific-->
|
|
<window if="html5" resizable="false" />
|
|
|
|
<!--Desktop-specific-->
|
|
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
|
|
|
|
<!--Mobile-specific-->
|
|
<window if="mobile" orientation="landscape" fullscreen="true" width="0" height="0" />
|
|
|
|
<!--------------------------------PATHS SETTINGS-------------------------------->
|
|
|
|
<set name="no-custom-backend" />
|
|
<set name="BUILD_DIR" value="build/flixel" />
|
|
<classpath name="src" />
|
|
<assets path="assets" include="*" />
|
|
|
|
<!--------------------------------LIBRARIES------------------------------------->
|
|
|
|
<haxelib name="flixel" />
|
|
|
|
<!--In case you want to use the addons package-->
|
|
<!-- <haxelib name="flixel-addons" /> -->
|
|
|
|
<!--In case you want to use the ui package-->
|
|
<!-- <haxelib name="flixel-ui" /> -->
|
|
|
|
<!--In case you want to use nape with flixel-->
|
|
<!-- <haxelib name="nape" /> -->
|
|
|
|
<haxelib name="hscript" />
|
|
<haxelib name="haxeui-core" />
|
|
<haxelib name="haxeui-flixel" />
|
|
|
|
<!-------------------------------HAXEDEFINES------------------------------->
|
|
|
|
<!--Enable this for nape release builds for a serious peformance improvement-->
|
|
<!-- <haxedef name="NAPE_RELEASE_BUILD" unless="debug" /> -->
|
|
|
|
<!--Enable the flixel core recording system-->
|
|
<!--<haxedef name="FLX_RECORD" />-->
|
|
|
|
<!--Enable right and middle click support for the mouse. Flash player version 11.2+, no HTML5 support -->
|
|
<!--<haxedef name="FLX_MOUSE_ADVANCED" />-->
|
|
|
|
<!--Disable the Native cursor api for Flash target-->
|
|
<!--<haxedef name="FLX_NO_NATIVE_CURSOR" />-->
|
|
|
|
<!--Optimise inputs, be careful you will get null errors if you don't use conditionals in your game-->
|
|
<!--<haxedef name="FLX_NO_MOUSE" if="mobile" />-->
|
|
<!--<haxedef name="FLX_NO_KEYBOARD" if="mobile" />-->
|
|
<haxedef name="FLX_NO_TOUCH" if="desktop" />
|
|
<haxedef name="FLX_NO_GAMEPAD" />
|
|
|
|
<!--Disable the Flixel core sound tray-->
|
|
<haxedef name="FLX_NO_SOUND_TRAY" />
|
|
|
|
<!--Disable the Flixel sound management code-->
|
|
<!--<haxedef name="FLX_NO_SOUND_SYSTEM" />-->
|
|
|
|
<!--Disable the Flixel core focus lost screen-->
|
|
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
|
|
|
|
<!--Disable the Flixel core debugger. Automatically gets set whenever you compile in release mode!-->
|
|
<haxedef name="FLX_NO_DEBUG" unless="debug" />
|
|
|
|
<!--------------------------------CUSTOM---------------------------------------->
|
|
|
|
</project> |