Profile

Member Since
March 21, 2012

Search Members

  

deepak

7
@

Badges

This user hasn't earned any badges yet.

Posts

Viewing 1 to 7 (7 Total)

Re: Errors after updating nme and haxe

Hi

Just uninstall haxe and all it's libraries without uninstalling sdk's and then install it again using new installer 3.3.3 then everything will get fixed automatically. I had to do same thing on my Mac in order to fix it.




Deepak

Posted on July 03, 2012 at 2:23 PM

Errors after updating nme and haxe

Hi

I am developing a game and using nme version 3.3.0 and haxe 2.08. It builds pretty fine for android target ans iOS as well but when I update both of them then it starts showing errors. Not sure what they mean but I think it's related to shared objects and text field .
Can someone help me as I have to submit it before 9 th for evaluation to GSOC.

Most of errors are related to neash and changing haxe back to 2.08.3 seems to fix this issue but my app crashes as soon as start playing it and when I back to nme 3.3.0 everything works fine. sad

You can clone or download it fromhttp://bitbucket.org/blogmedia/tux4kids...

Deepak


Errors which I am getting

./src/neash/utils/WeakRef.cpp:104: error: prototype for 'Dynamic neash::utils::W
eakRef_obj::__Field(const String&)' does not match any in class 'neash::utils::W
eakRef_obj'
include/neash/utils/WeakRef.h:26: error: candidate is: virtual Dynamic neash::ut
ils::WeakRef_obj::__Field(const String&, bool)
./src/neash/utils/WeakRef.cpp:126: error: prototype for 'Dynamic neash::utils::W
eakRef_obj::__SetField(const String&, const Dynamic&)' does not match any in cla
ss 'neash::utils::WeakRef_obj'
include/neash/utils/WeakRef.h:26: error: candidate is: virtual Dynamic neash::ut
ils::WeakRef_obj::__SetField(const String&, const Dynamic&, bool)
./src/neash/text/TextFieldType.cpp:29: error: prototype for 'Dynamic neash::text
::TextFieldType_obj::__Field(const String&)' does not match any in class 'neash:
:text::TextFieldType_obj'
include/neash/text/TextFieldType.h:20: error: candidate is: virtual Dynamic neas
h::text::TextFieldType_obj::__Field(const String&, bool)
Called from ? line 1
Called from BuildTool.hx line 1246
Called from BuildTool.hx line 554
Called from BuildTool.hx line 591
Called from BuildTool.hx line 710
Called from BuildTool.hx line 785
Uncaught exception - Error in building thread
Error : Build failed

Posted on June 27, 2012 at 7:58 AM

Huge performance drop while using cacheAsBitmap

Hi

I am scrolling a huge image using srollRect on my mobile. When I use cacheAsBitmap for caching bitmap then I am able to get around 11-12 FPS but when I disable it then FPS jumps to 59 FPS. I there something wrong because on other forums I have read that using cacheAsBitmap should increase performance rather then degrading it.
For testing I am using wildfire s which have Adreno 200 gpu.

Deepak

Posted on June 06, 2012 at 5:14 AM

Re: JPEG images not working on android

So if I downscale or resize this image then it will work fine on my device.
Is there a constraint on dimension on pictures to be used on android phone like the dimension should be in power of 2 ?.

Deepak

Posted on June 06, 2012 at 1:27 AM

Re: JPEG images not working on android

Hi Hugh



>>Is it a "Normal" rgb image, or a greyscale one?
Its a normal rbg image with square pixel and I have build it in photoshop

>>Have you added it correctly to the nmml file (case sensitive, perhaps?)
I think so because same image works correctly when I compile my app for flash

>>If you could post a link to the jpeg, that should help.
http://skydrive.live.com/#cid=6618AD5BACF34230&id=6618AD5BACF34...


Deepak

Posted on June 06, 2012 at 1:00 AM

JPEG images not working on android

Hi


I am building a app in which I am loading a background image and scrolling it. My problem is that jpeg images does not show up on android while it is working on flash
and same image when saved in png format works on android.
As png image size is almost 10 time bigger than jpeg image that's why I don't want to use it for my app. Could you please help me.

Deepak

Posted on June 05, 2012 at 12:47 PM

Haptic feedback not working

Hi

I want to add Haptic feedback to my application but unable to do so.

I have added following to my application in function which is called when a corresponding event occurs

Haptic.vibrate(100,1000);

I try to test on my android phone but it does work. Please help me.

Posted on March 21, 2012 at 10:56 AM