{"action":"created","issue":{"url":"https://api.github.com/repos/krkrz/krkrz/issues/196","repository_url":"https://api.github.com/repos/krkrz/krkrz","labels_url":"https://api.github.com/repos/krkrz/krkrz/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/krkrz/krkrz/issues/196/comments","events_url":"https://api.github.com/repos/krkrz/krkrz/issues/196/events","html_url":"https://github.com/krkrz/krkrz/issues/196","id":138429269,"number":196,"title":"タッチ環境でもタッチを無効にするコマンドラインオプションの追加","user":{"login":"miahmie","id":5918863,"avatar_url":"https://avatars.githubusercontent.com/u/5918863?v=3","gravatar_id":"","url":"https://api.github.com/users/miahmie","html_url":"https://github.com/miahmie","followers_url":"https://api.github.com/users/miahmie/followers","following_url":"https://api.github.com/users/miahmie/following{/other_user}","gists_url":"https://api.github.com/users/miahmie/gists{/gist_id}","starred_url":"https://api.github.com/users/miahmie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miahmie/subscriptions","organizations_url":"https://api.github.com/users/miahmie/orgs","repos_url":"https://api.github.com/users/miahmie/repos","events_url":"https://api.github.com/users/miahmie/events{/privacy}","received_events_url":"https://api.github.com/users/miahmie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/krkrz/krkrz/labels/%E6%A9%9F%E8%83%BD%E8%BF%BD%E5%8A%A0%E3%83%BB%E6%94%B9%E5%96%84%E8%A6%81%E6%9C%9B","name":"機能追加・改善要望","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T09:41:39Z","updated_at":"2016-03-06T09:39:04Z","closed_at":null,"body":"Window.enableTouchはタッチデバイスがある場合においてデフォルトでtrueになる仕様ですが，\r\n吉里吉里2からの移行でonMouse* イベントしか考慮されていないスクリプトにおいて，\r\nこの仕様が予期しないバグ（タッチのみの環境で全く操作できない）を発生させる場合があります。\r\n非タッチ環境でしかデバッグできないユーザーも多いので，\r\nこの問題に全く気付かずゲームがリリースされてしまう可能性があります。\r\n> 吉里吉里Zのreadme.txtには一応この件に関する説明が記入されていますが，無効化しない場合の\r\n> 注意喚起（タッチでまったく操作できなくなる等）の文章を念のため追加した方が良いかもしれません。\r\n\r\nそこで，ユーザー側でも何かしらこの問題に対処できるよう，-touchdevice のような\r\nタッチデバイスの有効・無効を設定するオプションを追加することを希望いたします。\r\n\r\n- 従来仕様（タッチデバイスがあればenableTouchの初期値がtrue）\r\n\r\n- enableTouchの初期値を（タッチデバイスがあっても）常にfalseにする\r\n\r\n- 完全にタッチ無効にする（TJSスクリプトでenableTouch=trueにしてもtrueにならない）\r\n （proc{Register,Unregister}TouchWindowをNULLにしてしまうような挙動）\r\n\r\nくらいのパターンを指定できれば十分でしょうか？\r\nご検討ください。"},"comment":{"url":"https://api.github.com/repos/krkrz/krkrz/issues/comments/192851390","html_url":"https://github.com/krkrz/krkrz/issues/196#issuecomment-192851390","issue_url":"https://api.github.com/repos/krkrz/krkrz/issues/196","id":192851390,"user":{"login":"jin1016","id":4300164,"avatar_url":"https://avatars.githubusercontent.com/u/4300164?v=3","gravatar_id":"","url":"https://api.github.com/users/jin1016","html_url":"https://github.com/jin1016","followers_url":"https://api.github.com/users/jin1016/followers","following_url":"https://api.github.com/users/jin1016/following{/other_user}","gists_url":"https://api.github.com/users/jin1016/gists{/gist_id}","starred_url":"https://api.github.com/users/jin1016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jin1016/subscriptions","organizations_url":"https://api.github.com/users/jin1016/orgs","repos_url":"https://api.github.com/users/jin1016/repos","events_url":"https://api.github.com/users/jin1016/events{/privacy}","received_events_url":"https://api.github.com/users/jin1016/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T09:39:04Z","updated_at":"2016-03-06T09:39:04Z","body":"「システム互換性関連のオプション」の一種として追加するのが妥当でしょうか。\r\n吉里吉里2互換のタッチ系完全無視と今の吉里吉里Zのどちらかを指定可能なもの。\r\n真ん中の「enableTouchの初期値を（タッチデバイスがあっても）常にfalseにする」は、どういう状況を想定されているのかわからないのですが、必要でしょうか？"}}