Results 1 to 3 of 3

Thread: bug on sharp with a rounded edge

  1. #1
    Tuner in Training
    Join Date
    Mar 2023
    Posts
    12

    Question bug on sharp with a rounded edge

    Hello
    I see a bug on RaceRender 3. 7. 3 Ultimate
    When I insert a rectangular Sharp with a rounded edge. The right edge is not the same as the left edge.
    It is more or less visible depending on the proportions that are given to the shape.
    Is it possible to edit something to fix this little problem?
    Thank you
    Attached Images Attached Images

  2. #2
    Advanced Tuner
    Join Date
    Apr 2018
    Posts
    294
    Yep, it looks like the Rounded Rectangle and Rounder Rectangle objects are clipping a few pixels on the right side.

    You could use a super simple Enhanced Display Object to add a few pixels of buffer between the edge of the shape and the edge of the Display Object itself:
    RoundedRectangleEDO.rro
    RounderRectangleEDO.rro

    These will need to be slightly larger and placed slightly differently than the default objects, but you should be able to adjust them with the same size and position parameters as before. You can play around with the SizeX and SizeY variables in the Canvas Size in the bottom left of the Object Parameters in the Enhanced Object Script Editor in order to change how steep or shallow the rounded curve is. You can also remove the "//" from the start of the last line in the Background Script to add an outline to the object.

  3. #3
    Tuner in Training
    Join Date
    Mar 2023
    Posts
    12
    Yes it's going very well!
    It's really a wonderful idea to make advanced objects where you can program everything in C
    pulnoy_laneuveville.jpg