This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
shapes-juke/.bin/music/test-60bpm.sj

51 lines
934 B
Plaintext
Raw Normal View History

2019-10-14 00:00:00 +00:00
actor [0..1] {
color_a := 1;
clip_left := 0.1;
}
2019-10-14 00:00:00 +00:00
background [0..1] {
inner_r := 0.8;
inner_g := 0.8;
inner_b := 0.8;
inner_a := 1;
outer_r := 0;
outer_g := 0;
outer_b := 0;
outer_a := 1;
}
2019-10-14 00:00:00 +00:00
posteffect [0..1] {
clip_left := 0.1;
clip_right := 0.1;
}
variable [0..1] {
hoge = 1;
}
$repeat i 2 {
$repeat j 20 {
circle [$i+1..$i+3] {
color_r := 0.8;
color_g := 0.1;
color_b := 0.1;
color_a = hoge;
damage := 0.1;
nearness_coe := 0.01;
__theta := 2*3.14/20 * $j;
translation_x := cos(__theta) * 0.5;
translation_y := sin(__theta) * 0.5;
scale_x := 0.025;
scale_y := 0.025;
__atan := atan2(actor_y - translation_y, actor_x - translation_x);
__speed_x := cos(__atan) * 0.015;
__speed_y := sin(__atan) * 0.015;
translation_x += __speed_x;
translation_y += __speed_y;
}
}
}