This is an image library from White Flute. I thought it was pretty nice and makes things simple.
Links
Download:
http://www.whiteflute.org/wfrgss/?mode=view&realmId=1&pageId=24 ("「 Bitmap-EX ビットマップスクリプト(XP/VX/VXAce)」をダウンロードする" )
Docs:
http://www.whiteflute.org/wfrgss/?mode=view&realmId=1&pageId=25
They have a dll to handle the image processing so it should be faster than trying to draw stuff in pure ruby.
Examples
reversing (that's the method name)
Whirlblur:
Usage
To set it up
1: copy the wfbitmap.dll into your game folder
2: replace your Main script with the one provided
3: copy the base and bitmap-ex scripts into your project
The library provides many useful functions for image-related things, such as drawing lines, polygons, and other things.
It also provides a png exporter, as well as support for GIF files (so you can actually have a GIF file playing on your screen). It works, but I'm not sure if it supports every possible GIF format out there. At least, it didn't load the ones I've tested properly (file was loaded, and was playing, but the pixels were off...)
For usage...most of it is just
Code:
Some of them are static methods though
Code:
Just look at the Bitmap class.
You can draw pac-man
And textured polygons
See the method signatures in the docs.
It supports Ace, VX, and XP.
本贴来自国际rpgmaker官方论坛作者:Tsukihime处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/bitmap-ex-image-library.4260/