Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!-- general -->
- <title>REGISTER < TSUKI</title>
- <!-- meta tags -->
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=0.7" />
- <meta name="referrer" content="no-referrer">
- <!-- feed link -->
- <link href="/api/news-feed-atom.php" type="application/atom+xml" title="TSUKI Project News" />
- <!-- browser styling (icons, theme, title) -->
- <link rel="apple-touch-icon" sizes="180x180" href="/res/images/icons/apple-touch-icon.png">
- <link rel="icon" type="image/png" sizes="32x32" href="/res/images/icons/favicon-32x32.png">
- <link rel="icon" type="image/png" sizes="16x16" href="/res/images/icons/favicon-16x16.png">
- <link rel="manifest" href="/res/images/icons/manifest.json">
- <link rel="mask-icon" href="/res/images/icons/safari-pinned-tab.svg" color="#000000">
- <link rel="shortcut icon" href="/res/images/icons/favicon.ico">
- <meta name="apple-mobile-web-app-title" content="TSUKI">
- <meta name="application-name" content="TSUKI">
- <meta name="msapplication-config" content="/res/images/icons/browserconfig.xml">
- <meta name="theme-color" content="#000000">
- <!-- CSS links -->
- <link rel="stylesheet" href="/res/css/reset.css">
- <link rel="stylesheet" href="/res/css/common.css">
- <link rel="stylesheet" href="/res/css/cursor.css">
- <link rel="stylesheet" href="/res/css/expandable.css">
- <link rel="stylesheet" href="/res/css/scanlines.css">
- <link rel="stylesheet" href="/res/css/scrollbars.css">
- <link rel="stylesheet" href="/res/css/dialog.css">
- <link rel="stylesheet" href="/res/css/lightbox.css">
- <!-- CSS overrides, if any -->
- <!-- JavaScript -->
- <script src="/res/js/cookies.js"></script>
- <script src="/res/js/jquery.min.js"></script>
- <script src="/res/js/howler.min.js"></script>
- <script src="/res/js/common.js"></script>
- <script src="/res/js/sfx-main.js"></script>
- <script src="/res/js/cursors.js"></script>
- <script src="/res/js/expandable.js"></script>
- <script src="/res/js/section-colorizer.js"></script>
- <script src="/res/js/dialog.js"></script>
- <script src="/res/js/lightbox.js"></script>
- <!-- content tags -->
- <meta property="og:title" content="TSUKI Project" />
- <meta property="og:description" content="Unlink the world. Unlock the rest." />
- <meta property="og:image" content="/res/images/tsuki.png" />
- <!-- PAGE-SPECIFIC -->
- <style>
- body {
- background-image: url("/res/images/bg/auth.png");
- background-position: center;
- background-attachment: fixed;
- background-size: cover;
- background-repeat: no-repeat;
- overflow: hidden;
- max-height: 100%;
- }
- .no-anim #static {
- display: none;
- }
- #static {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 50;
- background-image: url("/res/images/static.gif");
- background-repeat: repeat;
- opacity: 0.03;
- pointer-events: none;
- animation: 3s StaticLoop linear alternate infinite;
- }
- @keyframes StaticLoop {
- 0% { opacity: 0.03; }
- 100% { opacity: 0.1; }
- }
- #kuro {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 0;
- background-color: #000;
- opacity: 0;
- pointer-events: none;
- transition: 1s opacity;
- }
- #kuro.shown {
- opacity: 1;
- }
- #shiro {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 60;
- background-color: #FFF;
- opacity: 0;
- pointer-events: none;
- }
- #shiro.fireaway {
- animation: 1.5s 1.5s LightLad linear forwards;
- }
- @keyframes LightLad {
- 0% { opacity: 0; }
- 100% { opacity: 1; }
- }
- .step {
- color: #EEF;
- text-shadow: 0px 0px 16px #AAF;
- width: calc(100% - 16vw);
- height: calc(100% - 16vw);
- padding: 8vw;
- font-size: 1.1em;
- position: absolute;
- transition: 0.6s opacity, 0.6s padding-top;
- }
- .step.hidden {
- opacity: 0;
- padding-top: 10vw;
- padding-bottom: 6vw;
- pointer-events: none;
- }
- .step h1 {
- font-size: 3em;
- font-family: "Heading", sans-serif;
- margin-bottom: 0.5em;
- }
- .step p {
- margin-top: 1em;
- margin-bottom: 1em;
- }
- .step ul>li {
- margin-left: 2em;
- }
- .step ul>li::before {
- content: "-> ";
- }
- .step-number {
- background-color: #EEF;
- text-shadow: none;
- box-shadow: 0px 0px 16px #AAF;
- color: #000;
- display: inline-block;
- width: 1em;
- height: 1em;
- text-align: center;
- padding: 0.2em;
- padding-top: 0.3em;
- padding-bottom: 0.1em;
- transform: rotate(-3deg);
- margin-right: 0.2em;
- }
- .step-buttons {
- position: fixed;
- bottom: 0;
- left: 0;
- width: calc(100% - 4vw);
- padding: 2vw;
- transition: 0.6s width cubic-bezier(.62,1.3,.54,1.2), 0.6s left cubic-bezier(.62,1.3,.54,1.2);
- }
- .step.hidden .step-buttons {
- width: calc(100% - 4vw + 50vw);
- left: -25vw;
- }
- .step-button {
- font-size: 2em;
- display: inline-block;
- float: left;
- width: 10em;
- border: 1px solid #EEF;
- background-color: #EEF;
- text-shadow: none;
- box-shadow: 0px 4px rgba(170, 170, 255, 0.7), 0px 4px 16px #AAF;
- color: #000;
- font-family: "Heading", sans-serif;
- padding-top: 0.15em;
- position: relative;
- top: 0;
- transition: 0.3s top, 0.3s box-shadow;
- }
- .step-button:hover {
- top: 2px;
- box-shadow: 0px 2px rgba(170, 170, 255, 0.7), 0px 2px 20px #AAF;
- }
- .step-button:active {
- top: 3px;
- box-shadow: 0px 1px rgba(170, 170, 255, 0.7), 0px 1px 120px #AAF, 0px 1px 40px #AAF;
- transition: 0.05s top, 0.05s box-shadow;
- }
- .step-button_right {
- text-align: right;
- float: right;
- }
- .step-button.negative {
- background-color: transparent;
- color: #EEF;
- text-shadow: 0px 0px 16px #AAF;
- }
- #tsuki-hello {
- position: fixed;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- mix-blend-mode: lighten;
- opacity: 1;
- transition: 1.5s opacity;
- }
- #tsuki-hello.hidden {
- opacity: 0;
- }
- .char {
- transition: 0.5s background-color;
- background-color: transparent;
- }
- *:not(.step-button)>.char.compressed {
- background-color: #EEF;
- }
- .clicky-box::before {
- content: "☐ ";
- }
- .clicky-box.checked::before {
- content: "☒ ";
- }
- .example {
- display: inline-block;
- width: 15em;
- position: relative;
- vertical-align: top;
- margin-right: 2em;
- }
- .example::after {
- content: "";
- display: block;
- position: absolute;
- right: 0;
- top: 0;
- transform: translate(50%, -50%);
- width: 1em;
- height: 1em;
- font-size: 1.5em;
- padding-left: 0.1em;
- padding-top: 0.2em;
- }
- .example.good {
- border: 2px solid #0F0;
- background-color: #0F0;
- box-shadow: 0px 0px 8px #0F0;
- color: #040;
- }
- .example.good::after {
- content: "✓";
- background-color: #0F0;
- box-shadow: 0px 0px 8px #0F0;
- }
- .example.bad {
- border: 2px solid #F00;
- background-color: #F00;
- box-shadow: 0px 0px 8px #F00;
- color: #400;
- }
- .example.bad::after {
- content: "✕";
- background-color: #F00;
- box-shadow: 0px 0px 8px #F00;
- padding-left: 0.2em;
- }
- .example img {
- width: 100%;
- }
- .example p {
- margin: 0.5em;
- }
- #file {
- width: 0.1px;
- height: 0.1px;
- opacity: 0;
- overflow: hidden;
- position: absolute;
- z-index: -1;
- }
- #filelabel {
- font-size: 1.25em;
- color: #FFF;
- background-color: #437;
- box-shadow: 0px 0px 8px #659;
- display: inline-block;
- transition: 0.3s background-color, 0.3s color, 0.3s box-shadow;
- padding: 0.5em;
- font-family: "Heading", sans-serif;
- }
- #filelabel:hover {
- background-color: #FFF;
- color: #000;
- box-shadow: 0px 0px 8px #FFF;
- }
- #finale {
- display: block;
- position: fixed;
- z-index: 1000;
- width: 22em;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- color: #FFF;
- font-family: "MS Mincho", sans-serif;
- font-size: 1.5em;
- font-weight: 900;
- }
- #finale p.hidden {
- display: none;
- }
- .superclicky:hover::before, .superclicky.checked::before {
- content: "→";
- margin-left: calc(-1em - 1px);
- }
- .superclicky.disabled {
- pointer-events: none;
- }
- </style>
- <script>
- $(document).ready(function() {
- playMusic(1, "register");
- $("body").on("mouseenter", ".step-button", function() {
- sfx_bighover.play();
- });
- $("body").on("click", ".step-button", function() {
- sfx_bigclick.play();
- });
- $("body").on("click", ".backwards", function() {
- sfx_backwards.play();
- });
- $("body").on("click", ".forwards", function() {
- sfx_forwards.play();
- });
- $("#tsuki-hello").removeClass("hidden");
- setTimeout(function(){
- $("#tsuki-hello").addClass("hidden");
- }, 2000);
- setTimeout(function(){
- showStep("#step0");
- }, 3200);
- $("body").on("change", "#file", function() {
- if ($(this).val()) {
- $("#filelabel").text($(this).val());
- } else {
- $("#filelabel").text("Pick an image");
- }
- });
- $("body").on("mouseenter", ".clicky-box", function() {
- sfx_hover.play();
- });
- $("body").on("click", ".clicky-box", function() {
- $(this).toggleClass("checked");
- sfx_button_click_small.play();
- });
- // step 0
- $("body").on("click", "#s0_cancel", function() {
- window.location = "/";
- });
- $("body").on("click", "#s0_start", function() {
- showStep("#step1");
- });
- // step 1
- $("body").on("click", "#s1_back", function() {
- showStep("#step0");
- });
- $("body").on("click", "#s1_done", function() {
- if (!isNaN(parseFloat($("#age").val())) && isFinite($("#age").val())) {
- showStep("#step2");
- } else {
- sfx_no.play();
- }
- });
- // step 2
- $("body").on("click", "#s2_back", function() {
- showStep("#step1");
- });
- $("body").on("click", "#s2_agree", function() {
- if ($("#step2 .clicky-box:not(.checked)").length > 0) {
- sfx_no.play();
- } else {
- showStep("#step3");
- }
- });
- // step 3
- $("body").on("click", "#s3_back", function() {
- showStep("#step2");
- });
- $("body").on("click", "#s3_done", function() {
- if (!$("#email").val().includes("@")) {
- sfx_no.play();
- } else {
- showStep("#step4");
- }
- });
- // step 4
- $("body").on("click", "#s4_back", function() {
- showStep("#step3");
- });
- $("body").on("click", "#s4_done", function() {
- showStep("#step5");
- });
- // step 5
- $("body").on("click", "#s5_back", function() {
- showStep("#step4");
- });
- $("body").on("click", "#s5_done", function() {
- showStep("#step6");
- });
- // step 6
- $("body").on("click", "#s6_back", function() {
- showStep("#step5");
- });
- $("body").on("click", "#s6_done", function() {
- if ($("#file").val()) {
- showStep("#step7");
- } else {
- sfx_no.play();
- }
- });
- // step 7
- $("body").on("click", "#s7_back", function() {
- showStep("#step6");
- });
- $("body").on("click", "#s7_done", function() {
- if ($("#captcha").val().length !== 6) {
- sfx_no.play();
- } else {
- $(".step:not(.hidden)").addClass("hidden");
- $("header").addClass("hidden");
- $("#starfield").addClass("hidden");
- $("#kuro").addClass("shown");
- fadeAway(1000);
- setTimeout(function() {
- writeFinal("#f0");
- }, 1500);
- setTimeout(function() {
- writeFinal("#f1");
- }, 5000);
- setTimeout(function() {
- writeFinal("#f2");
- }, 10000);
- setTimeout(function() {
- writeFinal("#f3");
- }, 10700);
- }
- });
- // finale
- $("body").on("click", "#f3", function() {
- $(this).addClass("checked");
- $(".superclicky").addClass("disabled");
- $(this).text($(this).text().replace("☐", "☒"));
- sfx_channelok.play();
- setTimeout(function() {
- window.location = "/";
- }, 630);
- });
- $("body").on("click", "#f2", function() {
- $(this).addClass("checked");
- $(".superclicky").addClass("disabled");
- $(this).text($(this).text().replace("☐", "☒"));
- sfx_channelok.play();
- setTimeout(function() {
- $("#form").submit();
- }, 630);
- });
- });
- function writeFinal(element) {
- var str = $(element).text();
- $(element).text("");
- $(element).removeClass("hidden");
- var i = 1;
- var tinv = setInterval(function(){
- $(element).html(str.substring(0,i));
- i++;
- if (i > str.length) {
- clearInterval(tinv);
- $(element).html(str);
- }
- }, 55);
- }
- function showStep(step) {
- $(".step:not(.hidden)").addClass("hidden");
- $(".char").addClass("compressed");
- if (!$(step).html().includes('span class="char')) {
- var origHtml = $(step).html();
- $(step).html(function (i, html) {
- var active = true;
- var newHtml = "";
- for (var i = 0, len = html.length; i < len; i++) {
- if (html.charAt(i) === "<") {
- active = false;
- }
- if (active) {
- newHtml += '<span class="char compressed" style="transition-delay: ' + Math.random() + 's">' + html.charAt(i) + '</span>';
- } else {
- newHtml += html.charAt(i);
- }
- if (html.charAt(i) === ">") {
- active = true;
- }
- }
- return newHtml;
- });
- setTimeout(function() {
- $(step).html(origHtml);
- }, 2100);
- }
- setTimeout(function() {
- $(step).removeClass("hidden");
- }, 300);
- setTimeout(function() {
- $(".char.compressed").removeClass("compressed");
- }, 400);
- }
- </script>
- <link rel="stylesheet" type="text/css" href="/res/css/starfield.css">
- <script src="/res/js/gl-matrix.js"></script>
- <script src="/res/js/starfield.js"></script>
- </head>
- <body>
- <div id="loading-box">
- <span id="loading-box-text">Loading...</span>
- <div id="loading-box-icon">
- <img id="loading-box-icon-tsuki" src="/res/images/loading-box-icon-tsuki.png" />
- <img id="loading-box-icon-spin" src="/res/images/loading-box-icon-spin.png" />
- </div>
- </div>
- <style>
- #loading-box {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: #000;
- z-index: 1000000000;
- transition: opacity 0.2s;
- }
- #loading-box.finished {
- opacity: 0;
- pointer-events: none;
- }
- #loading-box-text {
- position: fixed;
- right: 72px;
- bottom: 28px;
- text-align: right;
- color: #FFF;
- font-family: "Tiny", sans-serif;
- font-size: 22px;
- pointer-events: none;
- transition: bottom 0.2s ease-in;
- }
- #loading-box-text::selection {
- background: none;
- color: #FFF;
- }
- #loading-box-text::-moz-selection {
- background: none;
- color: #FFF;
- }
- #loading-box.finished #loading-box-text {
- bottom: -36px;
- }
- #loading-box-icon {
- position: fixed;
- width: 50px;
- height: 50px;
- right: 14px;
- bottom: 14px;
- pointer-events: none;
- transition: bottom 0.2s ease-in;
- }
- #loading-box.finished #loading-box-icon {
- bottom: -50px;
- }
- #loading-box-icon-tsuki {
- position: absolute;
- width: 50px;
- pointer-events: none;
- }
- #loading-box-icon-spin {
- position: absolute;
- width: 50px;
- left: 1px;
- pointer-events: none;
- animation: LoaderSpin 2s infinite linear;
- }
- @keyframes LoaderSpin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- </style>
- <script>
- document.addEventListener("DOMContentLoaded", function(event) {
- document.getElementById("loading-box-icon-spin").src = "/res/images/loading-box-icon-finish.png";
- document.getElementById("loading-box-text").innerHTML = "Loaded.";
- document.getElementById("loading-box").className = "finished";
- setTimeout(function() {
- document.getElementById("loading-box-icon-spin").src = "/res/images/loading-box-icon-spin.png";
- document.getElementById("loading-box-text").innerHTML = "Loading...";
- }, 500);
- });
- window.onbeforeunload = function() {
- document.getElementById("loading-box-icon-spin").src = "/res/images/loading-box-icon-spin.png";
- document.getElementById("loading-box-text").innerHTML = "Loading...";
- document.getElementById("loading-box").classList.remove("finished");
- fadeAway(200);
- }
- </script>
- <noscript>
- <style>
- #loading-box {
- display: none !important;
- }
- </style>
- </noscript> <header class="announcement-hidden">
- <div id="header-inner">
- <div id="header-marquee">
- <div id="header-marquee_inner">
- <span class="header-marquee-element">Welcome to the official TSUKI Project homepage</span>
- <span class="header-marquee-element">Registrations are currently <span class='posneg positive'>open</span></span>
- <span class="header-marquee-element">Gates are currently <span class='posneg positive'>open</span></span>
- <span class="header-marquee-element"><span class="posneg neutral">5127</span> migrants registered</span>
- <span class="header-marquee-element">Latest news: <span class="posneg neutral">Welcome back!</span></span>
- <span class="header-marquee-element">Life is <span class='posneg positive'>linked</span></span>
- <!-- repeated below for infinity effect -->
- <span class="header-marquee-element">Welcome to the official TSUKI Project homepage</span>
- <span class="header-marquee-element">Registrations are currently <span class='posneg positive'>open</span></span>
- <span class="header-marquee-element">Gates are currently <span class='posneg positive'>open</span></span>
- <span class="header-marquee-element"><span class="posneg neutral">5127</span> migrants registered</span>
- <span class="header-marquee-element">Latest news: <span class="posneg neutral">Welcome back!</span></span>
- <span class="header-marquee-element">Life is <span class='posneg positive'>linked</span></span>
- <!-- repeated below one more time for big screens -->
- <span class="header-marquee-element">Welcome to the official TSUKI Project homepage</span>
- <span class="header-marquee-element">Registrations are currently <span class='posneg positive'>open</span></span>
- <span class="header-marquee-element">Gates are currently <span class='posneg positive'>open</span></span>
- <span class="header-marquee-element"><span class="posneg neutral">5127</span> migrants registered</span>
- <span class="header-marquee-element">Latest news: <span class="posneg neutral">Welcome back!</span></span>
- <span class="header-marquee-element">Life is <span class='posneg positive'>linked</span></span>
- </div>
- </div>
- </div id="header-inner">
- <div id="header-knobs">
- <a href="/"><div class="header-knob" id="header-knobs_tsuki"></div></a>
- <a href="/content/tsuki/community.php"><div class="header-knob header-knob-text" id="header-knobs_community">COMMUNITY</div></a>
- <a href="https://boards.systemspace.link/"><div class="header-knob header-knob-text" id="header-knobs_boards">BOARDS</div></a>
- <a href="/member/"><div class="header-knob header-knob-text right-hand">HI 5212</div></a>
- <a href="/files/"><div class="header-knob header-knob-text right-hand">FILES</div></a> <a href="javascript:void(0);"><div class="header-knob header-knob-text right-hand" id="header-knobs_preferences">PREFERENCES</div></a>
- </div>
- </header>
- <script>
- $(document).ready(function() {
- $("#header-knobs_maintenance").click(function() {
- setCookie("MAINTENANCE_OVERRIDE", "", 0);
- location.reload();
- });
- });
- </script>
- <style>
- header {
- filter: drop-shadow(-1px 0px #FFF) drop-shadow(0px 1px #FFF) drop-shadow(1px 0px #FFF);
- z-index: 1000000;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- transition: 0.5s top;
- }
- header.hidden {
- top: -10em;
- }
- header.anim-fast {
- top: -10em;
- transition: none;
- }
- header.anim-slow {
- transition: 1s top;
- }
- #header-announcement {
- background-color: #000;
- background-image: url("/res/images/bg/announcement.png");
- background-position: top;
- background-size: cover;
- box-shadow: inset 0px -16px 16px #000;
- width: 100%;
- text-align: center;
- font-family: "Heading", sans-serif;
- letter-spacing: -0.2em;
- font-size: 2em;
- color: #AFF;
- text-shadow: 0px 0px 16px #AFF;
- padding-top: 0.3em;
- padding-bottom: 0.3em;
- overflow: hidden;
- max-height: 2em;
- transition: 0.3s max-height, 0.3s padding-top, 0.3s padding-bottom;
- position: relative;
- }
- #close-announcement {
- position: absolute;
- top: 0.3em;
- right: 0.6em;
- }
- .announcement-hidden #header-announcement {
- max-height: 0;
- padding-top: 0;
- padding-bottom: 0;
- }
- #header-inner {
- background-color: #000;
- width: 100%;
- height: 2em;
- overflow: hidden;
- transition: 0.3s height;
- }
- .no-marquee #header-inner {
- height: 0;
- }
- #header-knobs {
- width: 100%;
- }
- .header-knob {
- display: inline-block;
- float: left;
- margin-left: 1em;
- }
- .header-knob.right-hand {
- margin-left: 0;
- float: right;
- }
- #header-knobs_tsuki {
- clip-path: url("#clip-knob_tsuki");
- background-color: #000;
- background-image: url("/res/images/header-knobs_tsuki.png");
- background-repeat: no-repeat;
- background-size: contain;
- background-position: center;
- background-origin: content-box;
- width: 6vw;
- height: 2.5vw;
- padding: 0.25vw;
- padding-right: 0.7vw;
- margin-left: 0;
- min-width: 6em;
- min-height: 2.5em;
- }
- .header-knob-text {
- clip-path: url("#clip-knob-text");
- background-color: #000;
- color: #FFF;
- font-family: "Tiny", sans-serif;
- height: 0.8em;
- padding-left: 0.5em;
- padding-right: 0.5em;
- margin-right: 1em;
- }
- #header-marquee {
- color: #FFF;
- width: 100%;
- padding: 0.4em;
- font-family: "Heading", sans-serif;
- font-size: 1.2em;
- letter-spacing: -4px;
- overflow: hidden;
- white-space: nowrap;
- }
- #header-marquee_inner {
- display: inline-block;
- animation: HeaderMarqueeIntro 3s linear, HeaderMarqueeAnim 30s 3s linear infinite;
- margin: 0;
- padding: 0;
- }
- @keyframes HeaderMarqueeIntro {
- 0% { opacity: 0; transform: translateX(3.333%); }
- 100% { opacity: 1; transform: translateX(0%); }
- }
- @keyframes HeaderMarqueeAnim {
- 0% { transform: translateX(0%); }
- 100% { transform: translateX(calc(-33.333% - 0.3em)); }
- }
- .header-marquee-element {
- position: relative;
- top: -0.9em;
- }
- .header-marquee-element::after {
- content: "";
- display: inline-block;
- background-color: #FFF;
- width: 1px;
- height: 1.75em;
- position: relative;
- top: 0.4em;
- margin-left: 1.3em;
- margin-right: 0.5em;
- transform: skewX(-15deg);
- }
- #header-knobs_maintenance {
- color: #FF0;
- background: linear-gradient(to bottom, #000 0%, #F00 100%);
- padding-left: 1em;
- padding-right: 1em;
- }
- </style>
- <script>
- $(document).ready(function() {
- if ($("#header-announcement").length > 0) {
- if (getCookie("SEEN_ANNOUNCEMENT") !== $($("#header-announcement")[0]).attr("data-id")) {
- $("header").removeClass("announcement-hidden");
- sfx_announcement.play();
- }
- }
- $("#close-announcement").click(function() {
- var theid = $(this).parents("#header-announcement").attr("data-id");
- sfx_button_click.play();
- $("header").addClass("announcement-hidden");
- setCookie("SEEN_ANNOUNCEMENT", theid, Date.now() + 24*3600*1000);
- });
- $("#close-announcement").mouseover(function() {
- sfx_hover.play();
- });
- });
- </script>
- <canvas id="starfield"></canvas>
- <div id="static"></div>
- <div id="shiro"></div>
- <div id="kuro"></div>
- <form action="process-registration.php" method="post" enctype="multipart/form-data" id="form">
- <img id="tsuki-hello" src="/res/images/tsuki-hello.png" class="hidden" />
- <div class="step hidden" id="step0">
- <h1><span class="step-number">1</span>Registration</h1>
- <p>You are about to register into the TSUKI Project. This will cause you to be transferred to LFE upon death.</p>
- <p>To continue, you will need:</p>
- <ul>
- <li>About 5 minutes of time</li>
- <li>Pen and paper</li>
- <li>A camera, be it a phone camera or otherwise</li>
- <li>An active email address</li>
- </ul>
- <p>Please understand that although the registration process may seem simple, registration may or may not be a burden to you. It is therefore vital that you understand what you are doing before continuing, to ensure not only your own safety, but also that of those around you. Please put considerable time and thought into not only the process, but also the thought path before it — this is a decision for life.</p>
- <p>If you have made your decision and are ready to begin, choose Start.</p>
- <div class="step-buttons">
- <div id="s0_cancel" class="cur-action step-button step-button_left negative backwards">CANCEL</div>
- <div id="s0_start" class="cur-action step-button step-button_right forwards">START</div>
- </div>
- </div>
- <div class="step hidden" id="step1">
- <h1><span class="step-number">2</span>Age</h1>
- <p>Please enter your age in the box below:</p>
- <input class="big eid" placeholder="your age" value="" id="age" name="age">
- <div class="step-buttons">
- <div id="s1_back" class="cur-action step-button step-button_left negative backwards">BACK</div>
- <div id="s1_done" class="cur-action step-button step-button_right forwards">DONE</div>
- </div>
- </div>
- <div class="step hidden" id="step2">
- <h1><span class="step-number">3</span>Agreement</h1>
- <p>Before we may accept your registration, please read the following terms carefully then check their respective boxes:</p>
- <div class="clicky-box cur-open">I will be transferred over to the LFE System after my death in Life, as long as I do not soulshatter and my contract is active at that moment.</div>
- <div class="clicky-box cur-open">I understand that I will lose all physical data, including but not limited to my body. An exception is made for certain files.</div>
- <div class="clicky-box cur-open">I also understand that most of my memories will be kept, unless later specified.</div>
- <div class="clicky-box cur-open">I understand that I will no longer be able to sign out after Life is unlinked.</div>
- <div class="clicky-box cur-open">I understand that both my ability to participate and my ability to leave may be cancelled at any time.</div>
- <div class="clicky-box cur-open">I allow TSUKI (including a human representative) to look up my soul, and make changes to it, such as attaching an EID.</div>
- <div class="clicky-box cur-open">I understand that, although I am insured against soulshatter and memory loss, I may be seriously hurt in any way by participating.</div>
- <div class="clicky-box cur-open">I understand that I will never be able to return to Life after transferring.</div>
- <div class="clicky-box cur-open">I will never cause harm to the Project, its registrants or its executives.</div>
- <br>
- <div class="clicky-box cur-open" style="color: #FF0">I have thoroughly read this agreement as well as the Terms of Service, and have decided that I still wish to participate.</div>
- <div class="step-buttons">
- <div id="s2_back" class="cur-action step-button step-button_left negative backwards">BACK</div>
- <div id="s2_agree" class="cur-action step-button step-button_right forwards">I AGREE</div>
- </div>
- </div>
- <div class="step hidden" id="step3">
- <h1><span class="step-number">4</span>Correspondance</h1>
- <p>To be able to receive your EID, you need to enter an e-mail so we may send you a message once your registration has been processed.</p>
- <input class="big eid" placeholder="[email protected]" value="" id="email" name="email"><br>
- <p style="color: #FF0">It is vital that this email is valid.</p>
- <div class="step-buttons">
- <div id="s3_back" class="cur-action step-button step-button_left negative backwards">BACK</div>
- <div id="s3_done" class="cur-action step-button step-button_right forwards">DONE</div>
- </div>
- </div>
- <div class="step hidden" id="step4">
- <h1><span class="step-number">5</span>Signing</h1>
- <p>To locate your soul, we need you to draw an image. Grab a piece of paper and a pen, and draw:</p>
- <ul>
- <li>A drawn image. (The image or your drawing ability don't matter, this is merely to increase the amount of data points)</li>
- <li>The code "<span style="color: yellow">a62cd92b2104acbd928ccb29</span>", handwritten on the same piece of paper.</li>
- </ul>
- <br>
- <div class="example bad">
- <img src="/res/images/register/bad-nodrawing.jpg" />
- <p>Make sure to draw a drawing, the code is usually not enough.</p>
- </div>
- <div class="example bad">
- <img src="/res/images/register/bad-hardtoread.jpg" />
- <p>Please make sure the code is easily readable. Being creative is fine, but please do not break up the code.</p>
- </div>
- <div class="example good">
- <img src="/res/images/register/good3.jpg" />
- <p>Draw whatever you want — it can be as simple or advanced as you wish, as long as you feel comfortable with it.</p>
- </div>
- <div class="step-buttons">
- <div id="s4_back" class="cur-action step-button step-button_left negative backwards">BACK</div>
- <div id="s4_done" class="cur-action step-button step-button_right forwards">DONE</div>
- </div>
- </div>
- <div class="step hidden" id="step5">
- <h1><span class="step-number">6</span>Recording</h1>
- <p>Now that you have a drawing on paper, please take a picture of it, using a camera, your phone, or whatever works for you. However, do not scan the picture, data will be lost that way. (You may remove EXIF data if you please.)</p>
- <br>
- <div class="example bad">
- <img src="/res/images/register/bad-scan.jpg" />
- <p>Please do not use a scanner or copier.</p>
- </div>
- <div class="example good">
- <img src="/res/images/register/good1.jpg" />
- <p>Clear pictures work best!</p>
- </div>
- <div class="example good">
- <img src="/res/images/register/good2.jpg" />
- <p>Ensure all of your drawing and code is in frame.</p>
- </div>
- <div class="step-buttons">
- <div id="s5_back" class="cur-action step-button step-button_left negative backwards">BACK</div>
- <div id="s5_done" class="cur-action step-button step-button_right forwards">DONE</div>
- </div>
- </div>
- <div class="step hidden" id="step6">
- <h1><span class="step-number">7</span>Upload</h1>
- <p>Put the picture on your device, then select it here. Only .JPG is allowed, 5MB maximum.</p>
- <br>
- <input type="file" name="file" id="file" accept="image/jpeg" />
- <label for="file" id="filelabel" class="cur-action">Pick an image</label>
- <div class="step-buttons">
- <div id="s6_back" class="cur-action step-button step-button_left negative backwards">BACK</div>
- <div id="s6_done" class="cur-action step-button step-button_right forwards">DONE</div>
- </div>
- </div>
- <div class="step hidden" id="step7">
- <h1><span class="step-number">8</span>Human Verification</h1>
- <p>Sorry for asking, but please verify that you are human by entering the characters you see into the field below.</p>
- <br>
- <div class="captcha-box">
- <img src="/lib/securimage/securimage_show.php" alt="CAPTCHA Image" />
- <input name="captcha" id="captcha">
- <div class="captcha-refresh cur-action" onclick="$(this).siblings('img').attr('src', '/lib/securimage/securimage_show.php?' + Math.random()); sfx_button_click_small.play(); return false;">↻</div>
- </div>
- <div class="step-buttons">
- <div id="s7_back" class="cur-action step-button step-button_left negative backwards">BACK</div>
- <div id="s7_done" class="cur-action step-button step-button_right forwards">FINISH</div>
- </div>
- </div>
- <div id="finale">
- <p id="f0" class="hidden">This is your last chance to back out.</p><br>
- <p id="f1" class="hidden">Are you absolutely sure you wish to enroll in the TSUKI Project?</p><br>
- <p id="f2" class="hidden superclicky">☐ Yes</p>
- <p id="f3" class="hidden superclicky">☐ No</p>
- </div>
- </form>
- <svg class="clip-svg">
- <defs>
- <clipPath id="clip-knob_tsuki" clipPathUnits="objectBoundingBox">
- <polygon points="1 0, 0 0, 0 1, 0.9 0.95" />
- </clipPath>
- <clipPath id="clip-knob-text" clipPathUnits="objectBoundingBox">
- <polygon points="1 0, 0 0, 0.1 1, 0.9 1" />
- </clipPath>
- <clipPath id="clip-heading" clipPathUnits="objectBoundingBox">
- <polygon points="1 0, 0 0, 0 1, 1 0.9" />
- </clipPath>
- <clipPath id="clip-heading-small" clipPathUnits="objectBoundingBox">
- <polygon points="1 0, 0 0, 0 1, 1 0.7" />
- </clipPath>
- <clipPath id="clip-footing" clipPathUnits="objectBoundingBox">
- <polygon points="1 0, 1 0, 0 1, 1 1" />
- </clipPath>
- <clipPath id="clip-sectiontop" clipPathUnits="objectBoundingBox">
- <polygon points="1 0, 1 0, 0 1, 1 1" />
- </clipPath>
- <clipPath id="clip-sectionbottom" clipPathUnits="objectBoundingBox">
- <polygon points="1 0, 0 0, 0 1, 1 0" />
- </clipPath>
- </defs>
- </svg>
- <div id="preferences-wrapper" class="hidden">
- <div id="preferences">
- <h1>Preferences</h1>
- <div class="preference" id="preference_animations">
- <div class="explanation">
- <h2>Animations</h2>
- <p>Use all animations</p>
- </div>
- <div class="switch cur-action">
- <div class="switch-option negative" id="animations-none">⊘</div><div class="switch-option inverse" id="animations-light">⊝</div><div class="switch-option positive" id="animations-all">◯</div>
- </div>
- </div>
- <div class="preference" id="scanlines_opacity">
- <div class="explanation">
- <h2>Scanline opacity</h2>
- <p>50%</p>
- </div>
- <input type="range" min="5" max="100" value="50" class="slider">
- </div>
- <div class="preference" id="music_volume">
- <div class="explanation">
- <h2>Music volume</h2>
- <p>100%</p>
- </div>
- <input type="range" min="0" max="100" value="100" class="slider">
- </div>
- <div class="preference" id="sfx_volume">
- <div class="explanation">
- <h2>Sound effect volume</h2>
- <p>100%</p>
- </div>
- <input type="range" min="0" max="100" value="100" class="slider">
- </div>
- <div class="preference" id="preference_marquee">
- <div class="explanation">
- <h2>Marquee</h2>
- <p>Always show marquee</p>
- </div>
- <div class="switch cur-action">
- <div class="switch-option negative" id="marquee-never">⊘</div><div class="switch-option inverse" id="marquee-home">◇</div><div class="switch-option positive" id="marquee-always">◯</div>
- </div>
- </div>
- <a href="javascript:void(0);"><div id="preferences_replay-intro" class="cur-confirm preferences-link">Replay Intro</div></a>
- <a href="javascript:void(0);"><div id="preferences-close" class="cur-confirm">CLOSE</div></a>
- </div>
- </div>
- <style>
- #preferences-wrapper {
- background-color: rgba(0, 0, 0, 0.8);
- transition: 0.3s background-color;
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- z-index: 5000000;
- }
- #preferences-wrapper.hidden {
- background-color: rgba(0, 0, 0, 0);
- pointer-events: none;
- }
- #preferences {
- position: absolute;
- width: 50em;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%) rotate(0deg);
- padding: 1em;
- background-color: #000;
- border: 1px solid var(--inverse-color);
- color: var(--inverse-color);
- transition: 0.3s top, 0.3s transform, 0.3s opacity;
- }
- #preferences-wrapper.hidden #preferences {
- top: 100%;
- opacity: 0;
- transform: translate(-50%, 0) rotate(2deg);
- }
- #preferences h1 {
- font-family: "Heading", sans-serif;
- font-size: 2em;
- border-bottom: 1px solid var(--inverse-color);
- padding-bottom: 0.25em;
- }
- #preferences-close {
- color: #000;
- text-align: center;
- font-family: "Heading", sans-serif;
- font-size: 2em;
- margin: -0.5em;
- margin-top: 0.5em;
- background-color: var(--inverse-color);
- padding: 0.25em;
- }
- .preference {
- padding: 0.5em;
- display: inline-block;
- width: calc(100% - 1em);
- vertical-align: middle;
- transition: 0.3s filter, 0.3s opacity;
- }
- .preference.disabled {
- filter: grayscale(100%);
- opacity: 0.5;
- }
- .preference>* {
- display: inline-block;
- float: right;
- }
- .preference.disabled>* {
- pointer-events: none;
- }
- .preference>.explanation {
- float: left;
- }
- .explanation h2 {
- font-family: "Heading", sans-serif;
- letter-spacing: -4px;
- }
- .explanation p {
- font-family: "Tiny", sans-serif;
- margin-bottom: -0.2em;
- }
- .preferences-link {
- border-bottom: 1px solid var(--inverse-color);
- margin-left: 0.5em;
- display: inline;
- font-family: "Tiny", sans-serif;
- }
- </style>
- <script>
- $(document).ready(function() {
- $("#header-knobs_preferences").click(function() {
- sfx_dialog.play();
- $("#preferences-wrapper").removeClass("hidden");
- });
- $("#preferences-close").click(function() {
- sfx_dialog_confirm.play();
- $("#preferences-wrapper").addClass("hidden");
- });
- $("#preferences-wrapper").click(function(e) {
- if ($(e.target).attr("id") !== "preferences-wrapper") { return; }
- sfx_dialog_cancel.play();
- $("#preferences-wrapper").addClass("hidden");
- });
- $("#preferences_replay-intro").click(function() {
- setCookie("SEEN-INTRO", "no", Date.now() + (365*24*60*60*1000));
- window.location = "/";
- });
- $("#animations-none").click(function() {
- setCookie("pref-ANIM", "none", Date.now() + (365*24*60*60*1000));
- updateAnimations();
- });
- $("#animations-light").click(function() {
- setCookie("pref-ANIM", "light", Date.now() + (365*24*60*60*1000));
- updateAnimations();
- });
- $("#animations-all").click(function() {
- setCookie("pref-ANIM", "all", Date.now() + (365*24*60*60*1000));
- updateAnimations();
- });
- updateAnimations();
- ///////////////////////
- $("#scanlines_opacity .slider").change(function() {
- setCookie("pref-SLOPAC", $(this).val() / 100, Date.now() + (365*24*60*60*1000));
- updateScanlines();
- });
- updateScanlines(true);
- ///////////////////////
- $("#music_volume .slider").change(function() {
- setCookie("pref-MUSVOL", $(this).val(), Date.now() + (365*24*60*60*1000));
- updateSound();
- });
- $("#sfx_volume .slider").change(function() {
- setCookie("pref-SFXVOL", $(this).val(), Date.now() + (365*24*60*60*1000));
- updateSound();
- });
- $("#sfx_volume .slider").mousedown(function() {
- sfx_power_loop.play();
- });
- $("#sfx_volume .slider").mouseup(function() {
- sfx_power_loop.stop();
- sfx_default.play();
- });
- updateSound(true);
- ///////////////////////
- $("#marquee-never").click(function() {
- setCookie("pref-MARQUEE", "never", Date.now() + (365*24*60*60*1000));
- updateMarquee();
- });
- $("#marquee-home").click(function() {
- setCookie("pref-MARQUEE", "home", Date.now() + (365*24*60*60*1000));
- updateMarquee();
- });
- $("#marquee-always").click(function() {
- setCookie("pref-MARQUEE", "always", Date.now() + (365*24*60*60*1000));
- updateMarquee();
- });
- updateMarquee();
- });
- function updateAnimations() {
- switch (getCookie("pref-ANIM")) {
- case "all":
- $("#preference_animations p").text("Show all animations");
- $("#animations-all").addClass("selected");
- $("html").removeClass("no-anim");
- $("html").removeClass("no-scanlines");
- $("#scanlines_opacity").removeClass("disabled");
- break;
- case "light":
- $("#preference_animations p").text("Show only scanlines");
- $("#animations-light").addClass("selected");
- $("html").addClass("no-anim");
- $("html").removeClass("no-scanlines");
- $("#scanlines_opacity").removeClass("disabled");
- break;
- case "none":
- $("#preference_animations p").text("No animations at all");
- $("#animations-none").addClass("selected");
- $("html").addClass("no-anim");
- $("html").addClass("no-scanlines");
- $("#scanlines_opacity").addClass("disabled");
- break;
- default:
- setCookie("pref-ANIM", "all", Date.now() + (365*24*60*60*1000));
- updateAnimations();
- break;
- }
- }
- function updateSound(updateSliders = false) {
- if (getCookie("pref-MUSVOL") === "") {
- setCookie("pref-MUSVOL", 100, Date.now() + (365*24*60*60*1000));
- }
- if (getCookie("pref-SFXVOL") === "") {
- setCookie("pref-SFXVOL", 100, Date.now() + (365*24*60*60*1000));
- }
- $("#music_volume p").text(getCookie("pref-MUSVOL") == 0 ? "Off" : getCookie("pref-MUSVOL") + "%");
- $("#sfx_volume p").text(getCookie("pref-SFXVOL") == 0 ? "Off" : getCookie("pref-SFXVOL") + "%");
- music_volume = getCookie("pref-MUSVOL") / 100;
- sfx_volume = getCookie("pref-SFXVOL") / 100;
- setMusicVolume(music_volume);
- setSfxVolume(sfx_volume);
- if (updateSliders) {
- $("#music_volume .slider").val(getCookie("pref-MUSVOL"));
- $("#sfx_volume .slider").val(getCookie("pref-SFXVOL"));
- }
- }
- function updateMarquee() {
- switch (getCookie("pref-MARQUEE")) {
- case "always":
- $("#preference_marquee p").text("Always show marquee");
- $("#marquee-always").addClass("selected");
- $("html").removeClass("no-marquee");
- break;
- case "home":
- $("#preference_marquee p").text("Only show marquee on home page");
- $("#marquee-home").addClass("selected");
- if (window.location.pathname === "/") {
- $("html").removeClass("no-marquee");
- } else {
- $("html").addClass("no-marquee");
- }
- break;
- case "never":
- $("#preference_marquee p").text("Never show marquee");
- $("#marquee-never").addClass("selected");
- $("html").addClass("no-marquee");
- break;
- default:
- setCookie("pref-MARQUEE", "always", Date.now() + (365*24*60*60*1000));
- updateMarquee();
- break;
- }
- }
- function updateScanlines(updateSliders = false) {
- if (getCookie("pref-SLOPAC") === "") {
- setCookie("pref-SLOPAC", 0.75, Date.now() + (365*24*60*60*1000));
- }
- $("#scanlines_opacity p").text(getCookie("pref-SLOPAC") == 0 ? "Off" : (getCookie("pref-SLOPAC") * 100).toFixed() + "%");
- setPseudo("html:not(.no-scanlines):not(.force-no-scanlines) body::before", "opacity", getCookie("pref-SLOPAC"));
- setPseudo("html:not(.no-scanlines):not(.force-no-scanlines) body::after", "opacity", getCookie("pref-SLOPAC"));
- if (updateSliders) {
- $("#scanlines_opacity .slider").val((getCookie("pref-SLOPAC") * 100).toFixed());
- }
- }
- </script></body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment