在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Shin-NiL/Godot-Mobile-Vibration开源软件地址:https://github.com/Shin-NiL/Godot-Mobile-Vibration开源编程语言:Java 42.6%开源软件介绍:Godot Mobile VibrationThis is a vibration module for Godot Game Engine 3 for Android & iOS (need testing). How to useAndroidTo use this module you'll need a custom template for Android. You can build it by yourself or download a precompiled one. Compiling the template (First Option)This is harder, but you'll have more control over the building process. You can, for example, include any other module you want. For that, do the following steps:
Using precompiled templates (Second Option)If you don't want or can't build the template by yourself, you can find a precompiled template with this module here. Go to the release tab and download the zip file. Project configuration
If you have more than one module separate them by comma. iOS
API Reference (Android & iOS)The following methods are available: # Make the device vibrates
# @param int duration the vibration duration in milliseconds (this parameter is ignored on iOS)
vibrate(duration) DemoIn the demo directory you'll find a working sample project for Godot 3. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论