じ☆ve冰风 发表于 2026-7-29 16:07:03

LGP - Face Sprite

LGP_FaceSprite v3.3
Azel

Introduction
RPG Maker MV allows you to set a face image in the message box. In the Pokemon Mystery Dungeon series the face is a separate Sprite in a Window. This Plugin does that now.

Features
Having face sprites.​
Set face sprite positions.​
Face sprite uses Window borders.​
Face sprite takes the face from the message picture.​
Change Face Sprite position via Scriptcalls.​

Screenshot
https://forums.rpgmakerweb.com/data/attachments/72/72736-1c9aa7503a4a8ee085b8b0b00af0a77c.jpg


How to Use
This plugin is standalone. You can put this anywhere in your plugin list. It will take the image inside the message window you selected and displays it as a separate window all automatically.

Plugin Commands:
Spoiler: FaceSpritePostion / FSPos / FSPosition Sets the face sprite position. Replace the'position' with a number on your
numpad. The position of the number on the numpad equals the position of the
face sprite on the screen. Default is always Bottom Left.




Script
GitHub

Compatibility
Currently works with everything Yanfly offers with his message plugins. This Plugin mainly overwrites the drawFace function inside the message window. So it isn't displayed anymore.

Conditions
This Plugin if free for all. Use it as you see it fit.

Change Log
Spoiler: v1.0- Fresh out from the oven.
- Faceimage apears ontop of the window.Spoiler: v2.0- Code reviewed. The Face image apears now behind the Window Frame and
   infront of the Window Background
- Added Param: Set the Message Window Margin.Spoiler: v3.0- Code reviewed. Mostly all new stuff. Plugin Command FaceSpritePosition
   stays at it is.
- Everything esle works pretty much automatic.Spoiler: v3.1- Updated Documentary.Spoiler: v3.2- Fixed a bug where a posistion command didn't function properly when the command was put before a message.Spoiler: v3.3- Acutally fixed the bug of 3.2
- Added "Position List" Parameter in the Plugin section.
- Reworked FSPos functions. They work diffrently but the use of it
hasn't changed.
- Calling an event now sets the FSPos to the default value before the interpreter takes action.
This solves a problem I had, when I reset the FSPos to the default at the end of the
MessageWindow logic.
- Added scriptcall $gameSystem.setFSPosition(index); to manually set the positon based on index.
- Added scriptcall $gameSystem.setFSPosition(x, y); to amnually set the position based on coords.
Credit and Thanks
LGP Azel

Notes
If there are any compatibility issues, critics or improvement wishes please let me know.


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