FINAL PROBLEM WITH MY GAME... i think lol

digitalzerodigitalzero Member, BASIC Posts: 639
edited May 2012 in Working with GS (Mac)
okay so people should know me by now in the forums because I'm notorious for asking questions lol but here is my problem... i have finally figured out how to save the fact of my coins being able to unlock my the hidden characters NOOOWWWW I'm having a problem with saving the fact that they are unlocked and they are pickable lol so let me tell you a little bit of what i have

i have an actor that looks like a lock onto the characters that are unlock the hidden characters (picture example provided)

Image and video hosting by TinyPic

these are the rules that i have set onto that lock looking actor

when all conditions are valid when touch is pressed and attribute game.catcoins is equal or greater than 30 (or whichever number it is)

change attribute game.catcoins to game.catcoins-30
spawn actor "ty" (which i will show the behaviors for that in a minute
and destroy this actor

...


NOW, here are the rules regarding that "ty" actor

when all conditions are valid... when touch is pressed change attribute game.character select to ty
change scene to level select!

so with the picture provided i hope that someone can help me out with this... unless there is a video somewhere on youtube that shows you how to do this that I'm not seeing i really need help with this

Answers

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    You forgot to tell us what's not working. The only thing I would change is to put the change attribute behavior after the spawn actor behavior in your first set of rules, but you'll have to say what the problem is otherwise.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • digitalzerodigitalzero Member, BASIC Posts: 639
    Oh hahahaha well the problem is that I have two character select screens one with the original characters and one with the special characters (which is the one that you are seeing right here in the picture) let's say I unlock the Ty character if I toggle to any other screen he becomes locked again... I'm thinking because the "lock" actor is just sim
  • digitalzerodigitalzero Member, BASIC Posts: 639
    Ply an actor or maybe I need to have more attributes or something... Basically I need to know how and where I should put a load and save attribute for the locked characters lol in gist I guess that's what I mean lol...
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    So you need to have a game-level attribute for each unlocked character, not just a separate actor. The attributes (presumably booleans) can then be loaded/saved when you need them.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • digitalzerodigitalzero Member, BASIC Posts: 639
    gosh this is becoming so confusing... the only thin thing that i wanna do is unlock damn characters lol hahahaha! man!
Sign In or Register to comment.