Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: SSH on Thu 22/01/2004 13:17:47

Title: Bug: Debug console documentation
Post by: SSH on Thu 22/01/2004 13:17:47
Just been re-reading some bits of the manual and found the debug mode script single-stepping with Scroll Lock and Right Shift. Cool: helped me get a stairs animation right.

However, it took me some effort to get the debug console up. Eventually, I pressed ` instead of ~ and it came up. The "to the left of 1" description was right but the key symbol not! Has anyone else had this problem? Maybe my keyboard is an odd one (HP external keyboard used on Toshiba laptop)  but if others have had this problem, it might be worth updating the help file...

Do many people use these, as I had forgotten about them!
Title: Re:Debug console documentation
Post by: Scorpiorus on Thu 22/01/2004 14:03:05
Hmm, for me the Tilde key (that just under Esc) is both ~ and `, i.e. pressing tilde -> '`' and shift + tilde -> '~' :P

The thing is the console pops up on pressing `, it doesn't react to shift+tilde (ie ~), though. So, if you have them as different keys...
Title: Re:Debug console documentation
Post by: SSH on Thu 22/01/2004 14:17:42
Maybe it should be user-configurable, like the CTRL-X etc debug functions are?

Debug(5, 0) for console and Debug(6, 0) for script line?

my ~ key is next to Return, sharing the "#" key
my ` key is next to 1, sharing with ¬ and ¦

so CJ: fix that documentation!
Title: Re:Bug: Debug console documentation
Post by: dasjoe on Thu 22/01/2004 16:15:13
i would not call it a bug, it's the layout of your keyboard that matters.

on german keyboards (like mine ;D) the key next to 1 is ^ and shares with °.
so, it differs from country to country..
Title: Re:Bug: Debug console documentation
Post by: SSH on Thu 22/01/2004 16:20:15
Yes, but it it ~ or ` that starts up the debug console for you?
Title: Re:Bug: Debug console documentation
Post by: Proskrito on Thu 22/01/2004 19:33:10
its the key under the esc besides the one, no matter what is it labeled with.
Title: Re:Bug: Debug console documentation
Post by: Ishmael on Thu 22/01/2004 20:21:48
My key next to 1 has § on it, and with shift I get a ½... Finnish keyboard... the character the key is bound to doesn't matter. The position of it. There are some kind of key location codes also... The same key opens the console in many many games and other.

That's why the "(the key next to 1)" is there, me thinks.
Title: Re:Bug: Debug console documentation
Post by: SSH on Fri 23/01/2004 13:17:18
Well, then the manual should say "The key next to 1" (~ on some keybaords) instead of the other way around...
Title: Re:Bug: Debug console documentation
Post by: Ishmael on Fri 23/01/2004 19:03:05
I think this has something to do with AGS being english... ¬_¬
Title: Re:Bug: Debug console documentation
Post by: Pumaman on Sat 24/01/2004 20:10:50
Well spotted, I can see how this can be confusing.

The actual keycode that AGS reacts to is  `  which is normally to the left of the 1 key.

On UK keyboards, this key is also the | key, on US keyboards it is the ~ key. The AGS documentation was assuming people were using a standard US-International keyboard when of course this varies, sorry I forgot about that.

So it is actually the  `  key that is important, wherever it may be located. Luckily most keyboards do all have that on the key next to 1, it's just the shifted version that differs.

I will update the documentation to reflect this.