Touch response
madpoet
Member Posts: 59
Touch registering on many small actors (42 pix square) seems to not work
very well at times on 2nd/3rdgen ipod. Is lag causing this?
Usually happens when 7 or more actors are flying around, all moving
and reacting to physics. Static 480x320 background.
The actors are like random bubbles that are spawned and destroyed and I'm using the
touched event within each actor. Is there a way to optimize the touch rule in some way?
Glad to hear any suggestions.....Cheers!!
very well at times on 2nd/3rdgen ipod. Is lag causing this?
Usually happens when 7 or more actors are flying around, all moving
and reacting to physics. Static 480x320 background.
The actors are like random bubbles that are spawned and destroyed and I'm using the
touched event within each actor. Is there a way to optimize the touch rule in some way?
Glad to hear any suggestions.....Cheers!!
Comments
Does this mean:
make the actor bigger even though image is 42 pixels square
or
make image bigger in photoshop and remake the actor to the new size.
Thx 4 the feedback...Much appreciated!
If your button is 32x32
Make its image 64x64, but have the button in the middles still 32x32 in size.
So essentially, there's a lot of empty space around the button.
Then make your actor 64x64 - the image will show as a small button, but the actor will be bigger so easier to hit.
Hope that makes sense,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
p
Smaller than 40x40 and a lot of adult fingers have trouble selecting the buttons accurately.
So if your 42x42 actors are already close to the minimum recommended size, theyre going to be at risk of issues, and if theyre moving around, its going to make them even more problematic.
So yup...make their touch area larger.