Tracing an onscreen line for touch devices

0 favourites
  • 3 posts
From the Asset Store
Game for kids for tracing letters. A simple game for tracing letters.
  • Hi everyone;

    my team is making a Japanese language learning app for Android and iOS; and I would like the user to be able to draw a line onscreen to trace out a kanji character. There needs to be a line following the user's finger as he/she traces onscreen - the point being to learn how to write specific kanji characters.

    Here is an example of what I mean in the second to last screenshot on this app:

    Is this possible in Construct2? I cant find any documentation on how to do this and am currently stumped. Thank you for any help!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I've don simular things

    have a invisible bullet with a very high speed

    set angle toward touch.x & touch.y

    have a 10 by 10 sprite and set position to touch.x and touch.y

    have the bullet speed 0 if overlapping the 10 by 10 sprite

    spawn a circle dot the size you want the line if bullet speed is greater than 0

    this will spawn a dot every tick the bullet is moving making it appear as a line

  • Thank you, I will give it a try!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)