er, how do we use the debugger?

pjnolenpjnolen Member Posts: 152
edited November -1 in Working with GS (Mac)
:)

Comments

  • pjnolenpjnolen Member Posts: 152
    oh, now i see the E, nm lol
  • pjnolenpjnolen Member Posts: 152
    hmm, the scrolling should stay at the bottom. So that the updated log always stays on the screen me thinks.
  • giacomopoppigiacomopoppi Member, PRO Posts: 914
    Guys, I know this may sound stupid but I havnt yet understood how to use it! :/
  • AsymptoteellAsymptoteell Member Posts: 1,362
    Press View: Debugger.

    Asymptoteell
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    put 'debugger' behaviour into an actor (press the 'E' to the right of the debugger behaviour text box and choose the attribute you want it to show, it may have to be inside rules so it is triggered at varying times... I think... only used it once so far...
  • giacomopoppigiacomopoppi Member, PRO Posts: 914
    @stormy Thanks, I didn't realize there was a debugger behavior ;)

    Giacomo
  • cptongsgcptongsg Member Posts: 70
    To GS: This function is useless if there're no proper instruction video or article for us to reference. What is debugger use for,ect ???

    It doesn’t show anything even I drag the debugger into the actor & select the attribute. Sorry i’m just too stupid enough to understand..... :(
  • pjnolenpjnolen Member Posts: 152
    first you put the behavior into an actor. For example, i put my debugger behavior into my 'score display' actor. I then click the E next to the field with the words "Enter text to go to debugger."

    Go through your Attributes, let's say, you want to watch the health of the badguy while your goodguy shoots at him, scroll down to 'badguys hps' or whatever you called it and select it. If you go to view, and click on 'debugger', the window will appear. When you preview the scene, then look in the debugger window, you should see the name of your actor, and the numerical amount of hps your original attribute has.

    If you want to check it every 1 second to make sure it's updating properly when getting hit, or if it's healed, just add a timer, set it to every 1 second, and add the Log Debugging Statement behavior to it.

    Then while previewing the app, look in the debugging window, and you'll see every 1 second the hps is updated.

    Which to me isn't much use seeing as how most of my actors have 'display text' attributes on them to monitor location, hps, and other things, and seeing as how they're constrained, it displays everything in realtime.

    If the debugger had a time stamp it would be more useful, all i can see is it's a 'display text' attribute that remembers the previously requested value, but without a time stamp, you don't know when it happened anyway.

    soo....yea...

    to me it's just a really nice version of display text.
  • LumpAppsLumpApps Member Posts: 2,881
    LOL! I was trying out the debugger yesterday and was looking at a blank screen for a while. My mind went blank also.

    Thanks for the explanation pjnolen

    Cheers,
    Ludwig
  • POMPOM Member Posts: 2,599
    Don't get this the wrong way , but this debugger is no different than a simple display text ,
    Farther more , display text show you constant change in the attribute , with the debugger behavior we need to use a timer ... are you for real?! and it scrolls down so you dont see the new results coming, you need to scroll down all the time .
    i was hoping to see a debugger where i can choose which attribute to track in RUN TIME , and not use a behavior to activate it , i have 750 instances , im not gonna put a debugger behavior in every one of them.
    I NEVER complained about updates , but this update has crossed the line , a lazy debugger , keyboard input ?! , in the surveys there were far more urgent things! and memory leak again?!
    Does GS really have QA or is it an excuse to delay an update for another day or two?
    Very disappointed , i wish they just fix the 0.96 bugs and leave it as it was .

    Roy.
  • LumpAppsLumpApps Member Posts: 2,881
    My guess is there is more coming soon since it has been a while since this update to 0.97.
    Just some sweets for the kindergarden ;)

    Good to hear your thoughts Roy and I kinda agree. Hope you are not to upset about it, good things take time and I am betting the real meal (salad?) will come soon.
    I am happy about the roadmap but it makes my expectations about each update higher.
    But I'd rather have it like this then being in the blind all together.

    I think the keyboard input is kinda an outdated option (for me anyway) since we have Game Center. There is no need to type in a new to put next to your score is there? But I can think of good ways to use this when you make kiddy apps for example.

    Cheers,
    Ludwig
  • cptongsgcptongsg Member Posts: 70
    @pjnolen & Roy Thanks alot for the explanation I’m a bit clearer.

    @pinolen But where is the view you mention(is it the preview?) & debugger window?
    You quote "If you go to view, and click on 'debugger', the window will appear. When you preview the scene, then look in the debugger window,"

    sorry just hate myself to be the odd one that still can’t get it. :(
  • Rob2Rob2 Member Posts: 2,402
    menu bar.... (very top of your display!!)
  • cptongsgcptongsg Member Posts: 70
    Thks a lot Rob2!!:)
Sign In or Register to comment.