Created
October 1, 2013 18:50
-
-
Save mrcdk/6783202 to your computer and use it in GitHub Desktop.
FlxNapeDemo mobile targets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//change line 39 to this | |
super(Math.floor(stageWidth / ratio), Math.floor(stageHeight / ratio), Piramid, ratio, 30, 30); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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