Please help a newbie?
Hi guys, I am new to GameSalad and I was hoping someone could help me with an issue I've been having:
For some reason I cannot seem to get my tables to recognize my image files and it displays the names as text only.
So, for example the image and the actor are both named phone1.
The phone1 actor has a constrain attribute behavior:
constrain(self.image) to tablecellvalue(game.inventory),1,1)
The table code has a display text rule with the following code:
On press display:
=tablecellvalue(game.inventory),1,1)
The table itself only has one row and one column, and the text inside it is phone1.
Yet during testing, all I see is a text box with the word 'phone1', not the image itself.
I feel like such a dummy but I'm probably missing a step. Any help would be appreciated
Cheers,
Natasha
Comments
What happens if you do Change Attribute self.Image to phone1?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@Natasha_Smith The way you have it set up may be telling the system to display only whatever text you have in that table, and not an image named "phone1". You can check this by changing the text in the table to something else.
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)