M
Marmil321
Guest
Hey,
I'm new to coding.
i watched a youtube video about making a 2d game.
but the collisions is not how i want them.
this is my code
as you can see in the video the character stops when he's head hits the black bars.
I want it to stop at his feet.
like this.
(this is photoshoped, if you are wondering)
Please help me with the code.
Thanks
I'm new to coding.
i watched a youtube video about making a 2d game.
but the collisions is not how i want them.
this is my code
as you can see in the video the character stops when he's head hits the black bars.
I want it to stop at his feet.
like this.
(this is photoshoped, if you are wondering)
Please help me with the code.
Thanks