Good morning,
I'm developing a new game I have the following problem:
I've made a N times N grid full of circles and I want to detect when the user touch one circle and then moves the finger, while moving if the circle under his finger has a specific property, let's say dot.className == 'red', I want to detect that.
I suppose that the basis is in the following example
http://giderosmobile.com/forum/discussion/1393/drag-me-example/p1 but I don't know how to continue.
Could someone give me any hint?
Thank you!
Comments
or you can place the circles in a table and then based on the index determine the circle and get it's properties.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
I hope that my next post is to show to you my new game