mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 10:56:30 +00:00
Explain Features
This commit is contained in:
parent
37a05d108d
commit
95c9f300e9
1 changed files with 23 additions and 0 deletions
23
README.md
23
README.md
|
@ -108,3 +108,26 @@ To change the default color of the emulator interface, add the line below
|
|||
EJS_color = ''; //hex color id
|
||||
```
|
||||
You can set the color to a hex color code, for example `#FF0000` (red)
|
||||
|
||||
<br>
|
||||
|
||||
To start the emulator immediately, add this line to your code
|
||||
|
||||
```
|
||||
EJS_startOnLoaded = true;
|
||||
```
|
||||
This will start the emulator instantly
|
||||
Please note, the Audio cannot start until the user interacts with the page
|
||||
|
||||
<br>
|
||||
|
||||
To specify an exact path for a file, add this line to your code
|
||||
|
||||
```
|
||||
EJS_paths = {
|
||||
"fileName": "/somepath",
|
||||
"emulator.js": "https://example.com/emulator.js",
|
||||
"n64-asmjs.data": "/asdfds.data"
|
||||
}
|
||||
```
|
||||
If a file is not defined, it be set to default
|
||||
|
|
Loading…
Reference in a new issue