Star System Without All The Attributes?
jblb2424
Member Posts: 65
Hey all
After a long journey, i almost have my star system working. All i need to do now is to make the star display function for each SPECIFIC level. Right now whenever i obtain a star in a level it affects all of my levels. However, using the tableCellValue like in Tshirtbooth's tutorial, i can make the amount of stars i obtain per level appear in the level select for each specific level, but shown in numbers. So my question is, how can I make a workable star system whereas each star you obtain will make a star appear above each level specifically for that level? Is there a way to do this without adding a level attribute to each level? Thanks!
After a long journey, i almost have my star system working. All i need to do now is to make the star display function for each SPECIFIC level. Right now whenever i obtain a star in a level it affects all of my levels. However, using the tableCellValue like in Tshirtbooth's tutorial, i can make the amount of stars i obtain per level appear in the level select for each specific level, but shown in numbers. So my question is, how can I make a workable star system whereas each star you obtain will make a star appear above each level specifically for that level? Is there a way to do this without adding a level attribute to each level? Thanks!
Comments
@jblb2424 Hi, from as much as I understand from your description, a workable solution would be to make sure your star attributes are self attributes, or global attributes, but not scene attributes...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
No, they are not scene attributes. My attribute that counts the stars in my levels is a global attribute, and so is my attribute to display the stars.
then repeat this 2 more times for 2 stars and 3 stars
Your suggestion does work, but it does not work for specific levels. I can make a display attribute for every level, but i have a ton of levels. Is there a way to get around making all those attributes?