This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-02-07 19:04:19

uzumaki211
New Scratcher
Registered: 2013-02-07
Posts: 2

Street Fighter

I'm new to this so i'm trying to animate a character, i already made it walk forward and backward, jumping and basic attack. i wanna know how to i jump and attack at the same time please life press up arrown and A in the middle of the jump so no simultaneos, like and action between another action.

Offline

 

#2 2013-02-07 19:26:30

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Street Fighter

You could use these scripts.

when gf clicked
forever
 if <key [space v] pressed>
  broadcast [jump v]
 end
end

when gf clicked
forever
 if <key [a v] pressed>
  broadcast [attack v]
 end
end

when I receive [attack v]
change [variable for enemy's health v] by (-1)

when I receive [jump v]
//Add a jumping script here.
I hope that helps. You can find some jumping scripts here.

Last edited by jji7skyline (2013-02-07 19:27:13)


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#3 2013-02-07 20:02:18

uzumaki211
New Scratcher
Registered: 2013-02-07
Posts: 2

Re: Street Fighter

Awsome but the animation doesnt et very fluid xD

Offline

 

Board footer