じ☆ve冰风 发表于 2026-7-26 11:09:48

Quasi Sprite

Quasi Sprite


        by Quasi


No longer being supported by Quasi


About


        This plugin lets you set up spritesheets how you want to use them. This means that you can have as many frames, poses, different amount of frames per pose, ect. For On map character sprites and in battle Side View sprites.


Links


Plugin Download


Sprite Animator App


* Note1: You need the Sprite Animator App to create the SpriteAnim.json file! ( If you know some json you can edit the values manually for quicker changes )


Setting up a Quasi Sprite with Sprite Animator App
        First you need to download Sprite Animator App. Details on using the App are in that post.


Built-In Poses for Character Sprites


[*]moveX

        The pose to play while moving.
        Replace X with the direction number.


[*]2 – Down
[*]4 – Left
[*]6 – Right
[*]8 – Up
[*]1 – Lower Left
[*]3 – Lower Right
[*]7 – Upper Left
[*]9 – Upper Right

* Diagonals only work if you are using this with Quasi Movement!


[*]idleX

        The pose to play while not moving.
        Replace X with the direction number.


[*]2 – Down
[*]4 – Left
[*]6 – Right
[*]8 – Up
[*]1 – Lower Left
[*]3 – Lower Right
[*]7 – Upper Left
[*]9 – Upper Right

* Diagonals only work if you are using this with Quasi Movement!


[*]dashX

        The pose to play while dashing.
        Replace X with the direction number.


[*]2 – Down
[*]4 – Left
[*]6 – Right
[*]8 – Up
[*]1 – Lower Left
[*]3 – Lower Right
[*]7 – Upper Left
[*]9 – Upper Right

* Diagonals only work if you are using this with Quasi Movement!


Built-In Poses ( Motions ) for Side View Sprites


[*]idle1
[*]idle2
[*]idle3
[*]walk
[*]chant
[*]guard
[*]damage
[*]evade
[*]attack
[*]thrust
[*]swing
[*]missile
[*]skill
[*]spell
[*]item
[*]escape
[*]victory
[*]dying
[*]abnormal
[*]sleep
[*]dead
[*] 

Identifying an Image as a Quasi Sprite
        To identify an image as a Quasi Sprite by naming the file with the following format:


#configName-fileName


        configName – the Name we set for the config.
* The # and – are important!



Playing Character Sprite Poses
        Plugin Command


quasi playPose CHARAID POSE HALT?


        CHARAID: Set to the Event’s ID or 0 for Player
        POSE: The pose to play ( Don’t add the direction! ex: atk, not atk2 )
        HALT?(Optional): Don’t let character move until pose is complete. Set to true or false, Default: false



        Script Call


        For Player:


$gamePlayer.playPose(POSE, HALT?);


        For Event:


$gameMap.event(CHARAID).playPose(POSE, HALT?);


        CHARAID: Set to the Event’s ID or 0 for Player
        POSE: The pose to play ( Don’t add the direction! ex: atk, not atk2 )
        HALT?(Optional): Don’t let character move until pose is complete. Set to true or false, Default: false



Examples


        Example of a Quasi Sprite with all 8 directions and 4 idle poses:



http://i.imgur.com/dqtAgh6.png



        Playing Side View Sprite Motions


        To use a certain motion for a skill, use the following notetag


<motion:NAME>


        NAME: Set to the name of the pose ( motion )
        If using Yanfly Action Sequences you can use a custom motion with the following action:
        qmotion NAME: target
        NAME: Set to the name of the pose ( motion )
        target: Set to the targets that will use this pose, read yanflys doc’s for more information on target values.


本贴来自国际rpgmaker官方论坛作者:Quxios处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/quasi-sprite.57648/
页: [1]
查看完整版本: Quasi Sprite