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

#1 2011-02-08 17:41:41

artilar
Scratcher
Registered: 2009-01-25
Posts: 3

Combat Help

i need some help making a combat scene its just watching 2 characters attack each other and i need help making turns for the characters i can do the combat (i think). i have decided on using hitmarkers like off runescape to show how much life the characters but how would i get the amount of health lost onto the hitmarker.Please explain to me how i could do it.

Offline

 

#2 2011-02-12 22:36:33

wrongtriangle180
New Scratcher
Registered: 2010-10-21
Posts: 11

Re: Combat Help

1. Just use broadcasting blocks. Every time the sprites receive the messages, they will take their turn.
2. I'm not sure how you would do a meter, but here is what you could do instead:
Make two variables for health- one on each of the top corners. The left one is the first guy's health, and the right one is the other guy's. Once you have those variables in the corners, right click on them on the stage and click, "large readout." Then add the triggers to change those variables whenever the player is hit. Glad to be of assistance!  wink

Offline

 

Board footer