Original Source
- Original title: automatic border around faces
- Original author: vociferocity
- Original date: March 14, 2014
- Source thread: https://forums.rpgmakerweb.com/threads/automatic-border-around-faces.24972/
- Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS3 Scripts (RMVX Ace) > RGSS3 Script Requests
Summary
Hi guys So I'd like a simple border around the character's faces that are displayed in battle/in messages, but also I don't want to spend a billion hours in photoshop. I found this script that adds borders to icons, and tried changing it, but had zero luck. Does anyone think they could whip up a script that just automatically adds a border around the faces? I'm using Yanfly's battle engine, which already overwrites the 'draw face' method: def draw_face(face_name, face_index, dx, dy, enabled = true) bitmap = Cache.face(face_name) fx =...
Archived First Post
So I'd like a simple border around the character's faces that are displayed in battle/in messages, but also I don't want to spend a billion hours in photoshop. I found this script that adds borders to icons, and tried changing it, but had zero luck. Does anyone think they could whip up a script that just automatically adds a border around the faces?
I'm using Yanfly's battle engine, which already overwrites the 'draw face' method:
def draw_face(face_name, face_index, dx, dy, enabled = true) bitmap = Cache.face(face_name) fx = [(96 - item_rect(0).width + 1) / 2, 0].max fy = face_index / 4 * 96 + 2 fw = [item_rect(0).width - 4, 92].min rect = Rect.new(fx, fy, fw, 92) rect = Rect.new(face_index % 4 * 96 + fx, fy, fw, 92) contents.blt(dx, dy, bitmap, rect, enabled ? 255 : translucent_alpha) bitmap.dispose endIf anyone could give me a hand with this, I'd super appreciate it
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...