Tweak swim hitbox for new sprites
parent
d4bc574d09
commit
595b778066
|
@ -566,7 +566,7 @@ void player_bbox_update_system(Scene_t* scene)
|
|||
p_hurtbox->size = p_bbox->size;
|
||||
p_hurtbox->size.x *= EXTENDED_WIDTH_FACTOR;
|
||||
p_hitbox->boxes[0].width = extended_width;
|
||||
p_hitbox->boxes[1].width = extended_width + 4;
|
||||
p_hitbox->boxes[1].width = extended_width;
|
||||
|
||||
AnchorPoint_t anchor = p_mstate->x_dir > 0 ? AP_TOP_RIGHT : AP_TOP_LEFT;
|
||||
Vector2 offset = shift_bbox(
|
||||
|
|
Loading…
Reference in New Issue