More Related Content
More from Andrew Willetts
More from Andrew Willetts (20)
Part 5 – animating your character
- 5. Step 4 – Click edit on the new costume
- 14. Step 12 – Drag “When [] Pressed” into the script box 4 times
- 15. Step 13 – Set each of these to a button (Up, Down, Left, Right)
- 17. Step 15 – Change the time value to 0.0001
- 19. Step 17 – Add “Switch to costume” to all scripts
- 20. Step 18 – Set “up”, “down” and “right” to costume 1
- 23. Step 21 – Add “Forever If” to all 4 scripts
- 25. Step 23 – Add “key [] pressed” to all your forever if blocks
- 26. Step 24 – Set the keys to match the right arrow
- 28. Step 26 – put 2 wait block in each forever loop
- 31. Step 29 – Add “Switch to costume” to your blocks afer each wait [0.5]
- 32. Step 30 – Set “up”, “down” and right to costume 2 then costume 1
- 33. Step 31 – Set “left” to costume 4 then costume 3