change image with table and after load the choosen image
wollty
Member Posts: 102
I added a table with 3 rows and 1 column
with 3 images of T-shirts
I created a button to select your favorite t-shirt
after i chose the t-shirt i press the save button
L'actor "load" automatically loading the chosen t-shirt
the problem is that if I want choosing another t-shirt actor appears white
What can I do?
where am I wrong?
thanks for your attention
https://www.dropbox.com/s/ola8sgzxske830k/Script_TABLE02.gameproj.zip
Comments
I downloaded the project file but I don't understand what the problem is. Can you write out the steps you're trying, the intended result, and the actual result, like this:
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Your load tshirt actor has a rule that says When game.tshirt is true, Change Attribute self.Image but game.tshirt is not changing to true. I think the problem is that you have an Every 0.1 timer in your save tshirt actor and it should actually be an After 0.1 timer with run to completion checked.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User