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

#1 2012-11-02 16:58:35

Link904
New Scratcher
Registered: 2012-11-02
Posts: 16

How to make a fighting game?

Please could someone help me out

Offline

 

#2 2013-04-03 23:36:31

mlcg123456789
Scratcher
Registered: 2013-02-10
Posts: 6

Re: How to make a fighting game?

Not enough detail in what you need help with... you would need sprites to fight... What kind of fighting game?!?

Offline

 

#3 2013-04-04 01:41:35

Flait7
Scratcher
Registered: 2008-04-14
Posts: 100+

Re: How to make a fighting game?

An entire game, whether the genre, can be pretty complicated. Especially to explain in a single comment.

It would be best to ask about it part-by-part.

I think one major part of a fight game in scratch would be sprite costumes. If you're gonna make a sprite fight, it's gotta look like it's fighting; and scratch does its looks with costumes.

Sprite sheets like this one here provide a pretty good example of what I mean. If I were to make one, I'd make the sprite change its costumes to make it look like it's moving when doing something like a punch or a kick.


http://scratch.mit.edu/static/projects/Flait7/2248016_sm.pnghttp://scratch.mit.edu/static/projects/Flait7/1827934_sm.png

Offline

 

#4 2013-04-04 08:59:29

liam48D
Scratcher
Registered: 2013-02-18
Posts: 33

Re: How to make a fighting game?

when gf clicked
go to x: (-50) y: (-50)
stop script

when [space v] key pressed
repeat (50)
  change x by (1)
  change y by (1)
end
switch to costume [costume2 v]
wait (0.1) secs
switch to costume [costume3 v]
wait (0.1) secs
switch to costume [costume4 v]
wait 0.1) secs
switch to costume [costume3 v]
wait (0.1) secs
switch to costume [costume2 v]
repeat (50)
  change x by (-1)
  change y by (-1)
end
This will make an animation for your sprite when space key pressed.

Offline

 

#5 2013-04-04 09:01:38

liam48D
Scratcher
Registered: 2013-02-18
Posts: 33

Re: How to make a fighting game?

Maybe make these variables:

<(HP)>
<(def)>
<(atk)>

Offline

 

Board footer