deepnight/gameBase

Console shortcut

Closed this issue · 4 comments

Hey deepnight,

First of all, thank you for this template. My issue is more like a question, hopefully this is an appropriate channel ? Or maybe there is another, discord or something similar ?
Anyway, I'm trying to understand how the console works. In the comment in App.hxml it states that the console should open by pressing '²' but I don't have this key on my keyboard, so I wanted to change the binding, but I can't find it. The closest thing I could find is ctrl+shift+F which seems to open the debug flags window, is is the same thing ? From reading the code it seems the console should do more than juste offering those flags.

Thanks !

It does indeed, thank you.
Although I'm still confused on the way it works: I see no explicit binding to '/' in the code. Is that a heaps.io builtin ?

It does open the console (somehow), because "/" is the first character for all console commands. It's implemented somewhere in the h2d.Console 🤷