HighScore with TABLE

feromanferoman Member, PRO Posts: 130
How to use attributes "highscore" with "table" system?
How it works, because I never use the "table" function GS.
I know how to make "highscore" with a single attribute, but my game has 60 levels, then imagine 60 attribute "highscore", that's a lot.

Thank you for helping me.

Comments

  • TheGabfatherTheGabfather Member Posts: 633
    edited April 2013
    Create your high score table using 60 rows OR 60 columns (I'm not sure if either one is faster for crawling). For each level, update the score of the table cell that corresponds to the level currently being played, using the Change Table Value behavior (quite similar to how you would update an Attribute, only this time you have to specify the row/column to indicate the proper cell).

    Consult this page of the Cookbook: http://cookbook.gamesalad.com/tutorials/2/parts/36

    Also don't forget to save the Table afterwards :)

    Good luck!
  • feromanferoman Member, PRO Posts: 130
    I do not know how to use behavior "change table value"
    someone could provide me with a GS sample file using tables?
  • TheGabfatherTheGabfather Member Posts: 633
    You will once you actually start reading up on it here, and watching some YouTube videos like this one.
  • feromanferoman Member, PRO Posts: 130
    Thank you for your support,
    I managed to make my code "table" for 1 levels.
    And it works.
    If I meet the new problems, I'll post a message.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Check out this video I did on tables. It shows how to use all the behaviors related to tables.



Sign In or Register to comment.