Hi,
I am working on a program that will have one sprite on a back ground and then switching to another background with a different sprite. I have had no luck in trying to execute these commands. Any advice would be greatly appreciated.
Thanks,
Dan M
Offline
Use broadcasts. Have Sprite1 broadcast "background1", and have the background say "when I receive background1". Then, just use a "switch to background" block to change the background in the when I receive block. Repeat this process for all of the backgrounds and sprites.
Offline
bobbybee wrote:
Use broadcasts. Have Sprite1 broadcast "background1", and have the background say "when I receive background1". Then, just use a "switch to background" block to change the background in the when I receive block. Repeat this process for all of the backgrounds and sprites.
Yeah, you can use the broadcast blocks to communicate between sprites.
EDIT: Or variables, but that´s more complicated.
Last edited by Purika (2012-01-21 16:51:49)
Offline