OskyGuy's Recent Forum Activity

  • Wow. This is perfect. I'll have to study how you made this. Thanks again!!!

  • OK, the arrow shaft is implemented but now I need to place the arrowhead at the end of the shaft. Using the 3 controls points is not working, given my limited skills. Any suggestions?

  • Excellent. This is exactly it! Thanks guys so much for your help. You are truly stellar people!

  • This is really close! It certainly creates a curved arrow shaft, and I see that the a, b, c variables are inputs from scene objects, not set x,y coordinates. Makes sense.

    The problem, however, is that the sprite that defines the curve of the arrow shaft is not on the line. Off curve controls are difficult for users to understand. When I looked up quadratic splines the images all showed on-curve control points but for some reason your demo project has the center control off-curve.

    Any idea why?

  • qarp(a, b, c, x) Quadratic interpolation through a, b and c by x.

    Calculates lerp(lerp(a, b, x), lerp(b, c, x), x).

    Quadratic interpolation looks like it's the right way to go, but how do you input (x,y) coordinates into qarp(a, b, c, x)?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi! I'd like to create a curved arrow where the amount of curve can be controlled by the user. Here is a picture from an app called Notability that has curved arrows with the same controls as I want. You can see all 3 controls are on-path. The arrow shaft (line) is created and then the arrow head is rotated to be in-line with the end of the line. Any *pointers* on how to do this?

    The above example is just a line. Here is what I'd like my final version to look like. I'd like to start with an SVG file and deform the arrow shaft, then drop to pixels to preserve clarity of the final image. But I'll take suggestions.

    Thanks!

  • Ah, perfect. I was searching writing on white board and chalk board and nothing was coming up.

    Thanks so much!

  • Sorry if this is super simple, I'm just starting. I'd like to draw on the screen to make lines, like drawing on a white board. Change the color of the drawing pencil. Draw arrowheads at the end of a line. Things like that. Any suggestions?

    Thanks!

OskyGuy's avatar

OskyGuy

Member since 29 Sep, 2021

None one is following OskyGuy yet!

Trophy Case

  • 3-Year Club
  • Email Verified

Progress

4/44
How to earn trophies