I need to know if there is a way to create colision masks in rmxp.
Like for example I need to create a colision mask for a circle, I want that it would not move if any part of it is in a not passable area.
Is it possible?
I have tought of a Idea for doing this but still, i don't think its very efficient,
I would create a Mas module that would hold all the possible masks, like all the points that the mask has in a array (for ex), and to check the colision it would check all the points and see if the position is passable in all of them.
As you see it is not that efficient because it would lagg alot!
Do anyone has ideas for that?
Like for example I need to create a colision mask for a circle, I want that it would not move if any part of it is in a not passable area.
Is it possible?
I have tought of a Idea for doing this but still, i don't think its very efficient,
I would create a Mas module that would hold all the possible masks, like all the points that the mask has in a array (for ex), and to check the colision it would check all the points and see if the position is passable in all of them.
As you see it is not that efficient because it would lagg alot!
Do anyone has ideas for that?