[Skin] Cutoff #11

Closed
opened 2022-11-27 16:51:57 +08:00 by Pop_Slime · 2 comments
Owner

Description

Explore a syntax for or add properties related to cutoff.

## Description Explore a syntax for or add properties related to cutoff.
Pop_Slime added the
feature
label 2022-11-27 16:51:57 +08:00
Pop_Slime added this to the crtr project 2022-11-27 16:51:57 +08:00
Author
Owner

Draft

  • Example primary judge: head
  • Example secondary judge for miss: j_miss
  • Example component: polysec

Cut at hit timing

@if .judge_head {
	@if > !is(?judge_result, null) & !is(?judge_result, j_miss); {
		polysec.partial;
		@if ..jtrel_head {
			polysec.part: start;
		}
	}
}

(Current implementation is unstable)

## Draft - Example primary judge: `head` - Example secondary judge for miss: `j_miss` - Example component: `polysec` ### Cut at hit timing ``` @if .judge_head { @if > !is(?judge_result, null) & !is(?judge_result, j_miss); { polysec.partial; @if ..jtrel_head { polysec.part: start; } } } ``` (*Current implementation is unstable*)
Author
Owner

Solution

  • Example primary judge: head
  • Example primary judge for long note body: longbody
  • Example secondary judge for miss: j_miss

Cut at hit timing

@if .judge_head {
	@if > !is(?judge_result, null) & !is(?judge_result, j_miss); {
		@head: judge_timing_relative;
	}
}

Cut at judgement line

@if .judge_head {
	@if > !is(?judge_result, null) & !is(?judge_result, j_miss); {
		@head: current_time;
	}
}

Fall on break

@if .judge_longbody {
	@if > !is(?judge_result, null); {
		@head: judge_time_absolute;
	}
}
## Solution - Example primary judge: `head` - Example primary judge for long note body: `longbody` - Example secondary judge for miss: `j_miss` ### Cut at hit timing ``` @if .judge_head { @if > !is(?judge_result, null) & !is(?judge_result, j_miss); { @head: judge_timing_relative; } } ``` ### Cut at judgement line ``` @if .judge_head { @if > !is(?judge_result, null) & !is(?judge_result, j_miss); { @head: current_time; } } ``` ### Fall on break ``` @if .judge_longbody { @if > !is(?judge_result, null); { @head: judge_time_absolute; } } ```
Pop_Slime added this to the 0.6.0 milestone 2023-02-27 15:08:58 +08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Pop_Slime/crtr#11
No description provided.