I'm making a top-down project where you can move your character to different rooms and areas. I'm trying to make a walking animation but it seems to be stuck on the costume 'walk-up' and won't change to the other costumes. If someone could download the project and tell me what I'm doing wrong I would be really grateful!
http://scratch.mit.edu/projects/Normo/3020393
Offline
The problem is, in the first script with the forever if w key pressed, it constantly broadcasts the "costume-walkup" script while the w key is pressed, so the costume walkup script keeps restarting over and over again, and it can't get to the point where it changes the costume to the next one. Change
broadcast [costume-walkup]to
broadcast [costume-walkup] and wait
Offline
CrystalStar- wrote:
The problem is, in the first script with the forever if w key pressed, it constantly broadcasts the "costume-walkup" script while the w key is pressed, so the costume walkup script keeps restarting over and over again, and it can't get to the point where it changes the costume to the next one. Change
broadcast [costume-walkup]tobroadcast [costume-walkup] and wait
Yay! Thank you. It works fine, now!
Offline