-
-
Notifications
You must be signed in to change notification settings - Fork 6
vc64webplayer_customizing
mithrendal edited this page Apr 11, 2021
·
2 revisions
the web player has an icon bar at the bottom for controlling the emulator
to hide any icon of the icon bar just give its id a display:none style
there are the following icon ids
stop_iconbtn_resettoggle_iconbtn_unlock_audiobtn_keyboardbtn_zipbtn_overlaybtn_open_in_extra_tab
for example like so
<style>
#stop_icon {
display: none;
}
</style>also be aware that there are two icons that are not visible by default
- the
btn_zipwill be shown only when a zip file is loaded - the
btn_resetwill not be shown by default
to make the btn_reset visible you have to set the show_reset_icon before calling load
set
vc64web_player.show_reset_icon=true;before
vc64web_player.load(
document.getElementById("my_emulator_div"),
encodeURIComponent(JSON.stringify(config))
);- simple hashtag preconfiguration
- preconfig with JSON notation
- using direct start links for sharing on social media
- preconfig of scripts and buttons
- scripting support for simple tasks
- scripting support for complex tasks like programming a game specific AI
lightweight integration into your own webpage (with only a few lines of code)
- using the web player for embedding and controlling vc64web inside another webpage
- preloading the web player with specific system roms
- send scripts into the emulator via the webplayer
- customizing the icon bar at the bottom of the webplayer
- how to preload original system roms and autostart a .d64 title
create a standalone package which contain all files to run your C64 program