Help with display text fields
Adrenaline
Member Posts: 523
Hi all,
I am putting together a Statistics scene in my game. My problem is that it takes roughly 10 seconds for this scene to load when the user clicks to go there!
In the Statistics scene, I'm displaying approx. 50 different stats, each in its own actor that has a behavior telling it to display a certain table cell.
This scene is 3x the iPhone width, with buttons to scroll through.
Is it taking so long to load because of my 50 actors displaying text, or because the scene is so wide? (Though I don't think 3x is all that wide...)
This leaves me suspecting it's because of the 50 actors...is there a better way to display all of these table cells?
Any help is GREATLY appreciated!
I am putting together a Statistics scene in my game. My problem is that it takes roughly 10 seconds for this scene to load when the user clicks to go there!
In the Statistics scene, I'm displaying approx. 50 different stats, each in its own actor that has a behavior telling it to display a certain table cell.
This scene is 3x the iPhone width, with buttons to scroll through.
Is it taking so long to load because of my 50 actors displaying text, or because the scene is so wide? (Though I don't think 3x is all that wide...)
This leaves me suspecting it's because of the 50 actors...is there a better way to display all of these table cells?
Any help is GREATLY appreciated!
Comments
DisplayText [tableCellValue(tableName,1,1).."\n"..tableCellValue(tableName,1,2)] etc.
The \n symbol is a newline (return).
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User