:D
This commit is contained in:
commit
09ade10207
117 changed files with 2153 additions and 0 deletions
7
eastern flames/scripts/draw_hitbox/draw_hitbox.gml
Normal file
7
eastern flames/scripts/draw_hitbox/draw_hitbox.gml
Normal file
|
@ -0,0 +1,7 @@
|
|||
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)
|
||||
}
|
||||
}
|
12
eastern flames/scripts/draw_hitbox/draw_hitbox.yy
Normal file
12
eastern flames/scripts/draw_hitbox/draw_hitbox.yy
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "drawing",
|
||||
"path": "folders/Scripts/drawing.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "draw_hitbox",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue