Skip to content

Commit

Permalink
Merge pull request ppy#10239 from cl8n/timestamp
Browse files Browse the repository at this point in the history
Clean up `Timestamp`, document mania format, and use better examples
  • Loading branch information
Hiviexd authored Oct 21, 2023
2 parents b9c33a8 + f70ee5c commit ba6fef7
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 8 deletions.
31 changes: 23 additions & 8 deletions wiki/Modding/Timestamp/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,35 @@ tags:

# Timestamp

**Timestamps** are used in [modding](/wiki/Modding) to refer to times or [hit objects](/wiki/Gameplay/Hit_object) of a [beatmap](/wiki/Beatmap). When posted on [beatmap discussions](/wiki/Beatmap_discussion), they create special links that can be used to easily jump to that point in the [editor](/wiki/Client/Beatmap_editor).
**Timestamps** are used in [modding](/wiki/Modding) to refer to times or [hit objects](/wiki/Gameplay/Hit_object) in a [beatmap](/wiki/Beatmap). When posted on [beatmap discussions](/wiki/Beatmap_discussion), they create special links that can be used to easily jump to that point in the [editor](/wiki/Client/Beatmap_editor).

Copying (`Ctrl` + `C`) a selection of hit objects in the editor will put a timestamp on the clipboard. The time in the bottom-left can also be clicked on and copied.

## Format

Timestamp syntax: `minutes:seconds:milliseconds (combo numbers)`\
Link syntax: `osu://edit/timestamp`
Timestamp syntax: `<minutes>:<seconds>:<milliseconds> (<combo numbers>)`\
Link syntax: `osu://edit/<timestamp>`

`minutes` and `seconds` are padded to 2 digits, and `milliseconds` is padded to 3. `combo numbers` are optional and separated by commas.
`minutes` and `seconds` are padded with zeroes to 2 digits, and `milliseconds` is padded to 3. [`combo numbers`](/wiki/Beatmapping/Combo) are optional and separated by commas.

### Example
[osu!mania](/wiki/Game_mode/osu!mania) hit objects in timestamps use a `<milliseconds>|<column>` format instead of a combo number. `column` refers to the zero-indexed position of the column starting from the left of the [playfield](/wiki/Game_mode/osu!mania#playfield).

For a reference to objects 5 and 6 at 12 seconds and 34 milliseconds into a map:
### Examples

Timestamp: `00:12:034 (5,6)`\
Link: `osu://edit/00:12:034 (5,6)`
1 minute and 20 seconds:

```
01:20:000
```

Hit objects with combo numbers 5 and 6, starting at 12 seconds and 34 milliseconds:

```
00:12:034 (5,6)
```

osu!mania hit objects in the 1st and 4th columns at 1 minute, and in the 7th column at 1 minute and 35 seconds:

```
01:00:000 (60000|0,60000|3,95000|6)
```
2 changes: 2 additions & 0 deletions wiki/Modding/Timestamp/fr.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
outdated_since: 978fec75b84f424db647a1105bf8e26b9aec028c
outdated_translation: true
tags:
- edit link
- timestamps
Expand Down
2 changes: 2 additions & 0 deletions wiki/Modding/Timestamp/id.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
outdated_since: 978fec75b84f424db647a1105bf8e26b9aec028c
outdated_translation: true
tags:
- edit link
- timestamps
Expand Down
2 changes: 2 additions & 0 deletions wiki/Modding/Timestamp/ja.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
outdated_since: 978fec75b84f424db647a1105bf8e26b9aec028c
outdated_translation: true
tags:
- edit link
- timestamps
Expand Down
2 changes: 2 additions & 0 deletions wiki/Modding/Timestamp/tr.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
outdated_since: 978fec75b84f424db647a1105bf8e26b9aec028c
outdated_translation: true
tags:
- edit link
- timestamps
Expand Down

0 comments on commit ba6fef7

Please sign in to comment.