1 Star 0 Fork 0

sysdl132/platformre

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 10.00 KB
一键复制 编辑 原始数据 按行查看 历史
sysdl132 提交于 2020-04-01 09:48 . update index.html.
<!DOCTYPE html>
<html>
<head>
<title>Platformre</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="A boring game where a human has complete control over the location a circle and tries to get the circle to touch a green square."/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="blocks.css">
<link rel="stylesheet" type="text/css" href="style.css">
<style id="SHEEPIMG"></style>
<script type="text/javascript">
(function() {
var URL = "https://chat.dbpedia.org"
window.onload = function() {
var iframe = document.createElement("iframe");
iframe.setAttribute("src", URL + "/embed");
iframe.setAttribute("frameBorder", 0);
iframe.style.zIndex = 10000000;
iframe.style.height = "90%";
iframe.style.width = "40%";
iframe.style.position = "fixed";
iframe.style.bottom = "20px";
iframe.style.left = "20px";
iframe.style.display = "none";
document.body.appendChild(iframe);
window.addEventListener("message", receiveMessage, false);
function receiveMessage(event) {
if(event.origin == URL && event.data == "dbpedia-chatbot-embed-loaded") {
iframe.style.display = "block";
}
}
}
})();
</script>
</head>
<body>
<div class="new">
<textarea placeholder="Level code here"></textarea>
<button id="close">Cancel</button>
<button id="load">OK</button>
</div>
<div class="newtext">
<div id="help">
<div id="closet"></div>
<h1>Guide</h1>
<p>Move around and collide into things. Avoid dangerous blocks (such as lava, an orange block) and try to get to the destination blocks (lime green with the flag icon). Along the way, you may encounter special blocks but I won't go into much detail because it's fun seeing people discover things and realize they don't know everything.</p>
<p>If you're having trouble with jumping, remember that you can't run in midair. So take a running start before jumping if you want to navigate the air.</p>
<h2>Keyboard controls</h2>
<p><b>W</b> or <b>up arrow</b> jump if on ground, swim up if in water. hold while jumping into wall to wall jump. makes a pillar with the pillar powerup</p>
<p><b>A</b> or <b>left arrow</b> move left if on ground, swim left if in water</p>
<p><b>D</b> or <b>right arrow</b> move right if on ground, swim right if in water</p>
<p><b>S</b> or <b>down arrow</b> jump if in gravity blocks and on ground, swim down if in water. destroys block under you with the slammer powerup. falls through the floor with the transparent blocks powerup.</p>
<p><b>space</b> brakes if on ground or in water. activates powerups.</p>
<p><b>P</b> pauses the game</p>
<p><b>R</b> suicide. useful if trapped in stickyground blocks.</p>
<h2>Joystick controls</h2>
<p><i class="material-icons">videogame_asset</i> tap this icon first (on the bottom bar) to enable the joystick.</p>
<p><img src="icons/joystick.svg"/> <b>tap and drag</b> to move around. the arrows correspond to the WASD keys.</p>
<p><img src="icons/brake.svg"/> <b>tap and hold</b> to brake. this is the same as the space bar.</p>
<p><img src="icons/pause.svg"/> <b>tap</b> to pause/resume. this is the same as the p key.</p>
<p><img src="icons/materialicon_refresh.svg"/> <b>tap</b> to suicide. this is the same as the r key.</p>
<h2>What blocks do</h2>
<p><img src="icons/materialicon_flag.svg" style="background:#8BC34A;"/> your goal is to touch the green blocks with the flag.</p>
<p><div style="background:#FF5722;height:16px;width:16px;display:inline-block;"></div> don't touch this.</p>
<p><div style="background:#212121;height:16px;width:16px;display:inline-block;"></div> you can't go through this. you can go through air blocks though.</p>
<p>if you want to know <em>everything</em> about the blocks, go to the <a href="maker/">editor</a> and hover over/tap the blocks.</p>
<h2>How to use the <em>very</em> complicated bottom bar thing</h2>
<p><i class="material-icons">mode_edit</i> edit the level in the <a href="maker/">editor</a>.</p>
<p><i class="material-icons">add_box</i> load a level via a friend's level code or randomly generate a level for your boredom.</p>
<p><i class="material-icons">list</i> play an example level if randomly generated levels are too glitchy or repetative for you and/or you have no friends that provide level codes.</p>
<p><i class="material-icons">playlist_add</i> submit a level for me to add to the example levels or a level-bit for the random level generator.</p>
<p><i class="material-icons">power_settings_new</i> place in a powerup block if a level has become too hard/impossible for you (this can happen if you die before you can productively use a powerup).</p>
<p><i class="material-icons">videogame_asset</i> use the joystick for touchscreens if you can't use the keyboard.</p>
<p><i class="material-icons">help</i> looks like you've discovered me!</p>
<p><i class="material-icons">more_horiz</i> links to other uninteresting places.</p>
<br>
<p>If you don't know how to close this help window, click that red dot in the top-right corner of the pop-up dialogue. :P</p>
</div>
</div>
<div id="joistik" class="notactive">
<joystick src="icons/joystick.svg" id="move"></joystick>
<joystick src="icons/brake.svg" id="brake"></joystick>
<joystick src="icons/materialicon_refresh.svg" id="restart"></joystick>
<joystick src="icons/pause.svg" id="plause"></joystick>
</div>
<div class="level" style="height: 0px;width: 0px;margin-top: 30px;">
</div>
<p id="message" style="display: none;"></p>
<div id="tools">
<a href="maker/" id="editer"><i class="material-icons">mode_edit</i></a><i class="material-icons dropdown">add_box<ul>
<li class="dropheader"><strong>Play...</strong></li>
<li id="loadopen">level from code</li>
<li onclick="createRandomLevel()">randomly generated level</li>
<li class="disabled"><a href="explore/">other people's levels</a></li>
</ul></i><i class="material-icons dropdown">view_list<ul id="EXAMPLES">
<li class="dropheader"><strong>Play...</strong></li>
</ul></i><i class="material-icons dropdown">file_download<ul>
<li class="dropheader"><strong>Get...</strong></li>
<li id="reset"><i class="material-icons">build</i> reset cookie</li>
<li id="done">get code for this level</li>
<li id="doneBit">get code for this level as a level-bit</li>
<li id="doneLink"><i class="material-icons">link</i> link to this level</li>
<li id="save">save this level to cookie</li>
</ul></i><i class="material-icons dropdown">playlist_add<ul>
<li class="dropheader"><strong>Submit...</strong></li>
<li><a href="submit.html">level</a></li>
<li><a href="maker/submit.html">level-bit</a></li>
<li class="disabled"><a href="explore/submit.html">level to public</a></li>
</ul></i><i class="material-icons dropdown">power_settings_new<ul id="powerup">
<li class="dropheader"><strong>Spawn in...</strong></li>
<li onclick="setBlock(0,-40,'a');render();pus++"><i class="material-icons">invert_colors</i> lava to solid</li>
<li onclick="setBlock(0,-40,'i');render();pus++"><i class="material-icons">local_drink</i> liquification</li>
<li onclick="setBlock(0,-40,'p');render();pus++"><i class="material-icons">cloud_upload</i> pillar</li>
<li onclick="setBlock(0,-40,';');render();pus++"><i class="material-icons">file_download</i> slammer</li>
<li onclick="setBlock(0,-40,'o');render();pus++"><i class="material-icons">accessibility</i> rage</li>
<li onclick="setBlock(0,-40,'m');render();pus++"><i class="material-icons">attach_money</i> midas' touch</li>
<li onclick="setBlock(0,-40,'t');render();pus++"><i class="material-icons">swap_horiz</i> transparent block</li>
<li onclick="setBlock(0,-40,'C');render();pus++"><i class="material-icons">beenhere</i> checkpoint</li>
<li onclick="setBlock(0,-40,'h');render();"><img src="icons/sheep.jpg"/> THE SHEEP</li>
</ul></i><i class="material-icons" id="joystick">videogame_asset</i><i class="material-icons" onclick="document.querySelector('.newtext').style.display='block';" id="helptext">help</i><i class="material-icons dropdown disabled">share<ul>
<li class="dropheader"><strong>Sharing and stuff</strong></li>
<li><a href="explore/submit.html">publish level</a></li>
<li><a href="explore/">view other levels</a></li>
<li class="notpublic">like this level</li>
<li class="notpublic">view level name</li>
<li class="notmine">edit level info</li>
<li id="user" class="dropheader">signed out</li>
</ul></i><i class="material-icons dropdown">more_horiz<ul>
<li class="dropheader"><strong>Other links</strong></li>
<li><a href="keypresses.html">keypress/collision test</a></li>
<li><a href="levelplaytest.html">original platformre</a></li>
<li><a href="/?penland">Penland 5</a></li>
<li><a href="https://gunnapp.github.io/platform/">gunnapp's fork</a></li>
<li><a href="creds.html">credits</a></li>
<li><a href="updates.html">changelog</a></li>
</ul></i>
</div>
<script src="../sheep.js"></script>
<script src="randomparts.js"></script>
<script src="maker/examples.js"></script>
<script src='random.js'></script>
<!-- MADE BY SEAN -->
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/sysdl132/platformre.git
git@gitee.com:sysdl132/platformre.git
sysdl132
platformre
platformre
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385