forum

Slider Anchor Point Clarification

posted
Total Posts
3
Topic Starter
stUwUpid
Hey all,

I am currently in the middle of creating a project in which the user can draw on an interface with their mouse and it will convert your drawn area into a slider code that you can copy and paste into the .osu file. However, one thing that I am very confused about in regards to the osu file format for sliders is how the game can tell which x,y coordinate is a curve anchor point (white anchor) or an angle anchor point (red anchor).

For clarification, here is the code for a slider, and below it, a screenshot of the slider itself:
148,68,1341,2,0,B|144:156|216:120|216:120|236:216|148:252|148:252|312:176|312:176|296:272|224:332|224:332|224:288|224:288|384:320,1,849.999999999999


As you can see from the code, there is no indication of whether each anchor point (the values between the vertical pipes "|") is white or red.

If someone possesses any knowledge on the matter and could let me know, that would help me out a ton!

Thanks!
winber1
if you look closely, you'll see that certain points are repeated twice.

e.g
|148:252|148:252|

so that's how it knows.
Topic Starter
stUwUpid
Wow I feel really dumb. Thanks for letting me know :)
Please sign in to reply.

New reply