ludum-dare-22/scripts/scr_outside_circle/scr_outside_circle.gml

8 lines
198 B
Plaintext

/// @function scr_outside_circle();
/// @param
function scr_outside_circle(){
if ( point_distance(x, y, room_width / 2, room_height / 2) > 1000 ) {
return true;
}
return false;
}