just a reminder of my experience...

Hi,

I just want to remind if you are using CCMenuItemImage like buttons.

You must keep in mind that user may press the button multiple times at once.

So your callback for this CCMenuItemImage can be invoked more than once.

It’s happened to me on iOS.

Hope it will help someone.

So what you have done to avoid this?

Eventually, I didn’t do anything wisely.

I just add a flag to check if this is the first time that user press the button.

I have similar problem on Android.

If button event take more time (loading image…), then I can touch another button and another event occur.

I didnt find solution yet, but mayby flag for lock (like semaphor) can solve it.

Another better solution?