I'm tring to write a game with platforms, and I have "functioning" platforms but they're really glitchy. Basically instead of being able to walk ontop of them and land on them when jumping you land and walk within them.
These are the scripts I used
when green flag clicked(forever(if<key space pressed?>(if<touching color[ black]>(repeat[10](change y by[10]) ) ) ) )
when green flag clicked(forever(repeat until<touching color[black]>(change y by -4) ) )
Is there anything I can change with these scripts to make it work or should I completely change the scripts?
Offline
Offline