Thanks, I don't know if this is the problem with the movement, but in this game I didn't create a coyote time for the jump so there may be times when you're on the edge of a platform and the jump doesn't work.
Is it okay if I share a resource with you?
Yep
Even if you dont use unity the concepts mentioned in this video will help a lot in making platformers, I learnt a lot from this.
thanks :D