Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mrcdk
Created October 1, 2013 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrcdk/6783202 to your computer and use it in GitHub Desktop.
Save mrcdk/6783202 to your computer and use it in GitHub Desktop.
FlxNapeDemo mobile targets
//change line 39 to this
super(Math.floor(stageWidth / ratio), Math.floor(stageHeight / ratio), Piramid, ratio, 30, 30);
//Change the if block on line 119 to this
#if !FLX_NO_DEBUG
if (FlxG.keys.justPressed.G)
if (_physDbgSpr != null)
napeDebugEnabled = false;
else
napeDebugEnabled = true;
#end
<?xml version="1.0" encoding="utf-8"?>
<project>
<app title="FlxNapeDemo" file="FlxNapeDemo" path="bin" main="Main" version="1.0.0" company="TiagoLr ( ~~~ProG4mr~~~)" />
<window background="#000000" fps="60" />
<window width="640" height="480" unless="mobile" />
<window orientation="landscape" vsync="true" antialiasing="0" hardware="true" if="cpp" />
<!-- classpath, haxe libs -->
<source path="source" />
<haxelib name="openfl" />
<haxelib name="flixel"/>
<haxelib name="flixel-addons"/>
<haxelib name="nape"/>
<haxelib name="nape-hacks"/>
<haxelib name="nape-symbolic"/>
<haxelib name="actuate"/>
<!-- assets -->
<icon path="assets/nme.svg" />
<!--assets path="assets/img" rename="img" /-->
<assets path="assets" include="*"/>
<!-- DLLs -->
<!-- myflags -->
<!--haxedef name="TRUE_ZOOM_OUT" /-->
<!--haxedef name="dev" /-->
<haxedef name="NAPE_RELEASE_BUILD"/>
<haxedef name="FLX_NO_DEBUG" unless="debug" />
<!--<haxedef name="HXCPP_DEBUGGER" if="cpp" />-->
<!--<haxedef name="FLX_DEBUG"/>-->
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment