Сообщение от vadim5june
|
в той ссылке на игру что Вы дали куча канвасов(6 или 8)
посмотрите html код
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="js/jquery.js" type="text/javascript">
<script src="js/crafty.js" type="text/javascript">
<script src="js/objects/flower.js" type="text/javascript">
<script src="js/objects/bush.js" type="text/javascript">
<script src="js/objects/grass.js" type="text/javascript">
<script src="js/objects/unit.js" type="text/javascript">
<script src="js/objects/player.js" type="text/javascript">
<script src="js/objects/fourway_ai.js" type="text/javascript">
<script src="js/objects/monster.js" type="text/javascript">
<script src="js/scenes/loading.js" type="text/javascript">
<script src="js/scenes/main.js" type="text/javascript">
<script src="js/scenes/win.js" type="text/javascript">
<script src="js/scenes/lose.js" type="text/javascript">
<script src="js/game.js" type="text/javascript">
<link charset="utf-8" media="screen" type="text/css" href="css/game.css" rel="stylesheet">
<title>Simpe RPG</title>
</head>
<body>
<i style="background:url(//www.tns-counter.ru/V13a****yandex_ru/ru/CP1251/tmsec=narod_total/0)"></i>
<script type="text/javascript" src="//mc.yandex.ru/metrika/watch.js">
<div style="display:none;">
<script type="text/javascript">
</div>
<noscript><div><img src="//mc.yandex.ru/watch/9281845%%ut%%" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<div id="cr-stage" style="width: 400px; height: 320px; overflow: hidden; position: relative; background: none repeat scroll 0% 0% rgb(0, 0, 0);">
<div style="position: absolute; z-index: 1;"></div>
<canvas width="400" height="320" style="position: absolute; left: 0px; top: 0px;"></canvas>
</div>
</body>
</html>
Всего 1