Hey, how can I do a collision system in which the player has to remain on this collision polygon I created ? I thought about using it from get_parent() in the player class but it doesn't seem to work
I also believe the "in" operand is for arrays but it's something like that I am trying to do : we check if the new position can be accessed by the player and they go there if they can or doesn't if they can't.
I also tried to store the current collision map that I'd update on each room change but still, I have the "in" problem, can anyone help on this one ?