This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //キャッシュの名前 | |
| const CACHE_NAME = 'html5gameHandson-asset0820'; | |
| //キャッシュするアセット類を指定 | |
| var assetsToCache = [ | |
| '/', | |
| '/default.html', | |
| '/css/default.css', | |
| '/scripts/default.js', | |
| '/img/snow_man.png', | |
| '/img/snow.png', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| //全体で使用する変数 | |
| //矢印キーのコード | |
| let KEY_CODE = { | |
| left: 37, right: 39 | |
| }; | |
| //取得したキーの値 | |
| let key_value = 0; | |
| //タッチ開始時の位置 | |
| let touchStartPos = 0; |
NewerOlder