generated at
大学の先輩とのインタプリタの共同開発
弾幕STGの挙動をプログラムするための自作言語を作っていた

dannmaku
behavior enemy001 { bullet >> ID: 0 generate_bullets(24) set_bullets_position_at_enemy(0) scatter_bullets_in_circular_pattern(0.1f, 0f) delay_bullets(60) scatter_bullets_in_circular_pattern(0.1f, 180f) delay_bullets(120) ID: 1 generate_bullets(24) delay_bullets(60) set_bullets_position_at_enemy(0) scatter_bullets_in_circular_pattern(0.1f, 0f) delay_bullets(60) move_bullets_parallel(0.1f, 30f) delay_bullets(120) action >> repeat(10) { activate_bullets(0) wait(30) } }

> 自分が開発したものはしっかり説明しておかないとこうなるっていうのを身に沁みて感じています...。とりあえず次またこのような機会があるときには、せめてDocコメントを書くように習慣づけます。