Profile

Member Since
May 21, 2012

Search Members

  

andrew911

22
@

Badges

This user hasn't earned any badges yet.

Posts

Viewing 1 to 20 (22 Total)

Re: Search tool

http://www.nme.io/community/forums/search/

Posted on March 30, 2013 at 8:46 AM

Re: How set the focus to an input text?

Try as in flash
stage.focus = textField;

Posted on February 17, 2013 at 5:16 AM

Re: Socket Server.

http://haxe.org/api/sys/net/socket

class sys.net.Socket
Available in neko, php, cpp, cs, java

Posted on February 13, 2013 at 6:09 AM

Re: Inconsistency in Flash and CPP deploy speed

I look at your code in flash and I don't saw ENTER_FRAME, but

updateTimer = new Timer(10);


If it's you original code, than try to replace it with ENTER_FRAME

Posted on February 05, 2013 at 12:02 PM

Re: Inconsistency in Flash and CPP deploy speed

Yes, cpp faster.
But cpu not loaded, it's not because of calculation.
Could you add fps monitor?

And if fps showed the same show minimal code with such problem?
How you move target?

Posted on February 05, 2013 at 11:15 AM

Re: Inconsistency in Flash and CPP deploy speed

Probably you have different fps for different targets.
Show your .nmml file with settings.

Posted on February 05, 2013 at 10:18 AM

Re: In app purchases in android

Ageron

I don't know java, but with your code I at last run activity.
I add activity (<activity android:name="nme.Test$MyActivity"></activity>) to manifest file at "haxe\lib\nme\3,4,3\templates\default\android\template\AndroidManifest.xml" (hack, but I don't know more elegant solution without changing template).

But I comment "setContentView(R.layout.activity_main);" because I got error "Test.java:30: package R does not exist".
How you solve it?

Unfortunaly sample on works with activities are absent.

Posted on November 03, 2012 at 3:43 PM

Re: Test on android device

You should place .apk file on card and install application.
Or if you work in FlashDevelop you could connect device, press F5 and app runs on device.

Posted on November 02, 2012 at 7:58 PM

Re: Animated GIFs in Haxe/NME

Maybe it'll help AS3 GIF Player Class

Posted on June 19, 2012 at 5:12 PM

Re: NME for games

http://lib.haxe.org/
http://lib.haxe.org/t/game

to install you can simply type (for example flixel) in command line
haxelib install flixel

Posted on June 17, 2012 at 9:45 AM

Re: NME for games

You can look for frameforks, ported on haxe: HaxePunk, HaxeFlixel and gm2d, awe6.

Flash libraries wouldn't work on (HTML5, Android, PC)

Posted on June 16, 2012 at 8:16 AM

Re: html5 export problem

Try to delete bin/html5 folder.
Could you show sources?

Posted on June 14, 2012 at 4:53 PM

Re: html5 export problem

NME 3.3.2 and 3.3.3 already contains jeash.
You can remove old version from libs

Posted on June 14, 2012 at 4:17 PM

Re: Box2d alternatives?

Nape
http://deltaluca.me.uk/docnew/

Posted on June 06, 2012 at 3:20 PM

Re: How do I compile for mac and iOS?

http://www.joshuagranick.com/blog/2011/07/14/android-ios-webos-and-more-cross-platform-made-easy/

haxelib run nme update "Actuate Example.nmml" ios

You should write update, not test.

Then open xcode project file and compile in xcode.

Posted on May 29, 2012 at 5:32 PM

Re: Problem Installing NME

http://haxeman.com/installing-haxe-neko-and-nme-on-x64-linux/

Posted on May 28, 2012 at 4:26 PM

Re: Download page, not showing what will be installed

cmd -> haxelib list
works well

Posted on May 23, 2012 at 8:41 AM

Re: What is the Lib Class in nme package?

Lib.current.stage

On blog joshuagranick.com you can find examples with source code
http://www.joshuagranick.com/blog/2011/07/14/android-ios-webos-and-...

Posted on May 22, 2012 at 11:33 AM

Re: Can't download NME

Just check, everything ok.
Try direct link http://www.haxenme.org/files/9413/3590/3299/NME-3.3.2-Windows.exe... , or "haxelib install nme"

Posted on May 22, 2012 at 7:48 AM

Re: Fastest (optimized) method to draw graphics

Thanks!


So best way is to draw graphics in Bitmap and using drawTiles?

And one more question - I draw shapes using beginGradientFill and beginBitmapFill (with smooth="true" and "false"), but they appeared aliased on Windows and Android.
I found parameters for nmml <window antialiasing="4" />, but it's seems work well only for Windows, on Android shapes stay aliased, better then without "antialiasing", but not good.

Only good method - use cacheAsBitmap or filter, that, as I remember, cause software rendering.

Is there any other ways to make smooth anti-aliased picture for android?

Posted on May 21, 2012 at 1:58 PM
« Previous12Next »