xobust / Project-Broban

ProjInda15 project
5 stars 2 forks source link

Add collision squares system #55

Closed iRobsc closed 8 years ago

iRobsc commented 8 years ago

Basically like a collision box in a 3d game but a square that is isometric or whatever shape it needs to be. This can be used as teleportion hitboxes, monsters, players, world collision, wate collision etc. We will need to think through how we want to make it tho @xobust @willwull

iRobsc commented 8 years ago

I was thinking that this collision box shouldn't include the collision tiles? The collision tiles should be a different kind of collision since they are calculated directly. We don't need to add these collision squares on top of our tile squares. We do need this tho so we know where the collision is when you attack: #28

xobust commented 8 years ago

Can you present a good scheme to sync this collision system with the tiles player and other objects?

iRobsc commented 8 years ago

We don't have to present these collision boxes inside the tiles. This is just for external collision like the players hitbox which moves and does not use tile collision as it's own hitbox.

xobust commented 8 years ago

Okay so where will we use the collision grid?

iRobsc commented 8 years ago

Pathfinding, game objects and other terrain stuff.

xobust commented 8 years ago

okey

TheForgot3n1 commented 8 years ago

Collision is a very important topic in modern gaming.

willwull commented 8 years ago

Implemented #83, so this is no longer needed.