Discuss Scratch

XYZBox
Scratcher
7 posts

Dragon Ball z game

hello I am making a dragon ball z game. I am half way done with it. I just need someone to help me with art and editing the scripts. Just post here if you want to help out with the game.
max0410
Scratcher
23 posts

Dragon Ball z game

I can help out with scripts.
Ahaahaa
New Scratcher
21 posts

Dragon Ball z game

Code for player:
when green flag clicked
show

when [a v] key pressed
Do attack (5)

define Do attack (times)
repeat (times)
switch costume to (attack v)
end

when I receive [attack player v]
broadcast (kill enemy v)
Code for red guy:
when green flag clicked
forever
broadcast [attack player v]
wait (3) secs
end

when I receive [kill enemy v]
broadcast (win v)

Code for winner screen:

when green flag clicked
hide

when I receive [win v]
show

And also. The “Lags killer machine sprite” only has no code.

Last edited by Ahaahaa (Nov. 4, 2023 18:26:21)

Powered by DjangoBB