mirror of https://github.com/axmolengine/axmol.git
Improve js template documentation
This commit is contained in:
parent
378cfa35b6
commit
a6fdd9aa09
|
@ -23,8 +23,9 @@
|
|||
// "frameRate" set the wanted frame rate for your game, but the real fps depends on your game implementation and the running environment.
|
||||
|
||||
"noCache" : false,
|
||||
// Set "noCache" to true can make the loader ignoring the html page cache while loading your resources,
|
||||
// especially useful in Android web browsers.
|
||||
// "noCache" set whether your resources will be loaded with a timestamp suffix in the url.
|
||||
// In this way, your resources will be force updated even if the browser holds a cache of it.
|
||||
// It's very useful for mobile browser debuging.
|
||||
|
||||
"id" : "gameCanvas",
|
||||
// "gameCanvas" sets the id of your canvas element on the web page, it's useful only on web.
|
||||
|
|
|
@ -23,8 +23,9 @@
|
|||
// "frameRate" set the wanted frame rate for your game, but the real fps depends on your game implementation and the running environment.
|
||||
|
||||
"noCache" : false,
|
||||
// Set "noCache" to true can make the loader ignoring the html page cache while loading your resources,
|
||||
// especially useful in Android web browsers.
|
||||
// "noCache" set whether your resources will be loaded with a timestamp suffix in the url.
|
||||
// In this way, your resources will be force updated even if the browser holds a cache of it.
|
||||
// It's very useful for mobile browser debuging.
|
||||
|
||||
"id" : "gameCanvas",
|
||||
// "gameCanvas" sets the id of your canvas element on the web page, it's useful only on web.
|
||||
|
|
|
@ -46,6 +46,11 @@
|
|||
"frameRate" : 60,
|
||||
// "frameRate" set the wanted frame rate for your game, but the real fps depends on your game implementation and the running environment.
|
||||
|
||||
"noCache" : false,
|
||||
// "noCache" set whether your resources will be loaded with a timestamp suffix in the url.
|
||||
// In this way, your resources will be force updated even if the browser holds a cache of it.
|
||||
// It's very useful for mobile browser debuging.
|
||||
|
||||
"id" : "gameCanvas",
|
||||
// "gameCanvas" sets the id of your canvas element on the web page, it's useful only on web.
|
||||
|
||||
|
|
Loading…
Reference in New Issue