User contributions for ForgottenCat
Appearance
18 March 2025
- 16:1316:13, 18 March 2025 diff hist +254 Touch controls/zh No edit summary current
- 16:1316:13, 18 March 2025 diff hist +254 Translations:Touch controls/23/zh No edit summary current
- 16:0616:06, 18 March 2025 diff hist +127 m Touch controls Update: default value of "label-type" and the "number" of "extra-menu". current Tag: Visual edit
23 February 2025
- 08:3208:32, 23 February 2025 diff hist +880 N User:ForgottenCat Add my user page. (idk if there's any guideline on this, if so dm me on discord) current Tag: Visual edit
20 February 2025
- 12:3312:33, 20 February 2025 diff hist −87 Touch controls/zh Created page with "* 默认键位:https://github.com/ddnet/ddnet/blob/69c92a79e6bab9f9390245f518c5340222c544dc/data/touch_controls.json * 添加触摸操控至引擎和界面的拉取请求:https://github.com/ddnet/ddnet/pull/8621 * 添加游戏内触摸操控的拉取请求:https://github.com/ddnet/ddnet/pull/8632 * 添加表情和旁观相关的拉取请求:https://github.com/ddnet/ddnet/pull/8801"
- 12:3312:33, 20 February 2025 diff hist +391 N Translations:Touch controls/64/zh Created page with "* 默认键位:https://github.com/ddnet/ddnet/blob/69c92a79e6bab9f9390245f518c5340222c544dc/data/touch_controls.json * 添加触摸操控至引擎和界面的拉取请求:https://github.com/ddnet/ddnet/pull/8621 * 添加游戏内触摸操控的拉取请求:https://github.com/ddnet/ddnet/pull/8632 * 添加表情和旁观相关的拉取请求:https://github.com/ddnet/ddnet/pull/8801" current
- 12:3112:31, 20 February 2025 diff hist −56 Touch controls/zh Created page with "<syntaxhighlight lang="json">{ "direct-touch-ingame": "action", "direct-touch-spectate": "aim", "background-color-inactive": "00000040", "background-color-active": "33333340", "touch-buttons": [ ... ] }</syntaxhighlight>"
- 12:3012:30, 20 February 2025 diff hist +249 N Translations:Touch controls/63/zh Created page with "<syntaxhighlight lang="json">{ "direct-touch-ingame": "action", "direct-touch-spectate": "aim", "background-color-inactive": "00000040", "background-color-active": "33333340", "touch-buttons": [ ... ] }</syntaxhighlight>" current
- 12:3012:30, 20 February 2025 diff hist −55 Touch controls/zh Created page with "颜色的格式是类似于<code>RRGGBBAA</code>,<code>RRGGBB</code>,<code>RGBA</code> 和 <code>RGB</code>的十六进制字符串,且没有像<code>#</code>一类的前缀,例如:<code>"A526C440"</code>。若没有alpha(透明度)的值,则默认为完全不透明。"
- 12:3012:30, 20 February 2025 diff hist +295 N Translations:Touch controls/62/zh Created page with "颜色的格式是类似于<code>RRGGBBAA</code>,<code>RRGGBB</code>,<code>RGBA</code> 和 <code>RGB</code>的十六进制字符串,且没有像<code>#</code>一类的前缀,例如:<code>"A526C440"</code>。若没有alpha(透明度)的值,则默认为完全不透明。" current
- 12:2712:27, 20 February 2025 diff hist −24 Touch controls/zh Created page with "=== 颜色格式 ==="
- 12:2612:26, 20 February 2025 diff hist +20 N Translations:Touch controls/61/zh Created page with "=== 颜色格式 ===" current
- 12:2612:26, 20 February 2025 diff hist −37 Touch controls/zh Created page with "* <code>"direct-touch-ingame"</code>:定义游戏内点击屏幕空白处时做出的动作。可用的值有: ** <code>"disabled"</code>:点击屏幕空白部分不会做出任何动作。这也意味着你需要使用虚拟摇杆。 ** <code>"action"</code>:点击屏幕空白部分会使用当前激活的动作(见上)。 ** <code>"aim"</code>:点击屏幕空白部分仅会改变瞄准角度。这意味着你需要..."
- 12:2612:26, 20 February 2025 diff hist +1,354 N Translations:Touch controls/60/zh Created page with "* <code>"direct-touch-ingame"</code>:定义游戏内点击屏幕空白处时做出的动作。可用的值有: ** <code>"disabled"</code>:点击屏幕空白部分不会做出任何动作。这也意味着你需要使用虚拟摇杆。 ** <code>"action"</code>:点击屏幕空白部分会使用当前激活的动作(见上)。 ** <code>"aim"</code>:点击屏幕空白部分仅会改变瞄准角度。这意味着你需要..." current
1 January 2025
- 09:3609:36, 1 January 2025 diff hist −6 Touch controls/zh No edit summary
- 09:3609:36, 1 January 2025 diff hist −6 Translations:Touch controls/1/zh No edit summary
- 09:2009:20, 1 January 2025 diff hist −283 Touch controls/zh Created page with "为其他的客户端组件例如表情轮盘和旁观菜单添加触摸控制支持时,使用<code>CUi::UpdateTouchState</code>函数。确保你的组件会在接收<code>KEY_ESCAPE</code>时自动关闭,即安卓上的返回键。注意在每一帧中,只有一个组件可以使用触摸状态,因此按住一个游戏按键时同时用另一个手指使用另一个组件例如表情轮盘是不可能的。相反,相应的预定义按钮触摸行为(例如<co..."
- 09:2009:20, 1 January 2025 diff hist +716 N Translations:Touch controls/57/zh Created page with "为其他的客户端组件例如表情轮盘和旁观菜单添加触摸控制支持时,使用<code>CUi::UpdateTouchState</code>函数。确保你的组件会在接收<code>KEY_ESCAPE</code>时自动关闭,即安卓上的返回键。注意在每一帧中,只有一个组件可以使用触摸状态,因此按住一个游戏按键时同时用另一个手指使用另一个组件例如表情轮盘是不可能的。相反,相应的预定义按钮触摸行为(例如<co..."
- 09:0709:07, 1 January 2025 diff hist −81 Touch controls/zh Created page with "全局键位格式设置的示例:"
- 09:0709:07, 1 January 2025 diff hist +36 N Translations:Touch controls/43/zh Created page with "全局键位格式设置的示例:" current
- 09:0609:06, 1 January 2025 diff hist −60 Touch controls/zh Created page with "* 默认的键位文件:https://github.com/ddnet/ddnet/blob/84b1c3c49c8d97a6911da34424d2023879ccdaf8/data/touch_controls.json * 向用户界面和引擎中添加触摸控制的拉取请求:https://github.com/ddnet/ddnet/pull/8621 * 添加游戏内触摸控制的拉取请求:https://github.com/ddnet/ddnet/pull/8632 * 添加表情选择器和旁观菜单的拉取请求:https://github.com/ddnet/ddnet/pull/8801"
- 09:0609:06, 1 January 2025 diff hist +418 N Translations:Touch controls/59/zh Created page with "* 默认的键位文件:https://github.com/ddnet/ddnet/blob/84b1c3c49c8d97a6911da34424d2023879ccdaf8/data/touch_controls.json * 向用户界面和引擎中添加触摸控制的拉取请求:https://github.com/ddnet/ddnet/pull/8621 * 添加游戏内触摸控制的拉取请求:https://github.com/ddnet/ddnet/pull/8632 * 添加表情选择器和旁观菜单的拉取请求:https://github.com/ddnet/ddnet/pull/8801"
- 09:0309:03, 1 January 2025 diff hist −30 Touch controls/zh Created page with "== 参考 =="
- 09:0309:03, 1 January 2025 diff hist +12 N Translations:Touch controls/58/zh Created page with "== 参考 =="
- 09:0209:02, 1 January 2025 diff hist −77 Touch controls/zh Created page with "在分叉客户端中加入你自己的按键行为时,建议在新形状,可见性,行为等前加上你的分叉的名称。例如:<code>myfork.octagon</code> 如果你添加一个八边形的按键,从而避免和未来的版本发生冲突。"
- 09:0209:02, 1 January 2025 diff hist +256 N Translations:Touch controls/56/zh Created page with "在分叉客户端中加入你自己的按键行为时,建议在新形状,可见性,行为等前加上你的分叉的名称。例如:<code>myfork.octagon</code> 如果你添加一个八边形的按键,从而避免和未来的版本发生冲突。"
- 08:5608:56, 1 January 2025 diff hist −76 Touch controls/zh Created page with "游戏内触摸控制在单独的客户端组件<code>CTouchControls</code>中实现,该组件位于<code>src/game/client/components/touch_controls.cpp</code><code>和<code>src/game/client/components/touch_concontrol.h</code>文件中。尽量直接使用绑定作为按钮的行为而不是预定义行为,从而降低复杂度。"
- 08:5608:56, 1 January 2025 diff hist +335 N Translations:Touch controls/55/zh Created page with "游戏内触摸控制在单独的客户端组件<code>CTouchControls</code>中实现,该组件位于<code>src/game/client/components/touch_controls.cpp</code><code>和<code>src/game/client/components/touch_concontrol.h</code>文件中。尽量直接使用绑定作为按钮的行为而不是预定义行为,从而降低复杂度。"
- 08:5208:52, 1 January 2025 diff hist −85 Touch controls/zh Created page with "以下为实现触摸控制的细节,为开发者准备。"
- 08:5208:52, 1 January 2025 diff hist +60 N Translations:Touch controls/54/zh Created page with "以下为实现触摸控制的细节,为开发者准备。"
- 08:5208:52, 1 January 2025 diff hist −24 Touch controls/zh Created page with "== 实现细则 =="
- 08:5208:52, 1 January 2025 diff hist +18 N Translations:Touch controls/53/zh Created page with "== 实现细则 =="
- 08:5008:50, 1 January 2025 diff hist −327 Touch controls/zh Created page with "* '''安卓的问题''':同时按下三根手指会导致所有手指被立即同时松开。 ** '''解决方法''':原因是你手机自带的全局多指手势动作(设置里面搜"三指")。具体地,关闭"三指下滑截屏","三指长按截屏","三指上滑进入菜单"功能。 * '''安卓的问题''':有时候点击屏幕顶端15%位置会无响应或响应不连续。 ** '''解决方法''':目前不清楚..."
- 08:4908:49, 1 January 2025 diff hist +564 N Translations:Touch controls/52/zh Created page with "* '''安卓的问题''':同时按下三根手指会导致所有手指被立即同时松开。 ** '''解决方法''':原因是你手机自带的全局多指手势动作(设置里面搜"三指")。具体地,关闭"三指下滑截屏","三指长按截屏","三指上滑进入菜单"功能。 * '''安卓的问题''':有时候点击屏幕顶端15%位置会无响应或响应不连续。 ** '''解决方法''':目前不清楚..." current
- 08:4308:43, 1 January 2025 diff hist −21 Touch controls/zh Created page with "== 已知的问题 =="
- 08:4308:43, 1 January 2025 diff hist +21 N Translations:Touch controls/51/zh Created page with "== 已知的问题 =="
- 08:4208:42, 1 January 2025 diff hist −56 Touch controls/zh Created page with "<syntaxhighlight lang="json">{ "x": 600000, "y": 200000, "w": 100000, "h": 100000, "shape": "rect", "visibilities": [ ], "behavior": { "type": "bind-toggle", "commands": [ { "label": "Echo 1", "label-type": "plain", "command": "echo 1" }, { "label": "Echo 2", "label-type": "plain", "command": "..."
- 08:4208:42, 1 January 2025 diff hist +671 N Translations:Touch controls/50/zh Created page with "<syntaxhighlight lang="json">{ "x": 600000, "y": 200000, "w": 100000, "h": 100000, "shape": "rect", "visibilities": [ ], "behavior": { "type": "bind-toggle", "commands": [ { "label": "Echo 1", "label-type": "plain", "command": "echo 1" }, { "label": "Echo 2", "label-type": "plain", "command": "..." current
- 08:4208:42, 1 January 2025 diff hist −65 Touch controls/zh Created page with "示例按钮,带有<code>"bind-toggle"</code>的行为,会在对话框循环返回三条不同的消息:"
- 08:4208:42, 1 January 2025 diff hist +120 N Translations:Touch controls/49/zh Created page with "示例按钮,带有<code>"bind-toggle"</code>的行为,会在对话框循环返回三条不同的消息:"
- 08:4108:41, 1 January 2025 diff hist −56 Touch controls/zh Created page with "<syntaxhighlight lang="json">{ "x": 755000, "y": 580000, "w": 225000, "h": 400000, "shape": "circle", "visibilities": [ "ingame" ], "behavior": { "type": "predefined", "id": "joystick-action" } }</syntaxhighlight>"
- 08:4108:41, 1 January 2025 diff hist +273 N Translations:Touch controls/48/zh Created page with "<syntaxhighlight lang="json">{ "x": 755000, "y": 580000, "w": 225000, "h": 400000, "shape": "circle", "visibilities": [ "ingame" ], "behavior": { "type": "predefined", "id": "joystick-action" } }</syntaxhighlight>" current
- 08:4108:41, 1 January 2025 diff hist 0 Touch controls/zh No edit summary
- 08:4108:41, 1 January 2025 diff hist 0 Translations:Touch controls/45/zh No edit summary
- 08:4108:41, 1 January 2025 diff hist −44 Touch controls/zh Created page with "示例按钮,带有<code>"predefined"</code>的行为,是一个会执行当前被激活的行为的虚拟摇杆:"
- 08:4108:41, 1 January 2025 diff hist +128 N Translations:Touch controls/47/zh Created page with "示例按钮,带有<code>"predefined"</code>的行为,是一个会执行当前被激活的行为的虚拟摇杆:"
- 08:4008:40, 1 January 2025 diff hist −56 Touch controls/zh Created page with "<syntaxhighlight lang="json">{ "x": 500000, "y": 500000, "w": 100000, "h": 100000, "shape": "rect", "visibilities": [ ], "behavior": { "type": "bind", "label": "Example", "label-type": "plain", "command": "echo Hello world!" } }</syntaxhighlight>"
- 08:4008:40, 1 January 2025 diff hist +314 N Translations:Touch controls/46/zh Created page with "<syntaxhighlight lang="json">{ "x": 500000, "y": 500000, "w": 100000, "h": 100000, "shape": "rect", "visibilities": [ ], "behavior": { "type": "bind", "label": "Example", "label-type": "plain", "command": "echo Hello world!" } }</syntaxhighlight>" current
- 08:4008:40, 1 January 2025 diff hist −46 Touch controls/zh Created page with "示例按钮,带有<code>"bind"</code>的行为,会在对话框返回一条消息。"
- 08:4008:40, 1 January 2025 diff hist +98 N Translations:Touch controls/45/zh Created page with "示例按钮,带有<code>"bind"</code>的行为,会在对话框返回一条消息。"