im working on my first scratch project, a two player game.
i have both sprites working fine now, able to lower each other's counters and such...
but i need a script that will broadcast the winner, and a script to change the coustume of the loser to his dead costume, when his hp hits zero.
any suggestions?
please keep in mind that im new, so keep it simple, thanks.
Offline
How about you have two variables for their health points, and <if><( Player1health <=> 0)><broadcast[ Player2Won
And vice versa. Then: <when I receive[ Player2Won<switch to costume[ dead
Offline