Help on creating a rule. stuck.
VolontaArts
Member Posts: 510
So i followed this great tutorial on making a slide in menu. But i used it for my character select screen. so not when i tap to select another character the previous character that slid in doesnt back out.
im trying to thing of a way to make it back out but im new to rules.
More detailed explanation.
so i have 5 buttons for characters on the right. i want them to slide in from off the screen, into the screen on the left. with the tutorial i achieved this. but they are not backing out when another character is selected lol. So if anyone can help with a rule it would be greatly appreciated.
im trying to thing of a way to make it back out but im new to rules.
More detailed explanation.
so i have 5 buttons for characters on the right. i want them to slide in from off the screen, into the screen on the left. with the tutorial i achieved this. but they are not backing out when another character is selected lol. So if anyone can help with a rule it would be greatly appreciated.
Comments
Then each time a slide triggers use this: change attri characterID to (characterID+1)%X with X being the number you wish to be the max number of characters in rotation.
Now put logic in each character to slide away when it's ID is not there own. And to slide in when it is. For the slide i'd suggest interpolate.
i have on the button to select which character you want a attribute with (slidecharacter+1)%2 so ill change the 2. then the characters have when attribute =1 interpolate... so how can i write them to slide away when the id is not theirs.
Follow us: Twitter - Website
ok so this is what i want to slide over which is what it is doing.
an this is what triggers it. now i want to be able to make 4 of these. and 4 different slides. now if i touch a different slide, how do i make the others slide back in.
basically tap one, actor slides out. now if i tap another, the other actor slide out on top of the other one. i want the previous actor to slid back in.