emphasis keys in help
This commit is contained in:
parent
748a724b15
commit
07b26c8e57
2 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
.gstar{float:left;width:100%}
|
||||
.gstar em{font-weight:bold}
|
||||
.gstar #blackboard{width:320px;height:180px;background:#333;float:left}
|
||||
.gstar #blackboard .starcell{width:20px;height:20px;display:block;float:left;text-align:center}
|
||||
.gstar #blackboard .wall{color:#000}
|
||||
|
|
10
js/star.js
10
js/star.js
|
@ -137,11 +137,11 @@ function format_infos( state ) {
|
|||
return infos;
|
||||
}
|
||||
function format_help( ) {
|
||||
var help = "←↑→↓ to move around<br />";
|
||||
help += "Space to switch actor<br />";
|
||||
help += "'r' to reload<br />";
|
||||
help += "'n' to pass to the next level<br />";
|
||||
help += "'p' to go back to the previous level<br />";
|
||||
var help = "<em>←↑→↓</em> to move around<br />";
|
||||
help += "<em>Space</em> to switch actor<br />";
|
||||
help += "<em>r</em> to reload<br />";
|
||||
help += "<em>n</em> to pass to the next level<br />";
|
||||
help += "<em>p</em> to go back to the previous level<br />";
|
||||
return help;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue