Thank you so much!
This is my first try to make a platform game and this problem
with player from sticking to edge were annoying to resolve!
And again, thank you so much for the words because theses words inspire me for make my better!
I'm excited to play your future games!
Remember that its perfectly ok to copy someone else's code as long as you figure out how it works.
Also to fix the tilemap having gaps in it, make sure you put your tilemap sprites into a sprite atlas.