updated 注释及分享按键调整
This commit is contained in:
parent
3a234f4f1b
commit
4ba10c5650
9
game.js
9
game.js
@ -1,4 +1,13 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
/*!
|
||||||
|
* Pacman - HTML5 Game
|
||||||
|
* https://passer-by.com/pacman/
|
||||||
|
*
|
||||||
|
* Copyright (c) 2016-present, HaoLe Zheng
|
||||||
|
* Released under the MIT License.
|
||||||
|
* https://github.com/mumuy/pacman/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 小型游戏引擎
|
* 小型游戏引擎
|
||||||
*/
|
*/
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<p>如果你对此感兴趣,可以在Github上关注此项目。我希望能通过游戏和代码与你分享一些我对游戏开发的感悟。</p>
|
<p>如果你对此感兴趣,可以在Github上关注此项目。我希望能通过游戏和代码与你分享一些我对游戏开发的感悟。</p>
|
||||||
<div class="mod-botton">
|
<div class="mod-botton">
|
||||||
<a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a>
|
<a class="github-button" href="https://github.com/mumuy" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Follow @mumuy on GitHub">Follow @mumuy</a>
|
||||||
<a class="github-button" href="https://github.com/mumuy/pacman" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/relationship on GitHub">Star</a>
|
<a class="github-button" href="https://github.com/mumuy/pacman" data-color-scheme="no-preference: light; light: light; dark: dark;" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star mumuy/pacman on GitHub">Star</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="game.js"></script>
|
<script src="game.js"></script>
|
||||||
|
11
index.js
11
index.js
@ -1,3 +1,12 @@
|
|||||||
|
/*!
|
||||||
|
* Pacman - HTML5 Game
|
||||||
|
* https://passer-by.com/pacman/
|
||||||
|
*
|
||||||
|
* Copyright (c) 2016-present, HaoLe Zheng
|
||||||
|
* Released under the MIT License.
|
||||||
|
* https://github.com/mumuy/pacman/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
|
||||||
//主程序,业务逻辑
|
//主程序,业务逻辑
|
||||||
(function(){
|
(function(){
|
||||||
var _COIGIG = [ //关卡
|
var _COIGIG = [ //关卡
|
||||||
@ -1039,4 +1048,4 @@
|
|||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
game.init();
|
game.init();
|
||||||
})();
|
})();
|
Loading…
x
Reference in New Issue
Block a user