two button and two actor ( switch between two actor by two button )

Yob Games

  • Posts: 20
two actor in two different colors  ( first colid with specific actor and the second colid with other specific actor )
how can i do this :  (i have two button and two different actor)
when i clic in button 1 change actor 1  to actor 2
when i clic in button 2 change actor 2 to actor 1

and for exemple if actor 1 is on and i clic on button 2 keep it in actor 1 
and don't forget this :  first colid with specific actor and the second colid with other specific actor
pleaaaazeee help mee

gurigraphics

  • Posts: 688
if click button1
   if (button = 0){
set button to 1
set actor1 to actor2
}

if click button2
   if (button = 1){
set button to 0
set actor2 to actor1
}
if actor 1 is on
etc..

Yob Games

  • Posts: 20
i don't really understandd whaat do you meeann !!!

Donni11

  • *
  • Posts: 2182
@ Yob Games : Like this ? :

<a href="https://www.dropbox.com/s/u7tho8p2rub0x4v/example%20game.swf?raw=1" target="_blank" class="new_win">https://www.dropbox.com/s/u7tho8p2rub0x4v/example%20game.swf?raw=1</a>
Peace

Yob Games

  • Posts: 20
yessss likkkee thissss  howw i cann doo itt ? 

Donni11

  • *
  • Posts: 2182
There are a lot of steps. I attached the Stencyl game file to this post. Import it, and explore the code. I hope this help :) !
Peace