deltaluca / nape

Haxe/AS3 Physics Engine
http://napephys.com
Other
542 stars 77 forks source link

Nape vs FP11.2 #28

Closed profelis closed 12 years ago

profelis commented 12 years ago

In fp11.2 doesn't work flash.Memory. Please create build without memory api.

Btw, more demos, like this http://deltaluca.me.uk/docnew/swf/Callbacks.html doesn't work in fp11.2

profelis commented 12 years ago
Error: Error #3714: ApplicationDomain.domainMemory is not available.
    at flash.system::ApplicationDomain/set domainMemory()
    at zpp_nape.util::ZPP_BitmapDebug/setbg()
    at zpp_nape.util::ZPP_BitmapDebug()
    at nape.util::BitmapDebug()
    at Callbacks()
    at Callbacks$/main()
    at boot_79ff/init()
    at flash::Boot/start()
    at boot_79ff()
deltaluca commented 12 years ago

only BitmapDebug uses the flash.Memory api; the rest of the library will work just fine.

Date: Mon, 19 Mar 2012 08:27:33 -0700 From: reply@reply.github.com To: luca@deltaluca.me.uk Subject: [nape] Nape vs FP11.2 (#28)

In fp11.2 doesn't work flash.Memory. Please create build without memory api.

Btw, more demos, like this http://deltaluca.me.uk/docnew/swf/Callbacks.html doesn't work in fp11.2


Reply to this email directly or view it on GitHub: https://github.com/deltaluca/nape/issues/28

profelis commented 12 years ago

I understand, but I can't see demos in web. And I can't use bitmapDebug in my swf11 app. Please fix it. For example create 2 bitmapDebug with Memory and without. Thanks, Dima

deltaluca commented 12 years ago

BitmapDebug would be 100% pointless without Memory, it would be even slower than ShapeDebug :P

Not sure why you can't see demos in web, according to adobe; content targeting flash player 11 (aka haxe flashplayer version 13 and above) will have alchemy opcodes disabled, but nape demoes are compiled at haxe flashplayer version 11 (10.2 in adobe terms).

I don't have flash player 11.2 so i cannot check myself.

profelis commented 12 years ago

I am not lying. http://pix.am/zUuG/ . I can't open demos in fp 11.2. Keep BitmapDebug as is, just build demos compatible with fp 11.2.

btw, very strange, my swf11 files works ok in fl11.2. Only from swf13 opcodes doesn't works.

deltaluca commented 12 years ago

Yes, that is what adobe have said, swf13 and above have alchemy opcodes disabled; but unless i'm mistaken, nape demos are compiled at swf11! (-swf-version 11) not (-swf-version 13) so no idea why they're not working for you...

profelis commented 12 years ago

Very strange http://pix.am/CUV0/

deltaluca commented 12 years ago

ahah. okay.

turns out -swf-version 11 in haxe targets swf13, -swf-version 10 targets swf10, and -swf-version 10.2 targets swf11. wonder how you get swf12 haha.

But i'll change that in all the demo makefiles

deltaluca commented 12 years ago

uploaded changes to documention, could you check they're working on fp11.2 now?

profelis commented 12 years ago

Tested all demos, all ok. Thanks.