Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you make a boxing game?
- mariofanstudios
-
Scratcher
7 posts
How do you make a boxing game?
I was going to make a boxing game with my dad but I didn't know how. How do you make a boxing game?
- orangetheory
-
Scratcher
500+ posts
How do you make a boxing game?
what scripts do you exactly need help with? It would be better if you could explain.
- mariofanstudios
-
Scratcher
7 posts
How do you make a boxing game?
like how do you make the opponeents moves work
- orangetheory
-
Scratcher
500+ posts
How do you make a boxing game?
like how do you make the opponeents moves workDo you want multiple opponents, or just one opponent? I'm sorry, but you have to explain in detail! What would the opponents do, chase you around?
- mariofanstudios
-
Scratcher
7 posts
How do you make a boxing game?
i just need how do you make the opponents patterns
- orangetheory
-
Scratcher
500+ posts
How do you make a boxing game?
i just need how do you make the opponents patternsYou can just clone the enemies.
In opponents sprite
...::hat
hide
repeat (people per level::grey)
create clone of [myself v]
end
when I start as a clone
forever
point towards [player v]
move (speed::grey) steps
if <touching [player v]> then
broadcast [change health v]
wait until <not <touching [player v]>>
end
end
In player sprite:
when I receive [change health v]
change [health v] by [-1] // this should be a variable. At the beginning of the game set it to the hp you want, and then put an if statment if the hp is 0
- Discussion Forums
- » Help with Scripts
-
» How do you make a boxing game?

