I need to create temporary collision layer (wall) which is showed randomly based on some boolean variable.
var showWall = true; //etc
How can I easily access and disable collision map?
It need to interfere just with player sprite and nothing else, currently I’m doing this…
I just need to do something like: