So usually, the move script I use is like <forever<if right key pressed><change x by 10> or whatever. I'm wondering, how would you make a script so that when you move, you slide a little depending on how fast your going. Like if you go back, and go really fast, your gonna get extra momentum. So can anyone please tell me how to make a script like that?
Offline
Well depends what you mean by 'fast'. If you mean how hard you are pressing the button; unfortunately Scratch does not supply this type of sensing. If you mean the longer you hold it down, the more momentum you build; then yes it is possible using variables. Hang on, I have an old project I'll find..... Here! http://scratch.mit.edu/projects/MrCookie/2148683 . (Use the arrow keys) If this is what you mean, then please download and take a look at the scripts
Offline