diff --git a/FOT-ChiaroStd-B.otf b/FOT-ChiaroStd-B.otf new file mode 100644 index 0000000..b2a4ae6 Binary files /dev/null and b/FOT-ChiaroStd-B.otf differ diff --git a/audio.js b/audio.js new file mode 100644 index 0000000..debd61c --- /dev/null +++ b/audio.js @@ -0,0 +1,19 @@ +var audio = new Audio('file_select.mp3'); +audio.addEventListener('ended', function() { + this.currentTime = 0; + this.play(); +}, false); +audio.pause(); + +function toggleMute() +{ + if (!audio.paused) + audio.pause(); + else + { + audio.currentTime = 0; + audio.play(); + } + var html = '' + (audio.paused? "Off" : "On") + ""; + document.getElementById("toggle_audio_mute").innerHTML = "Audio: " + html; +} \ No newline at end of file diff --git a/bg.js b/bg.js new file mode 100644 index 0000000..bd0deee --- /dev/null +++ b/bg.js @@ -0,0 +1,27 @@ + +var imgSrc = "img/vrbox_cur.png"; + +// background scroll animation +var bgImg = new Image(); +bgImg.onload = function() +{ + var factor = (window.innerHeight/this.height); + var style = document.createElement('style'); + style.type = 'text/css'; + style.innerHTML = '@keyframes bg_anim {\ + from {background-position-x:0%;} \ + to {background-position-x:-' + (this.width*(factor)) + '%;} \ + }'; + document.getElementsByTagName('head')[0].appendChild(style); + + var bodyStyle = document.getElementsByTagName("body")[0].style; + bodyStyle.animationDuration = (1000*(factor)) + "s" + bodyStyle.backgroundImage = "url(" + imgSrc + ")"; + bodyStyle.backgroundRepeat = "repeat-x"; + bodyStyle.backgroundAttachment = "fixed"; + bodyStyle.backgroundSize = "cover"; + bodyStyle.animationName = "bg_anim"; + bodyStyle.animationIterationCount = "infinite"; + bodyStyle.animationTimingFunction = "linear"; +} +bgImg.src = imgSrc; \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..486b1cc Binary files /dev/null and b/favicon.ico differ diff --git a/img/vrbox_cur.png b/img/vrbox_cur.png new file mode 100644 index 0000000..1be96ae Binary files /dev/null and b/img/vrbox_cur.png differ diff --git a/index.html b/index.html index e4a0a87..93673d7 100644 --- a/index.html +++ b/index.html @@ -3,36 +3,84 @@
- + + +
Discord: discord.zelda64.dev
+ +Github: github.com/zeldaret
-Project Progress: progress.html
-OOT Trello: trello.com/b/qUqnUkWY/ocarina-of-time-decompilation
-MM Trello: https://trello.com/b/ruxw9n6m/majoras-mask-decompilation
- -OoT Debug Source Code Structure
- CloudModding Wiki -