Discuss Scratch

snugglemonkey
Scratcher
1 post

moving

why is this not working? I need a way to move a character so you can move all directions. Also, I need to be able to move it without holding a button down for the whole time.
DotDash
Scratcher
1000+ posts

moving

Can you show me the project?

My browser / operating system: MacOS Macintosh X 10.8.5, Chrome 29.0.1547.76, Flash 11.8 (release 800)
drmcw
Scratcher
1000+ posts

moving

How about;

forever
if key up pressed then
point in direction up
if key down pressed then
point in direction down
if key left pressed then
point in direction left
if key right pressed then
point in direction right
move 5

The move should just be inside the forever block then the sprite will keep moving in whatever direction it is facing without a key being pressed.

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?

Powered by DjangoBB