Godot 虚拟操作杆插件 virtual joystick plugin

A simple virtual joystick for touchscreens, with useful options.

GitHub Page: https://github.com/MarcoFazioRandom/Virtual-Joystick-Godot

Godot Engine: https://godotengine.org

一个用于触摸屏的简单虚拟操纵杆,具有有用的选项。
GitHub页面:https://github.com/MarcoFazioRandom/Virtual-Joystick-Godot
Godot引擎:https://godotengine.org

Joystick mode:

Fixed: The joystick doesn’t move.
Dynamic: Every time the joystick area is pressed, the joystick position is set on the touched position.
Following: When the finger moves outside the joystick area, the joystick will follow it.
Dead zone size: If the tip is inside this range the output is zero.

Clamp zone size: The max distance the tip can reach.

Visibility mode:

always: Always visible.
touchscreen only: Visible on touch screens only (will hide if the device has not a touchscreen).
when_touched: Visible only when touched.
Use input actions: if true the joystick will trigger the input actions created in Project -> Project Settings -> Input Map

操纵手柄模式:
已修复:操纵杆无法移动。
动态:每次按下操纵手柄区域时,操纵手柄位置都设置在触摸的位置。
跟随:当手指移动到操纵手柄区域之外时,操纵手柄将跟随它。
死区大小:如果尖端在此范围内,则输出为零。
夹紧区尺寸:尖端可以达到的最大距离。
可见性模式:
始终:始终可见。
仅限触摸屏:仅在触摸屏上可见(如果设备没有触摸屏,则会隐藏)。
when_touched:仅在触摸时可见。
使用输入动作:如果为true,操纵杆将触发在项目->项目设置->输入地图中创建的输入动作

0

评论0

请先
显示验证码