- 更新
2023-10-04
- 作者
@voluntas
- バージョン
2023.2
- URL
This file contains 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
class ScaleManager { | |
constructor(canvas, isMobile) { | |
this.canvas = canvas; | |
this.mobile = isMobile; | |
window.addEventListener('resize', () => { | |
this.resize(this.canvas); | |
if (this.mobile) { | |
if (window.innerWidth < window.innerHeight) { |
This file contains 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
// 製作者 @Nafmo2 | |
// Siv3Dを使用。 | |
// 5日クオリティーのため雑に仕上げたところ多数。 | |
// 無告知で編集・削除されることがあります。ご了承ください | |
// 無断利用はご遠慮ください。 | |
#include "Main.h" | |
#define NAD 300 | |
#define BMAX 1000 | |
int mode = 1; |
This file contains 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
/* node UPNP port forwarding PoC | |
This is a simple way to forward ports on NAT routers with UPNP. | |
This is a not-for-production hack that I found useful when testing apps | |
on my home network behind ny NAT router. | |
-satori | |
usage: |