Discuss Scratch

DerAxeEffekt
Scratcher
100+ posts

Question

I'm having a problem with an RPG-ish game I am working on.
I'm trying to make a proper battle system, and I want to make it say how much damage is done.

(insert oversized quotation mark) If it is on the internet, it must be true. (insert another oversized quotation mark)
-Abraham Lincoln
magpie5212
Scratcher
100+ posts

Question

Seems like you need a variable to count damage.

Which project? None of your which I can see seem to be the one.

forever
Simplify
end
DerAxeEffekt
Scratcher
100+ posts

Question

magpie5212 wrote:

Seems like you need a variable to count damage.

Which project? None of your which I can see seem to be the one.
I haven't made it yet.

(insert oversized quotation mark) If it is on the internet, it must be true. (insert another oversized quotation mark)
-Abraham Lincoln
magpie5212
Scratcher
100+ posts

Question

If there is a single sprite being damaged then

when green flag clicked
set [Damage v] to [0]
repeat until <(Damage) > [too much damage]>

if <touching [Bullet v]?> then

change [Damage v] by (1)
react to damage
end
end
game over

forever
Simplify
end
DerAxeEffekt
Scratcher
100+ posts

Question

magpie5212 wrote:

If there is a single sprite being damaged then

when green flag clicked
set [Damage v] to [0]
repeat until <(Damage) > [too much damage]>

if <touching [Bullet v]?> then

change [Damage v] by (1)
react to damage
end
end
game over
Thanks!


(insert oversized quotation mark) If it is on the internet, it must be true. (insert another oversized quotation mark)
-Abraham Lincoln

Powered by DjangoBB

Standard | Mobile