SOLVED Player collision script doesn't work

Reddoka

Member
I coded it like the tutorial, but maybe of the different version, it's not working. It said that there is an unnecessary expression (-1) used as a statement, but if I remove the (-1) the tiles don't work propably (the _collision doesn't seem to work too).
Thanks for helping, I really appreciate that :D

1620732069927.png
 
Top