xobust / Project-Broban

ProjInda15 project
5 stars 2 forks source link

Add collision grid #67

Closed iRobsc closed 8 years ago

iRobsc commented 8 years ago

I'm also thinking that the objects that gets placed out are handled by this grid. Like a tree takes up 4 tiles and a stone one tile for an example.

willwull commented 8 years ago

Isn't this the same as #55?

iRobsc commented 8 years ago

Nope, I'm thinking about closing #55 since we figured out that the player attack, monster collision and entering new rooms can be handled with other things.

iRobsc commented 8 years ago

55 is basically just a 4 sided box that isn't attached to a grid. Which isn't needed for now.

iRobsc commented 8 years ago

This is an explanation of the grid indexation. Very useful when we want to do the pathfinding algorithm. grid_index_explanation

iRobsc commented 8 years ago

This one is the actual "when the rows are even". The past picture should be odd rows.

grid_index_explanation_even

willwull commented 8 years ago

Implemented in #83, good job bro :+1: