[update] Renamed Song to Music.
This commit is contained in:
0
.bin/music/Cranky-VLSI_short.sj
Normal file
0
.bin/music/Cranky-VLSI_short.sj
Normal file
4
.bin/music/README.md
Normal file
4
.bin/music/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
SONGS
|
||||
====
|
||||
|
||||
- [Cranky-VLSI_short](https://soundcloud.com/felinegroove/vlsi-short-edit)
|
||||
26
.bin/music/list.json
Normal file
26
.bin/music/list.json
Normal file
@@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"name": "test-60bpm",
|
||||
"bpm": 60,
|
||||
"music": "test-60bpm.ogg",
|
||||
"script": "test-60bpm.sj",
|
||||
|
||||
"preview": {
|
||||
"play-offset": 0,
|
||||
"bg-inner-color": [0.8, 0.8, 0.8, 1],
|
||||
"bg-outer-color": [0.1, 0.1, 0.1, 1]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Cranky - V.L.S.I.",
|
||||
"bpm": 60,
|
||||
"music": "Cranky-VLSI_short.ogg",
|
||||
"script": "Cranky-VLSI_short.sj",
|
||||
|
||||
"preview": {
|
||||
"play-offset": 38000,
|
||||
"bg-inner-color": [0.6, 0.6, 0.7, 1],
|
||||
"bg-outer-color": [0.1, 0.1, 0.1, 1]
|
||||
}
|
||||
}
|
||||
]
|
||||
BIN
.bin/music/test-60bpm.ogg
Normal file
BIN
.bin/music/test-60bpm.ogg
Normal file
Binary file not shown.
47
.bin/music/test-60bpm.sj
Normal file
47
.bin/music/test-60bpm.sj
Normal file
@@ -0,0 +1,47 @@
|
||||
actor [0..100] {
|
||||
color_a := 1;
|
||||
|
||||
clip_left := 0.1;
|
||||
}
|
||||
background [0..100] {
|
||||
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;
|
||||
}
|
||||
posteffect [0..100] {
|
||||
clip_left := 0.1;
|
||||
clip_right := 0.1;
|
||||
}
|
||||
|
||||
$repeat i 10 {
|
||||
$repeat j 20 {
|
||||
circle [$i..$i+2] {
|
||||
color_r := 0.8;
|
||||
color_g := 0.1;
|
||||
color_b := 0.1;
|
||||
color_a := 1;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user