By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

ImageToParticle
version 3.0.0
Approved
Direct Download How to install?
Switch version
50 Downloads / 226 Total
1 Review
Plugin Description §

how to use

  1. In resource_packages.yml, change force_resources to true.
  2. this plugin load
  3. image file put at plugin_data/ImageParticle/image/
  4. Enter a file name at plugin_data/ImageParticle/Images.yml
  5. server reboot

plugin_data example

API

registerImageParticle

use skymin\ImageParticle\particle\ImageParticleAPI;

/** @see skymin\ImageParticle\utils\ImageTypes for $imageType*/
ImageParticleAPI::getInstance()->registerImage(string $name, string $imageFile, int $imageType);

sendImageParticle

use skymin\ImageParticle\particle\ImageParticleAPI;
use skymin\ImageParticle\particle\EulerAngle;

ImageParticleAPI::getInstance()->sendParticle(string $name, EulerAngle $center, int $count, float $unit, bool $asyncEncode);
What's new §
  1. add roll support
  2. Can check the pitch yaw roll during the test
  3. Can set particle life, particle size, etc
  • fixed bug(#16)
  • Change test method (form->ItemEvent)
  • Remove unnecessary things (separately saved partial list, asynchronous image load)
  • refactor
  • add example #13
  • update 2.0

fixed #12

  • PSR-4 structure using src-namespace-prefix
  • yaw pitch equal to vailla entity yaw pitch
  • usleep(250) => usleep(1000)
  • If duplicate names are found, they are numbered to eliminate duplicates.
  • Change how the pixel median is determined
  • Relatively more detailed logs

** cleen code **

** support more image format **

support format:

  • png
  • jpeg
  • webp
  • tga
  • bmp
  • fixed #8

NTT1906
Outdated
using v1.3.1
31 Jul 22

Reply to review by :

/ 5
Supported API versions
4.11.0
->
4.12.2
Producers §
  • Collaborators:
    • @sky-min
License §
Categories:
Developer Tools
Fun
API plugins
Permissions
Asynchronous tasks

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...