It looks like you're new here. If you want to get involved, click one of these buttons!
When I touch one area then touch another (2 touches at once)codea recognizes it as one single touch moving, meaning that if the first or second touch is lifted, both are recognized as ended. Help?
Comments
@Mac_n_chese Look at this code to see how multiple touches can be kept independent of each other. Touch the screen with several fingers and move them. Lift your finger and retouch to see how the touched are seperate from each other.
You never cease to amaze me with your quick and helpful replies @dave1707
I'll look into it
@Mac_n_chese I don't have any comments on the code, so if you have any questions, I can add some.
I'm understanding most of it, but if I have any questions I'll ask. Thanks
Heh, I'm kinda embarrassed, but could you please add comments? XD
@Mac_n_chese I added comments to the above code. If you still have questions, just ask.
I do have one question..... In the multitouch example ( which I found after posting this discussion) uses something like: tab[t.id]=t. What is it in this example that does the same thing?
@Mac_n_chese tab[t.id]=t is just creating a table using the id as the key to a table. What I'm doing is saving the x,y,id,color values as a vec4 in a table. So the uses of the tables are different.
Ah I see, thanks again