Technical help needed using tables 3 star system

ok so in each of my levels when level is complete it counts the amount of stars collected, there are 3 stars placed on each level in total. here is an image of what i need...

photo levels-menu_zps9e4a40cd.jpg

What attributes do i need to make and where do they have to be placed? what is the best video tutorial for this using tables for this exact menu type thanks!

Comments

  • FajlajpFajlajp Member Posts: 666
    @Adamgopro
    There is not an exact video tutorial of this kind star system(the closest tutorial I know is the one Dues posted) But I know how to do:) Just PM me and I will help you:)
  • AdamgoproAdamgopro Member Posts: 310
    @fajlajp thanks buddy i watched the video atleast 4 times and the way my game is set up i just cant work around the video dues posted but thanks anyway dues.

    in the end i just had to make a Save and load attribute on the home menu but theres 36 of them and it gets tricky no lag surprisingly but i would still like a table system, its just going to take me sometime to figure it all out but practice makes perfect ey :P
  • FajlajpFajlajp Member Posts: 666
    Yes, but if you need help with this. PM me and i will make you a demo:)
  • Ali_WoodAli_Wood Member Posts: 52
    It maybe a little late posting this but this is how i did it....

    Create a table called Levelstars with as many rows as you have levels

    Open the level tile and add an integer attribute.. for example "stars"

    Then inside the tile have:

    Change Attribute "Stars" to TableCellValue(game.Levelstars,*,1) *=the level number

    At the end of each of your levels just have it change the table to update the row with the stars. Then save the table

    Finally have you Level tile change depending on the Star Attribute..

    If Star = 1 Change Image to (Tile with 1 star)
    If Star = 2 Change Image to (Tile with 2 stars)

    hope this helps
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408

    Finally have you Level tile change depending on the Star Attribute..

    If Star = 1 Change Image to (Tile with 1 star)
    If Star = 2 Change Image to (Tile with 2 stars)

    hope this helps
    you can even trim it down further with a single rule

    change image to (TableCellValue(X,X,X).."star")

    and then name your images like 1star, 2star, 3star. that rule will take the numeric value from the table and then append star and display the matching image.
Sign In or Register to comment.