IMMM BACCCCCKKKK!!!
digitalzero
Member, BASIC Posts: 639
soooo i know most of you more than likely forgot who lil 'ol me is but im back with a lot of questions. OKAY lets start off by saying this... my damn computers hard drive crashed and i lost all of my data and the game i was working on (my biggest one yet) has also been lost and since i havent been on here in A LONG TIME i have no idea what some of these attributes are... maybe someone can appoint me to a place where the explanations of these are and how to use them but as of now i am lost and confused!!!
here are the attributes:
in app purchase item
in app purchase restore
log debugging statement
platform - login
platform - post score
platform - reset achievements
platform - show achievements
platform - show leaderboards
platform - update achievements
NOW IM HOPING THERES THIS MIRACULOUS TUTORIAL SHOWING ME HOW TO USE ALL OF THESE BEHAVIORS CAUSE GOODNESS I HATE READING LOL!!!
thanks GS community!
here are the attributes:
in app purchase item
in app purchase restore
log debugging statement
platform - login
platform - post score
platform - reset achievements
platform - show achievements
platform - show leaderboards
platform - update achievements
NOW IM HOPING THERES THIS MIRACULOUS TUTORIAL SHOWING ME HOW TO USE ALL OF THESE BEHAVIORS CAUSE GOODNESS I HATE READING LOL!!!
thanks GS community!
Comments
I remember you -- welcome back!
Here's a demo project for you to answer your question above.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Change attribute self.clickcount to (self.clickcount+1)%6
What that does is when the count would change to 6 it resets to 0
Welcome back by the way
Cheers
I like to use this for several purposes:
1. Simple chronological check for rule triggering. I'll put "1" in a Log Debugging Statement and then a little further down "2" and then a bit further into my rules "3" etc. and watch to see which rules are firing and in what order. If I see 1 then 3 then 2 in the rules and I wasn't expecting that order, I know something's amiss. If I expect to see 1, then 2, then 3, then 4, then 5 and I instead see 1... 2... 3... 5, then I have to fix the condition for the rule with "4" in it.
2. Watching attribute values. DisplayText is great but if an actor is moving or spinning or very small it can be tricky to use it. Add an every 1 second timer with a Log Debugging statement containing an attribute value or several separated by ".." and watch as the values change (or don't change).
3. Time stamps. Add a Log Debugger Statement with floor(game.time) in the expression editor and you'll know exactly when a certain rule triggered. Or put it at the top of an actor's rules to see when that actor spawned.
4. Displaying Table data. It's a pain to construct an actor that will display quite a few rows/columns of a table and also have room for that on a scene while debugging the app, but it's a little easier (and easier to copy and paste to another document if needed) to use a loop to display the contents of table(s) at any given time during run-time.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User