But does this mean I can only have a 2x2 hitbox?
Would it be a simple edit to have separate attribute boxes for the width and height of the hitbox,
so that I could have a 2x2 enemy with a hitbox that was 24x36 pixels for example?
If I did this:
if(enemy->Attributes[11] < 0 ){
enemy->Extend = 3;
enemy->TileWidth = enemy->Attributes[10]*-1; //Attribute 11 = -width
enemy->TileHeight = enemy->Attributes[11]*-1; //Attribute 12 = -height
enemy->HitWidth = enemy->Attributes[8]*-16;
enemy->HitHeight = enemy->Attributes[9]*-16;
enemy->Misc[__GHI_IN_USE] = 1;
continue;
}
Would it work?


