Pages: 1
Topic closed
Try this
This is better than using broadcasts as you can then make something that sets the variable "Recording" to 0, meaning that the REC sprite stops doing whatever it's doing.whenrecord button ▼clickedfor the record buttonsetrecording ▼toyeswhenclicked
for the REC spritesetrecording ▼to0foreverifrecording=yesdo whatever
Offline
PhirripSyrrip wrote:
Try this
This is better than using broadcasts as you can then make something that sets the variable "Recording" to 0, meaning that the REC sprite stops doing whatever it's doing.whenrecord button ▼clickedfor the record buttonsetrecording ▼toyeswhenclicked
for the REC spritesetrecording ▼to0foreverifrecording=yesdo whatever
You want to be careful of having too many forever loops though, because that can really bog down your project. Which one should be used differs from case-to-case, of course.
Offline
ManaUser wrote:
Both techniques have there place, but in general I would recommend Broadcast + When I Receive instead. (These blocks are both in the Control section.)
Here's how:
Then in the REC picture sprite:Whenrecord button ▼clickedBroadcastrecording ▼
When I receiverecording ▼Showyou have this because you want the REC to show upDo anything else if needed
Offline
Topic closed
Pages: 1