Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Curves drawn using createCurve does not quite hit the final point.

    Bug Reporting (FUZE 4 Nintendo Switch)
    3
    3
    300
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vinicity
      vinicity F last edited by

      I tried the following code:

      points = []
      points[0] = {0, 100}
      points[1] = {gWidth(), 100}
      curve = createCurve(points)
      
      loop
        clear()
        drawShape(curve)
        update()
      repeat
      

      I expected a line to be drawn from the left border to the right one. However, the line touches the left border, but is actually 30-40 pixels short on the right side!

      This seems like a bug.

      Adding an extra point in the middle makes no difference either.

      1 Reply Last reply Reply Quote 2
      • Martin
        Martin Fuze Team last edited by

        If you draw a box that is outline only using the box() command then you'll find that doesn't meet up either, though it only looks like it's a pixel or so out in that case. I suspect that's a bug too.

        1 Reply Last reply Reply Quote 1
        • Willpowered
          Willpowered Fuze Team last edited by

          I've put this on the to-do list. Thanks for the report!

          1 Reply Last reply Reply Quote 1
          • First post
            Last post