eastern-flames/eastern flames/scripts/draw_hitbox/draw_hitbox.gml

7 lines
267 B
Plaintext
Raw Permalink Normal View History

2022-08-07 21:14:04 +00:00
function draw_hitbox(obj){
with(obj){
var bbox_width = sprite_get_bbox_left(sprite_index) - sprite_get_bbox_right(sprite_index)
bbox_width = abs(bbox_width)
draw_circle_width((bbox_left+bbox_right)/2,(bbox_top+bbox_bottom)/2,bbox_width,global.scale,true)
}
}