ArmonPlan's Recent Forum Activity

  • Is this what you are trying to make?

    https://howtoconstructdemos.com/physics-game-draw-lines-to-catch-falling-objects-capx/

    Here is another example:

    https://howtoconstructdemos.com/draw-a-path-on-the-screen-and-move-your-character-along-it/

    Yes thank you ! the first one is exactly what i need, just missing the physics part

    the aim is to "pin" each points to the preceding so i can apply gravity to the drawing

    The second is good to keep if needed one day xD

  • Hi Part12studios and thank you for this answer !!

    i've tried this solution but this wasnt as accurate as i wanted soo i did it like this:

    1/ draw a first sprite on the very first touch

    2/ compute distance between the last sprite created and current touch position

    3/ repeat N times (where N is the result of the division of the distance by a global variable "distanceBetweenPoints")

    4/ and inside the repeat loop i'm drawing a point at lastSprite.X and lastSprite.Y + define position by angle where angle = the relative angle to current touch point, and distance = "distanceBetweenPoints"

    I hope it's clear :D

    with this method the line is very smooth :D

    My last problem is to find a way to "pin" each points with the last one created

  • edit1: sorry the url is not shown correctly: https://play.google.com/store/apps/details?id=com.orbital.brainiton https://play.google.com/store/apps/details?id=com.orbital.brainiton

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi !

    I try to make a solid line wich has to be drawn with the player's finger (something like that play.google.com/store/apps/details

    But, i have 2 main issues, i've created a little sprite (10x10) and assigned the Solid and the Physics behaviour to it,

    now i try to draw like this :

    the main issue is: when i'm moving my finger fast, the sprites are not drawn side by side but with a huge distance between each ones

    The second issue is: i cant "fix" em all so they act as a solid path

    Thank you so much for your help :D

    Edit: Link to the solution https://www.construct.net/en/forum/construct-3/how-do-i-8/draw-solid-line-finger-157441/page-2#forumPost1031100

ArmonPlan's avatar

ArmonPlan

Member since 16 Dec, 2020

None one is following ArmonPlan yet!

Trophy Case

  • 3-Year Club
  • Email Verified

Progress

4/44
How to earn trophies