- Forums
- »
- General Discussion
- »
- NME app has lower performance on iOS than on other platforms - why?
|
Viewing 1 to 13 (13 Total) NME app has lower performance on iOS than on other platforms - why? |
|
|---|---|
JurieTotal Posts: 8
Joined: April 14, 2012
|
I've got a tiny game prototype with about 20-30 sprites. FPS is set to 60 in the NMML file. It runs very smooth when I build for Mac or when I run the iOS build in the iPad simulator. But when I run it on my iPhone 4S, it has a low performance and jittery movement.
Tags:
Posted on April 16, 2012 at 2:13 PM
|
PhilippeTotal Posts: 262
Joined: September 08, 2011
|
Re: NME app has lower performance on iOS than on other platforms - why?Desktop performance is always going to be considerably better than on the device. Simulator performance is a bit random - sometimes slower, sometimes faster. In both cases they won't represent the final performance.
Posted on April 16, 2012 at 2:31 PM
|
JurieTotal Posts: 8
Joined: April 14, 2012
|
Re: NME app has lower performance on iOS than on other platforms - why?I use no effects whatsoever. It's a super-tiny project. It just moves 20-30 sprites, 88x88 pixels.
Posted on April 16, 2012 at 2:35 PM
|
PhilippeTotal Posts: 262
Joined: September 08, 2011
|
Re: NME app has lower performance on iOS than on other platforms - why?Can you show the code then if it's a little sample?
Posted on April 16, 2012 at 2:40 PM
|
JurieTotal Posts: 8
Joined: April 14, 2012
|
Re: NME app has lower performance on iOS than on other platforms - why?Sure. It's right here:http://pastebin.com/NWAAH0Rn
Posted on April 16, 2012 at 2:41 PM
|
PhilippeTotal Posts: 262
Joined: September 08, 2011
|
Re: NME app has lower performance on iOS than on other platforms - why?Hum, did you read what I said previously?
Posted on April 16, 2012 at 2:53 PM
|
JurieTotal Posts: 8
Joined: April 14, 2012
|
Re: NME app has lower performance on iOS than on other platforms - why?I read it but I didn't understand it
Posted on April 16, 2012 at 3:06 PM
|
JurieTotal Posts: 8
Joined: April 14, 2012
|
Re: NME app has lower performance on iOS than on other platforms - why?So I've switched to Tilesheets but no matter what I try the sprites look like this:
Posted on April 16, 2012 at 4:13 PM
|
PhilippeTotal Posts: 262
Joined: September 08, 2011
|
Re: NME app has lower performance on iOS than on other platforms - why?How did you create the spritesheet? Try reencoding the PNG differently.
Posted on April 16, 2012 at 4:22 PM
|
JurieTotal Posts: 8
Joined: April 14, 2012
|
Re: NME app has lower performance on iOS than on other platforms - why?Using ImageMagick montage. Is there any particular kind of PNG I should / should not use?
Posted on April 16, 2012 at 4:37 PM
|
JurieTotal Posts: 8
Joined: April 14, 2012
|
Re: NME app has lower performance on iOS than on other platforms - why?Ah, I guess 16 bit/pixel PNGs are not so useful... Now to fix the alpha channel somehow.
Posted on April 16, 2012 at 4:44 PM
|
PhilippeTotal Posts: 262
Joined: September 08, 2011
|
Re: NME app has lower performance on iOS than on other platforms - why?TexturePacker is worth every cent and works on all 3 platforms.
Posted on April 16, 2012 at 4:52 PM
|
JurieTotal Posts: 8
Joined: April 14, 2012
|
Re: NME app has lower performance on iOS than on other platforms - why?Thanks for the recommendation. I'd heard of it, but wanted a quicker solution... The sprites show fine except for the alpha. I'll figure it out
Posted on April 16, 2012 at 4:54 PM
|
