touhou-pride-jam-2021/thpj3/objects/obj_player_shot/Step_0.gml

3 lines
140 B
Plaintext

if ( x > BOUNDARY_RIGHT + 128 || x < BOUNDARY_LEFT - 128 || y > BOUNDARY_BOTTOM + 128 || y < BOUNDARY_TOP - 128 ) {
instance_destroy();
}