By George — February 11, 2018
Destroys all physical hitboxes for the character.
Example, called from attack_update.gml:
if (window == 2 && !free){
window = 3;
window_timer = 0;
destroy_hitboxes();
}
Categories: Functions, Programming, Workshop | Comments: 0
By George — February 11, 2018
Resets the number of hitboxes for the specified attack to the one originally initialized in [attack_name].gml.
Argument | Type | Description |
---|
attack | :real | The attack to reset the hitbox number of |
Example, called from attack_update.gml:
reset_num_hitboxes( AT_DSTRONG );
Categories: Functions, Programming, Workshop | Comments: 0
By George — February 11, 2018
Overwrites the number of hitboxes for the specified attack.
Argument | Type | Description |
---|
attack | :real | The attack to set the hitbox number of |
value | :real | The value to set |
Example, called from dstrong.gml:
set_num_hitboxes( AT_DSTRONG, 3 );
Categories: Functions, Programming, Workshop | Comments: 0
By George — February 11, 2018
Returns the number of hitboxes for the specified attack.
Argument | Type | Description |
---|
attack | :real | The attack to get the hitbox number for |
Example, called from post_draw.gml:
draw_debug_text( x, y, get_num_hitboxes( attack ));
Categories: Functions, Programming, Workshop | Comments: 0
By George — February 11, 2018
OResets a value from the hitbox grid to the one originally initialized in [attack_name].gml.
Argument | Type | Description |
---|
attack | :real | The attack to reset the value of |
hitbox | :real | The hitbox to reset the value of |
index | :real | The index of the attack grid to reset the value of |
Example, called from attack_update:
reset_hitbox_value( AT_FAIR, 1, HG_DAMAGE );
Categories: Functions, Programming, Workshop | Comments: 0