x


ex2D performance

I've just started digging ex2D and made a simple demo that instanciates 2D sprites size 100x100 (all from single prefab => single texture).

So, after compilation it to iOS I've got strange results.

iPad 2 shows 1000 sprites at 25 fps - that's ok.

But iPhone 4 shows 300 sprites at 15 fps. That seems to me extremely slow!

Did I make something wrong? Or is it a real speed of unity through ex2D under iOS ?

more ▼

asked Mar 29 '12 at 10:58 AM

soulburner gravatar image

soulburner
32 10 11 16

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

That shouldn't be the case if other conditions are the same. Beware that not only the number of sprite matters, but more importantly how large are those sprites. If you have 300 sprites but each one of them covers the whole screen you will not get a good performance.

Please attach some internal profiler log/screenshot or share the link of the test project. It would help to identify problem better.

We are making an action puzzle game with ex2D, with hundreds (normally over 400) of sprites on screen and tons of needs for updates. And we get a solid 55fps on iPhone4. So I don't think there's a particular performance problem with ex2D on iPhone4.

more ▼

answered Apr 01 '12 at 03:41 PM

nantas gravatar image

nantas
16 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1999
x1958
x662
x19
x5

asked: Mar 29 '12 at 10:58 AM

Seen: 984 times

Last Updated: Apr 01 '12 at 03:41 PM