Hi,
I am working on a game where I want to mix text adventure elements and game book elements (Parts are decisions through links, others with command input). This means that I need to hide the command bar and other interface elements, through scripts in the game and show them again later.
My problem is I have difficulties getting this to work in practice.
I have tried setting the following game attributes
game.showpanes = false
game.showcommandbar = false
but it did not work for me.
I also attempted to set the stylesheet of the html elements through java script by setting the style but I have to admit, I am not very good with js and couldn't get it to work.
getElementById("txtCommandDiv").style.display = "none";
If somebody could assist me with this issue I would be extremely grateful.