https://github.com/easierbycode/2019-es7/actions/runs/25585394468/artifacts/6890897464
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
| { | |
| "frames": [ | |
| { "filename": "twitterBtn0.gif", "frame": { "x": 0, "y": 832, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } }, | |
| { "filename": "twitterBtn1.gif", "frame": { "x": 0, "y": 866, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } }, | |
| { "filename": "twitterBtn2.gif", "frame": { "x": 0, "y": 900, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } }, | |
| { "filename": "gotoTitleBtn0.gif", "frame": { "x": 114, "y": 832, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } }, | |
| { "filename": "gotoTitleBtn1.gif", "frame": { "x": 114, "y": 866, "w": 114, "h": 34 }, "rotated": |
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 fitCanvas() { | |
| var c = document.querySelector("#canvas canvas"); | |
| if (!c) return; | |
| var vw = window.innerWidth; | |
| var vh = window.innerHeight; | |
| var scale = Math.min(vw / 256, vh / 480); | |
| c.style.width = Math.floor(256 * scale) + "px"; | |
| c.style.height = Math.floor(480 * scale) + "px"; | |
| } |
https://github.com/easierbycode/phaser4-sandbox/actions/runs/19726450588/artifacts/4694049495
https://github.com/easierbycode/spriteXtractor/actions/runs/17479398611/artifacts/3932587373
https://github.com/easierbycode/evil-invaders-phaser4/actions/runs/17341402938/artifacts/3888797287
https://github.com/easierbycode/brooke/actions/runs/21662650919/artifacts/5370281659
NewerOlder