forum

How does the coordinate system in osu! work?

posted
Total Posts
5
Topic Starter
IOException
For example, when I go under HitObjects in an osu! file, I may see the following:
96,192,4730,1,0
136,192,4820,1,0
176,192,4911,1,0
216,192,5002,1,0
256,192,5093,1,0
336,192,5275,1,0
376,192,5366,1,0
376,272,5548,1,0
336,272,5639,1,0
256,272,5820,1,0
216,272,5911,1,0
...where 96, 192 (in the first line) represents coordinates. Obviously, everyone's resolution is different. What is the system for these coordinates? For example, it is 0,0 to 640,480 (just a guess)?
Bauxe
osu! uses a 4:3 aspect ratio for the play area always. To get the highest and lowest co-ordinates, you could just place one object in each corner on an empty map and then check it out.
Rirakusu
First let's have a general understanding of your play-area.

Width: 512
Height:384

The coordinates you've seen represent the X axis (width) and the Y axis (height). osu! draws the notes according to the X and Y locations on your play-area.
Your Good Self
The coordinate system works in osupixels, and then scaled accordingly to actual screen pixels.
nrl
wait wat
Please sign in to reply.

New reply