ZenthWolf / Breeze

Lowest End Game Engine
0 stars 0 forks source link

Ava - Character Coll Box definition #18

Closed ZenthWolf closed 4 years ago

ZenthWolf commented 4 years ago

Character class utilizes a virtual "GetCollBox" function override to return it's collision box. This is unnecessary.

All entities have a "collboxsize" parameter they are intended to use, but coordination in the character class has issues. A good solution would:

For a character, "pos" determines the upper left point of drawing the sprite (overestimated on current sheet- mostly draws "nothing") and where the collision box begins. This is not viable for the current set up as it would create a much wider collision box than the sprite.

This may be worked on by including a shift in the sprite drawing?

ZenthWolf commented 4 years ago

Due to the idea that enemies may need to react, a "virtual pushbox" function may be appropriate.

ZenthWolf commented 4 years ago

Ava has it's own repository- this issue is moved.