Vertikali

Vertikali 

Разработкой игр и медиа

1subscriber

3posts

Mouse gesture handler on Ren'Py | Обработчик жестов мыши на Ren'Py

The program determines the direction and trajectory of the computer mouse cursor and, if the trajectory matches the prepared templates, outputs a gesture code. Mouse gestures can be of any complexity and anywhere on the computer screen.
The code in the script.rpy and mouse_gesture_handler.rpy files was created by me. I also drew the images for the assembly.
You can use and modify what I have created at your discretion. Is free.
The code doesn't work well. While I was preparing the build for publication, I figured out how to improve it, but it is not clear whether the developers of Ren'Py need such a utility, and whether it is worth spending time on reworking. If you have any questions for me, write to me.
----
Программа определяет направление и траекторию курсора компьютерной мыши и при совпадении траектории с заготовленными шаблонами выдаёт код жеста. Жесты мыши могут быть любой сложности и в любом месте экрана компьютера.
Код в файлах script.rpy и mouse_gesture_handler.rpy созданы мной. Также, изображения для сборки нарисовал я.
Мною созданное Вы можете использовать и модифицировать по своему усмотрению. Бесплатно.

Код работает плохо. Пока готовил сборку к публикации придумал как улучшить, но нужна ли такая утилита разработчикам на Ren'Py, и стоит ли тратить время на переделку, не понятно. Если у Вас есть ко мне вопросы - пишите.
zip
mouse_gesture_handler_renpy-1.0-win.zip38.28 Mb
zip
mouse_gesture_handler_renpy-1.0-mac.zip46.97 Mb
bz2
mouse_gesture_handler_renpy-1.0-linux.tar.bz230.69 Mb
Go up