Profile

Member Since
May 13, 2012

Search Members

  

niceneasy

15
@

Badges

This user hasn't earned any badges yet.

Posts

Viewing 1 to 15 (15 Total)

Prank Pack - an app with pranks using NME

Hey everyone,

I've made an app with pranks for android using NME. It's called Prank Pack, it's free and you can get it here:
http://play.google.com/store/apps/details?id=com.uglypixels.prankpa...

I'd be very glad if it was good enough to appear in showcase page.

Cheers!

Posted on March 08, 2013 at 1:24 AM

Weird behavior with chinese and thai fonts on android

Hey,
I have problems with using chinese or thai fonts on android.
For thai fonts, everything seems ok for flash but on android the application crashes when is using the font or something weird is happening - with each run the characters displayed for the same string are different. Sometimes it seems that some particular characters are crashing the app. The behavior is random.

For chinese fonts it all works ok in flash but on android the text doesn't show up or the app just crashes.

I don't do any magic. I'm using embedded fonts and this seems to cause problems, is there a way to use android's built in system fonts for chinese and thai text?

Posted on February 16, 2013 at 3:50 PM

Re: Supported Devices

I have managed to run my game on a old G1 (HTC Dream) with Cyanogen 7 (Android 2.2)
Also managed to run it on a Samsung Galaxy Ace with Android 2.2.
On both devices the performance was much worse than for example Samsung Galaxy S I9000 and there was a problem with touch input decreasing FPS.

FPS:
SGS idle: stable 56
SGS with input: 54-56
G1 idle: 30
G1 with input: 10-15
Galaxy Ace idle: 45
Galaxy Ace with input: 20-25

Posted on October 26, 2012 at 5:44 AM

Evil Spots

Hey everyone!

I'm excited to present my first android game created with NME that went live! It's called Evil Spots:
http://play.google.com/store/apps/details?id=com.uglypixels.games.e...

I have also started a facebook fan page dedicated to my projects where I'll be posting random stuff about them:
http://www.facebook.com/UglyPixels...

Please rate, comment and let me know of any issues.

Thanks!

Posted on August 20, 2012 at 2:43 AM

Re: Actuate issues with newest NME

I just upgraded to NME 3.4 using 'haxelib upgrade' hoping this will solve my problems but still no luck. Where should I report that issue?

Posted on July 22, 2012 at 6:43 AM

Re: FlashDevelop output panel automatically cleared after reporting errors

I didn't find any solution yet but I'm using a trick to see the errors. After I hit build/test/compile I stare at the output panel to find the right moment to hit Tools->Kill Running Proces. After a couple of trials I manage to stop the build process at the right time before the errors get cleared. I know it's not a real solution but it helps until a real solution is found.
Eventually I gave up and went back to 3.3.2 cause Im also having other issues with the new version.

Posted on July 21, 2012 at 4:21 PM

FlashDevelop output panel automatically cleared after reporting errors

Hey,

After upgrading to NME 3.3.3. the output panel in FlashDevelop reports some errors in my Java code but immediatelly after that it is being cleared so I can only see:

BUILD FAILED
C:\Development\Android SDK\tools\ant\build.xml:651: The following error occurred while executing this line:
C:\Development\Android SDK\tools\ant\build.xml:672: Compile failed; see the compiler error output for details.

I cannot scroll up to see the errors cause the panel was cleared and there is no content above it. This worked well before upgrading from 3.3.2. Does this have a simple solution?

Posted on June 07, 2012 at 6:36 PM

Transparent application background

Is there a way to make the Android application background transparent? I've seen some applications in Java that do that and it's quite easy but have no clue how to do that with NME. What I'm trying to do is to draw stuff over the home screen.

Posted on June 05, 2012 at 1:58 PM

Re: Second activity does not see R package

I did a workaround to this problem but had to make slight import modifications in the Madvertise source code - I wanted to do this other way, without modifications but have no clue how to do that. Just had to import the R package both in MadvertiseActivity.java and MadvertiseMraidView.java :
import [MY PACKAGE].R;

Simple, eh? Then in the MadvertiseMraidView.java file had to change how the resource was referenced.
from this:
de.madvertise.android.sdk.R.raw.mraid
to this:
R.raw.mraid
Although it's working I find this trick quite lame. If someone knows a smarter/proper way to do that (without modifying the SDK) please let me know.

Posted on May 30, 2012 at 5:00 AM

Re: Second activity does not see R package

They provide source code so I have put it in the Source folder like:
.../Source/de/madvertise/...

Then I include this folder in the NMML file like this:
<template path="Source/de" rename="src/de" if="android" ></template>
And it is copied successfully aswell as visible by the compiler - thus the error.

Posted on May 29, 2012 at 3:27 AM

Second activity does not see R package

I'm trying to integrate a couple of advertisement APIs into my Android project. I just began with Madvertise and I'm having a problem.
According to the Madvertise API I'm declaring additional activity in the AndroidManifest.xml file like this:
<activity android:name="de.madvertise.android.sdk.MadvertiseActivity"></activity>

Then added the proper template node in the NMML file to copy the API code like this:
<template path="Source/de" rename="src/de" if="android" ></template>

When i try to compile the project I get this:

...\Export\android\bin\src\de\madvertise\android\sdk\MadvertiseActivity.java:84: package R does not exist
[javac] back.setImageResource(R.drawable.ic_menu_back);

I'm using R package in MainActivity and it's working fine. Am I doing something wrong? Do I have to somehow make R visible to the second activity?

There is also another error very similar but has a different package name and makes me totally confused:

...\Export\android\bin\src\de\madvertise\android\sdk\MadvertiseMraidView.java:203: package de.madvertise.android.sdk.R does not exist
[javac] .openRawResource(de.madvertise.android.sdk.R.raw.mraid));

Does anyone have any ideas on this?

Posted on May 28, 2012 at 10:41 AM

Re: Actuate issues with newest NME

I have the latest Actuate version 1.40 on three computers. Two of them have haxe 2.08 and the problem was only on the computer with Haxe 2.09. After downgrading to 2.08 all three computers are ok. I compared versions of all libraries/projects aswell as versions of NDK, Android SDK, Ant and Java, the only difference was Haxe version - that's how I got to the conclusion that it has to be the problem and downgrading proved it correct.

Posted on May 22, 2012 at 2:27 PM

Re: Actuate issues with newest NME

I'm tweening a Sprite. Is there a workaround for Android?

Posted on May 22, 2012 at 2:07 PM

Re: Actuate issues with newest NME

After countless trials and tribulations it seems that Haxe 2.09 was causing the problem so had to go back to 2.08 which is bad cause I can't use the features/fixes of the newest one. The thing I had to do was not to change the SDK in FlashDevelop to 2.08 but change the path in environmental vars to point to the old Haxe folder. I'm not sure whether changing SDK in FlashDevelop does anything. My problem is now gone, the tweens are working again. I'm just wondering how come no one else reported this issue.

Posted on May 22, 2012 at 1:51 PM

Actuate issues with newest NME

This is my first post here so hello to everyone!

I've recently setup a new pc and installed the latest version of nme which is 3.3.2. The problem I found is that when I build my app for android then the actuate lib is not working properly anymore. The tweens end and the onComplete event is dispatched but the properties of an object don't change. I don't get any errors.
This works fine for flash but seems to fail with android. On my older machine with NME 3.3.0 this works ok both for flash and android. I'm not really sure where the problem lies, whether it's a version problem or I'm just missing something on my new pc.

Posted on May 13, 2012 at 6:51 PM