Trace the letters or numbers input from the touch of finger

Hi,

I want to create an app for kids to practice writing letters of the alphabet.

If a letter is diplayed on screen as dots and the user connect all the dots.

tguideu.gif

How would one implement this?

Thank you

You could establish a pattern for each letter like i.e. the capital letter L could have the pattern in a table:

1,0,0,

1,0,0,

1,1,1

you see that the 1´s make the shape of a L?

Now you can make another table that is empty and let the kids finger fill in the empty table (if you imagine a tic-tac-toe board) (this would of course involve a RuntimeEventListener that listens for the kid´s “move”. When the kid lifts his/her finger the listener can comare the two tables and see if they match up.

This could be combined with drawing a line that snaps to the center of each of the blocks in the grid and use some transition.to and other fancy cool corona stuff to make it slick and smooth :smiley:

Look at this illustration where I illustrate my thoughts:

http://3claws.org/tic-tac.png

first a grid with the use of a for loop (my example is just a 3 by 3 grid)

inside this loop you can put a black circle inside each grid cell or whatever, that represent 1 or 0

and the listener can check if the 1´s and 0´s x and y coordinates is within the range of the event.x and event.y (this will be the coordinates the kid just filled in in by dragging over the grid), then it can throw a positive response.

Keep in mind that this is just a thought I came up with now

Hope it will help you some of the way

ps1 I just made a tic-tac-toe my self :wink:

You could establish a pattern for each letter like i.e. the capital letter L could have the pattern in a table:

1,0,0,

1,0,0,

1,1,1

you see that the 1´s make the shape of a L?

Now you can make another table that is empty and let the kids finger fill in the empty table (if you imagine a tic-tac-toe board) (this would of course involve a RuntimeEventListener that listens for the kid´s “move”. When the kid lifts his/her finger the listener can comare the two tables and see if they match up.

This could be combined with drawing a line that snaps to the center of each of the blocks in the grid and use some transition.to and other fancy cool corona stuff to make it slick and smooth :smiley:

Look at this illustration where I illustrate my thoughts:

http://3claws.org/tic-tac.png

first a grid with the use of a for loop (my example is just a 3 by 3 grid)

inside this loop you can put a black circle inside each grid cell or whatever, that represent 1 or 0

and the listener can check if the 1´s and 0´s x and y coordinates is within the range of the event.x and event.y (this will be the coordinates the kid just filled in in by dragging over the grid), then it can throw a positive response.

Keep in mind that this is just a thought I came up with now

Hope it will help you some of the way

ps1 I just made a tic-tac-toe my self :wink:

hey! can you really help me through it too? i really need some help here… =(

hey! can you really help me through it too? i really need some help here… =(