use this background if

readerboy7

  • Posts: 59
i want to make a behavior where a certain backround is used if a button is pressed.
i have this so far:
behavior one: if mouse was pressed on self send 1 to behavior background
behavior two: if mouse was pressed on self send 2 to behavior background
background: if this hears 1
                   if this hears 2

Alexin

  • *
  • Posts: 3127
AFAIK, you can't add/remove Backgrounds at runtime.
"Find the fun"
alexin@stencyl.com

Legendary Hoamaru

  • *
  • Posts: 1088
It's possible, just have to use code.  Forget the exact way atm.

readerboy7

  • Posts: 59
i guess i could just make one scene for each actor.
one more question: set direction of background to direction of self plus or minus 180,
                             set speed of background to speed of self.
how is that done?