○ おまえら土日までに一本ゲーム作るスレ16 ○ (421レス)
○ おまえら土日までに一本ゲーム作るスレ16 ○ http://mevius.5ch.net/test/read.cgi/gamedev/1695630148/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
164: 名前は開発中のものです。 [sage] 2024/04/11(木) 22:14:24.40 ID:96dkwlL8 板タブはずしてもマウスゲームパッドともに操作できないですね 詳しくないけどF12押したらConsoleにこれでてくるけど関係ないかな(旧版でてこない) Uncaught TypeError: Cannot read properties of undefined (reading 'pressed') at inputGamepad.update (BLOCKDROPdnc.html:7:8549) at inputGamepad.check (BLOCKDROPdnc.html:7:8368) at GameTask_Test.step (BLOCKDROPdnc.html:10:2475) at GameTaskControl.step (BLOCKDROPdnc.html:7:7727) at x (BLOCKDROPdnc.html:7:6587) http://mevius.5ch.net/test/read.cgi/gamedev/1695630148/164
165: 名前は開発中のものです。 [sage] 2024/04/11(木) 23:23:35.13 ID:vAD4/dTI >>164 自分のエラーと同じ内容Uncaught TypeError: Cannot read properties of undefined (reading 'pressed')なので状況は同じかも ボタンが10までしかないのに10以上のオブジェクトを読み込もうとしている状況 以下エラーを起こしてる所 this.upkey = t[_[12]].pressed, this.downkey = t[_[13]].pressed, this.leftkey = t[_[14]].pressed, this.rightkey = t[_[15]].pressed, this.btn_l3 = t[_[10]].pressed, this.btn_r3 = t[_[11]].pressed, buttons.lengthで最大値を取ってその範囲内で処理するのが良いかも http://mevius.5ch.net/test/read.cgi/gamedev/1695630148/165
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.025s