i'm making a platformer, but for jumping i have a problem. here's the script.<when[up arrow ]key pressed> <repeat( 10<change y by( 10<repeat until> <touching color[ << < <or> >><touching color[ <change y by( -10 the problem is,when the caracter goes off the platform, instead of falling,he keeps going. what do i do?
Offline
andy321 wrote:
i'm making a platformer, but for jumping i have a problem. here's the script.<when[up arrow ]key pressed> <repeat( 10<change y by( 10<repeat until> <touching color[ << < <or> >><touching color[ <change y by( -10 the problem is,when the caracter goes off the platform, instead of falling,he keeps going. what do i do?
OK, now this would be an All About Scratch problem. But try looking here for a gravity script (more realistic jumping)
Offline