Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
judging performance of lots of listeners — Gideros Forum

judging performance of lots of listeners

brendanhbrendanh Member
edited May 2012 in Game & application design
Hi Folks,

I'm just starting out with Gideros and LUA, and I'm very impressed so far with the smooth ride it's been!

I'm trying to get an idea of the performance penalties for lots of listeners in my app.

I have an application that divides the screen into a grid of sprites, and I want each to be responsive to touch/mouse events.

Can anyone comment on the performance of having, say, 100 sprites on the screen listening to touch/mouse events?

The alternative I guess is to have higher level listeners on some of the "container" sprites, and then doing some coordinate math to work out the appropriate child sprite to receive the event.

Thanks for any input people can provide.

Cheers,
-Brendan
Tagged:

Comments

Sign In or Register to comment.