pingjiang / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Big Sprite #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using big sprite (320x480 in my case on HTC Dream or with emulator) slow down 
engine to 6 FPS.
Same issue using same texture as background.

Is this a bug or an engine limit? Or a Magic limit?

What version of Rokon are you using?
2.0.3

On which version of Android are you experiencing this?
2.1 with Magic. 2.2 with emulator

Original issue reported on code.google.com by gige...@gmail.com on 11 Jul 2010 at 10:46

GoogleCodeExporter commented 9 years ago
It's probably a limitation of your phone or your code. I'm using 880x500 
sprites, and I get 60 fps on my HTC Desire.

Original comment by necrotic...@gmail.com on 12 Jul 2010 at 8:50

GoogleCodeExporter commented 9 years ago
The code is simple. One Scene object with setBackgroud.
With old code (2.0.0 from trunk) using big background i got 40FPS. Something is 
change... in worst way :)

Hope in a fix.

Original comment by gige...@gmail.com on 12 Jul 2010 at 9:00

GoogleCodeExporter commented 9 years ago
It's not a bug... your phone is old, 2.0.0 had less features, must be slowing 
it down ..

Avoid large textured areas/sprites on older devices, and use VBOs

Original comment by rtaylor205@gmail.com on 25 Jul 2010 at 8:39