您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Advanced drawing animation library for multiplayer drawing games
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/546216/1643828/Drawaria%20Animation%20Library.js
English: This script provides a core library of drawing animation functions for Drawaria. It includes various effects like "Pixel Art Characters," "Color Festival," and "Fireworks," which can be executed via console commands. The library offers utility functions for drawing pixels, sending draw commands through the game's WebSocket, managing drawing state, and generating random colors. It's designed as a foundational module for creating more complex animation scripts or bots within Drawaria.
Español: Este script proporciona una biblioteca central de funciones de animación de dibujo para Drawaria. Incluye varios efectos como "Pixel Art Characters", "Color Festival" y "Fireworks", que se pueden ejecutar a través de comandos de consola. La biblioteca ofrece funciones de utilidad para dibujar píxeles, enviar comandos de dibujo a través de WebSocket del juego, gestionar el estado del dibujo y generar colores aleatorios. Está diseñado como un módulo fundamental para crear scripts de animación o bots más complejos dentro de Drawaria.
Español:
🇺🇸 English Instructions | 🇪🇸 Instrucciones en Español |
|
|
Feature / Característica | Details / Detalles |
Modular Design | Core functions organized in an object (`DRAWING_FUNCTIONS`) for easy management and extension. |
WebSocket Integration | Relies on `window.getGameSocket()` to send drawing commands via WebSocket. |
Async Operations | Uses `async/await` and `Promises` for managing delays between drawing steps. |
Error Handling | Includes checks for socket availability and state, and basic try-catch blocks. |
Español:
✅ Compatible Browsers / Navegadores Compatibles | ✅ Required Extensions / Extensiones Requeridas |
Chrome, Firefox, Edge, Opera (Browsers supporting userscripts, WebSocket, and Promises) | Tampermonkey or similar userscript manager (Required for script execution) A Drawaria drawing bot script (required for actual drawing) |
Open your userscript manager (e.g., Tampermonkey), find "Drawaria Animation Library", and disable or delete it.
Método 1 - Gestor de Scripts: Abre tu gestor de userscripts (ej. Tampermonkey), busca "Drawaria Animation Library" y desactívalo o elimínalo.
If an animation is running, call `DRAWING_FUNCTIONS.stopDrawing()` in the console to halt it.
Método 2 - Detener Animaciones: Si una animación está en curso, llama a `DRAWING_FUNCTIONS.stopDrawing()` en la consola para detenerla.
Español:
Bring stunning animations to Drawaria with this powerful drawing library!
¡Da vida a tus dibujos en Drawaria con esta potente biblioteca de animaciones!
Author: DrawArtist | Version: 1.0 | License: MIT
Support: Report issues in the comments below | Additional Info: Provides core functions for creating various drawing animations in Drawaria.