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/sjscript/test/test01.sj

17 lines
317 B
Plaintext

// this is comment
$define horming {
translate_x += cos(atan(player_y, player_x)) * $horming_speed;
translate_y += sin(atan(player_y, player_x)) * $horming_speed;
}
A [0..10] {
translate_x = 0.5 + sin(rtime)*0.5;
translate_y = 0.5 + cos(rtime)*0.5;
}
B [5..15] {
$define horming_speed {0.1}
$horming
}