1 Star 0 Fork 41

Keyon/baye-alpha

forked from BGWP/baye-alpha 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
designer.html 2.54 KB
一键复制 编辑 原始数据 按行查看 历史
Kevin 提交于 2018-01-20 12:35 . Update js version
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>三国霸业</title>
<link rel="icon" href="favicon.png">
<link rel="stylesheet" type="text/css" href="http://cdn.bootcss.com/flex-layout-attribute/1.0.3/css/flex-layout-attribute.css" />
<link rel="stylesheet" type="text/css" href="baye.css" />
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?55cdc246d0c836cecfdf39ce0d5657f3";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="js/jquery.min.js"></script>
<script src="js/encoding-indexes.js"></script>
<script src="js/encoding.js"></script>
<script src="js/sprintf.js"></script>
</head>
<body onkeydown="onKeyDown()">
<div layout="row center-center" >
<div class="container" style="width:780px">
<canvas class="fill" id="lcd" width="160" height="96">然而你的浏览器并不支持HTML5</canvas>
</div>
</div>
<p></p>
<div layout="row center-center" >
<div style="width:480px" >
<div>
<script>
if (window.FileReader === undefined) {
document.write('你的浏览器不支持载入Lib');
} else {
document.write('载入Lib: <input type="file" onchange="loadLib(this.files)">');
}
</script>
<input type="button" onclick="clearLib()" value="清除Lib">
</div>
<br>
<div id="lib-name"></div>
</div>
</div>
</body>
</html>
<script src="js/bridge.js?ver=201801201234"></script>
<script src="js/lcd.js?ver=11"></script>
<script>
Module['noInitialRun'] = true;
</script>
<script src="../baye-engine/baye.js?ver=201801201234"></script>
<script>
lcdInit();
$(function(){
_bayeGameEnvInit();
baye.drawMap = function(wid, hgt, matrix) {
baye.resizeScreen(wid*16, hgt*16);
for (var col = 0; col < wid; col++) {
for (var row = 0; row < hgt; row ++) {
var ind = matrix[row*wid + col];
baye.drawImage(col*16, row*16, 4, 0, ind);
}
}
}
});
</script>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/keyon/baye-alpha.git
[email protected]:keyon/baye-alpha.git
keyon
baye-alpha
baye-alpha
s2

搜索帮助

0d507c66 1850385 C8b1a773 1850385