Note
HELP WANTED!
Most class reference pages are not fully covered yet! If you have more information, please consider Contributing!
Hitboxο
Inherits: CollisionBox < Node2D < CanvasItem < Node < Object
Inherited By: SweptHitbox, ThrowBox
No description provided.
Overviewο
Properties Indexο
@export _c_Block_Properties |
|
|
@export _c_Damage |
|
|
@export _c_Frame_Data |
|
|
@export _c_Fx |
|
|
@export _c_Grouping |
|
|
@export _c_Hit_Properties |
|
|
@export _c_Knockback |
|
|
@export _c_Knockback_Type |
|
|
@export _c_Loop_Data |
|
|
@export _c_Sfx |
|
|
@export activated |
|
|
@export active_ticks |
|
|
@export aerial_hit_state |
|
|
@export air_ground_bounce |
|
|
@export always_on |
|
|
@export bass_on_whiff |
|
|
@export beats_grab |
|
|
@export block_cancel_allowed |
|
|
@export block_punishable |
|
|
@export block_pushback_modifier |
|
|
@export bump_on_whiff |
|
|
@export camera_bump_dir |
|
|
@export can_clash |
|
|
@export can_counter_hit |
|
|
@export cancellable |
|
|
@export chip_damage_modifier |
|
|
@export combo_hitstun_ticks |
|
|
@export combo_scaling_amount |
|
|
@export damage |
|
|
@export damage_in_combo |
|
|
@export damage_proration |
|
|
@export di_modifier |
|
|
@export dir_x |
|
|
@export dir_y |
|
|
@export disable_collision |
|
|
@export followup_state |
|
|
@export force_grounded |
|
|
@export ground_bounce |
|
|
@export ground_bounce_knockback_modifier |
|
|
@export grounded_hit_state |
|
|
@export group |
|
|
@export guard_break |
|
|
@export hard_knockdown |
|
|
@export hit_bass_sound |
|
|
Hitbox.HitHeight |
@export hit_height |
|
@export hit_particle |
|
|
@export hit_sound |
|
|
@export hit_sound_volume |
|
|
HitboxType |
@export hitbox_type |
|
@export hitlag_ticks |
|
|
@export hits_otg |
|
|
@export hits_projectiles |
|
|
@export hits_vs_aerial |
|
|
@export hits_vs_dizzy |
|
|
@export hits_vs_grounded |
|
|
@export hits_vs_standing |
|
|
@export hitstun_ticks |
|
|
@export ignore_armor |
|
|
@export ignore_projectile_armor |
|
|
@export increment_combo |
|
|
@export knockback |
|
|
@export knockdown |
|
|
@export knockdown_extends_hitstun |
|
|
@export launch_reversible |
|
|
@export loop_active_ticks |
|
|
@export loop_inactive_ticks |
|
|
@export looping |
|
|
@export meter_gain_modifier |
|
|
@export minimum_damage |
|
|
@export minimum_grounded_frames |
|
|
@export parry_meter_gain |
|
|
@export plus_frames |
|
|
@export priority |
|
|
@export pushback_x |
|
|
@export replace_hit_particle |
|
|
@export rumble |
|
|
@export scale_combo |
|
|
@export screenshake_amount |
|
|
@export screenshake_frames |
|
|
@export sdi_modifier |
|
|
@export send_away_from_center |
|
|
@export start_tick |
|
|
@export vacuum |
|
|
@export victim_hitlag |
|
|
@export wall_slam |
|
|
@export whiff_particle |
|
|
@export whiff_sound |
|
|
@export whiff_sound_volume |
|
|
|
||
|
||
|
||
VariableSound2D |
|
|
|
||
|
||
VariableSound2D |
|
|
|
||
NativeMethods |
|
|
|
||
|
||
|
||
|
||
|
||
VariableSound2D |
|
Methods Indexο
activate() |
|
already_hit_object(obj: Variant) |
|
copy_to(hitbox: CollisionBox) |
|
get_angle_float(facing: bool) |
|
get_dir_float(facing: bool) |
|
init() |
|
save_hit_object(obj: Variant) |
|
spawn_particle(particle: Variant, obj: Variant, dir: Variant) |
|
tick() |
|
to_data() |
|
Signalsο
got_parried() π
No description provided.
hit_something(obj: Variant, hitbox: Variant) π
No description provided.
Constantsο
fixed COMBO_PUSHBACK_COEFFICIENT = "0.4" π
No description provided.
int COMBO_SAME_MOVE_HITSTUN_DECREASE_AMOUNT = 1 π
No description provided.
fixed COMBO_SAME_MOVE_KNOCKBACK_INCREASE_AMOUNT_AERIAL = "1.05" π
No description provided.
fixed COMBO_SAME_MOVE_KNOCKBACK_INCREASE_AMOUNT_GROUNDED = "1.25" π
No description provided.
PackedScene DEFAULT_HIT_PARTICLE = preload("res://fx/HitEffect1.tscn") π
No description provided.
fixed MAX_KNOCKBACK = "30" π
No description provided.
Property Descriptionsο
@export
void _c_Block_Properties = null π
No description provided.
@export
No description provided.
@export
void _c_Frame_Data = null π
No description provided.
@export
No description provided.
@export
No description provided.
@export
void _c_Hit_Properties = null π
No description provided.
@export
No description provided.
@export
void _c_Knockback_Type = null π
No description provided.
@export
No description provided.
@export
No description provided.
@export
No description provided.
@export
No description provided.
@export
String aerial_hit_state = "HurtAerial" π
No description provided.
@export
bool air_ground_bounce = false π
No description provided.
@export
No description provided.
@export
bool bass_on_whiff = false π
No description provided.
@export
No description provided.
@export
bool block_cancel_allowed = true π
If true, hitting the opponent while they are blocking will grant them an interrupt turn. Note that if the opponent Perfect Parries, they will gain an interrupt turn regardless of what value this is set to.
@export
bool block_punishable = false π
If false, hitting the opponent while they are soft blocking (without a **Perfect Parry*)* will cause the player to gain their next interrupt turn on their opponents next turn. This generally means that if true, the player will not get a turn when hitting the opponents block.
Has no effect if ^block_cancel_allowed is false, or if the parent ^CharacterState.interruptible_on_opponent_turn is true.
@export
String block_pushback_modifier = "1.0" π
No description provided.
@export
bool bump_on_whiff = false π
No description provided.
@export
Vector2 camera_bump_dir = Vector2() π
No description provided.
@export
No description provided.
@export
bool can_counter_hit = true π
No description provided.
@export
No description provided.
@export
fixed chip_damage_modifier = "1.0" π
No description provided.
@export
int combo_hitstun_ticks = - 1 π
No description provided.
@export
int combo_scaling_amount = 1 π
No description provided.
@export
No description provided.
@export
int damage_in_combo = - 1 π
No description provided.
@export
No description provided.
@export
fixed di_modifier = "1.0" π
No description provided.
@export
No description provided.
@export
No description provided.
@export
bool disable_collision = true π
No description provided.
@export
String followup_state = "" π
No description provided.
@export
bool force_grounded = false π
No description provided.
@export
bool ground_bounce = true π
No description provided.
@export
fixed ground_bounce_knockback_modifier = "1.0" π
No description provided.
@export
String grounded_hit_state = "HurtGrounded" π
No description provided.
@export
No description provided.
@export
If true, this hitbox will bypass the opponents block unless they Perfect Parry.
@export
bool hard_knockdown = false π
No description provided.
@export
AudioStream hit_bass_sound = preload("res://sound/common/hit\_bass.wav") π
No description provided.
@export
Hitbox.HitHeight hit_height = HitHeight.Mid π
The height the opponent must select during for a block in order to Perfect Parry this hitbox. (Note that the opponent must also select the tick they are getting hit in order to **Perfect Parry*)*
A height of Mid counts as height of High.
@export
PackedScene hit_particle = null π
No description provided.
@export
AudioStream hit_sound = preload("res://sound/common/hit1.wav") π
No description provided.
@export
float hit_sound_volume = - 5.0 π
No description provided.
@export
HitboxType hitbox_type = HitboxType.Normal π
No description provided.
@export
No description provided.
@export
No description provided.
@export
bool hits_projectiles = true π
No description provided.
@export
bool hits_vs_aerial = true π
No description provided.
@export
bool hits_vs_dizzy = true π
No description provided.
@export
bool hits_vs_grounded = true π
No description provided.
@export
bool hits_vs_standing = true π
No description provided.
@export
No description provided.
@export
bool ignore_armor = false π
No description provided.
@export
bool ignore_projectile_armor = false π
No description provided.
@export
bool increment_combo = true π
No description provided.
@export
String knockback = "10.0" π
No description provided.
@export
No description provided.
@export
bool knockdown_extends_hitstun = true π
No description provided.
@export
bool launch_reversible = false π
No description provided.
@export
int loop_active_ticks = 2 π
No description provided.
@export
int loop_inactive_ticks = 2 π
No description provided.
@export
No description provided.
@export
fixed meter_gain_modifier = "1.0" π
No description provided.
@export
No description provided.
@export
int minimum_grounded_frames = - 1 π
No description provided.
@export
int parry_meter_gain = - 1 π
No description provided.
@export
The amount of ticks the start of the opponents next state will be delayed for after hitting them while they are soft blocking (without a **Perfect Parry*)*.
Negative values will cause the attacker to be delayed instead.
*Tip: values should generally range from -1 to +4 depending on speed, size, and other aspects, while projectiles hitboxes should generally be +2. You can always check the base roster for βbalancing adviceβ*β
@export
No description provided.
@export
String pushback_x = "1.0" π
No description provided.
@export
bool replace_hit_particle = false π
No description provided.
@export
No description provided.
@export
No description provided.
@export
int screenshake_amount = 4 π
No description provided.
@export
int screenshake_frames = - 1 π
No description provided.
@export
fixed sdi_modifier = "1.0" π
No description provided.
@export
bool send_away_from_center = false π
No description provided.
@export
No description provided.
@export
No description provided.
@export
No description provided.
@export
No description provided.
@export
PackedScene whiff_particle = null π
No description provided.
@export
AudioStream whiff_sound = preload("res://sound/common/whiff1.wav") π
No description provided.
@export
float whiff_sound_volume = - 8.0 π
No description provided.
No description provided.
No description provided.
Array grouped_hitboxes = \[\] π
No description provided.
VariableSound2D hit_bass_sound_player = null π
No description provided.
No description provided.
PackedScene HIT_PARTICLE = preload("res://fx/HitEffect1.tscn") π
No description provided.
VariableSound2D hit_sound_player = null π
No description provided.
No description provided.
NativeMethods native = null π
No description provided.
bool played_whiff_sound = false π
No description provided.
PoolStringArray property_list = null π
No description provided.
bool spawn_particle_effect = true π
No description provided.
No description provided.
No description provided.
VariableSound2D whiff_sound_player = null π
No description provided.
Method Descriptionsο
No description provided.
bool already_hit_object(obj: Variant) π
No description provided.
No description provided.
void copy_to(hitbox: CollisionBox) π
No description provided.
No description provided.
float get_angle_float(facing: bool) π
No description provided.
Vector2 get_dir_float(facing: bool) π
No description provided.
No description provided.
No description provided.
fixed get_real_knockback() π
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
bool otg_check(obj: Variant) π
No description provided.
No description provided.
void save_hit_object(obj: Variant) π
No description provided.
No description provided.
void spawn_particle(particle: Variant, obj: Variant, dir: Variant) π
No description provided.
void spawn_whiff_particle() π
No description provided.
No description provided.
HitboxData to_data() π
No description provided.
void update_property_list() π
No description provided.