the best place to put a save and load attribute

digitalzerodigitalzero Member, BASIC Posts: 639
okay so im making a game that has coins to unlock characters (index) and 14 characters that can be unlocked (boolean) i know the best place to put a load attribute is more than likely at the title of your screen right? but where is the best place to put a save attribute... by know i should know this quite well because i have 4 games (and 1 pending game) thats on the market right now but i always find myself guessing where the best place to put the save attribute and of course sometimes im wrong... what do you all suggest because now that i am having 14 additional characters that can be unlocked i would need the right place to put them all... someone please help :) thanks so much

-tigg!

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    When you change a Boolean to true(when you unlock a character) put a save attribute right after that change attribute. That is the best place to put it - to make sure it gets done!
  • TomCoffeeTomCoffee Member, PRO Posts: 175
    Sooo.. I can save values in a table instead of using a load/save attribute?

    When the game totally shuts off on the phone (hit the x on the icon) the table data will still be saved?

    Huh.. neat. I guess that makes sense... Sooo... do you use attributes for ANYTHING, or just use one general table for everything? Which has better performance?
Sign In or Register to comment.