Chaos Project

RPG Maker => RPG Maker Scripts => Topic started by: ThallionDarkshine on May 17, 2012, 10:41:23 pm

Title: RGSS Addon
Post by: ThallionDarkshine on May 17, 2012, 10:41:23 pm
Who here thinks that it would be a good idea to add on to the built in RGSS classes such as bitmap. Well, I'm starting doing it. So far I have added in several RGSS2 bitmap functions missing from RGSS.

Functions completed:

Bitmap:
draw_gradient(rectangle, color1, color2, gradient_type[, subtype])
     rectangle - rectangle in which to draw gradient
     color1, color2 - starting and ending colors
     gradient_type:
       0 - horizontal, 1 - vertical, 2 - diagonal, 3 - radial
     subtype - for diagonal:
       0 - top-left to bottom-right, 1 - top-right to bottom-left
    - this method is very laggy, especially with anything other than horizontal or vertical

draw_circle(rectangle, color[, border, border_size, border_color])
     rectange - rectangle in which to draw circle
     color - color of the circle
     border - whether to draw a border (default false)
     border_size - how large the border is (default 0)
     border_color - color of the border (default black)
    - this method doesn't lag as much as the gradient, but it still lags

blur
    - this method only lags a bit compared to the other functions

sharpen
    - this method lags a little more than blur

draw_line(x1, y1, x2, y2, color[, width])
     x1, y1, x2, y2 - starting and ending coordinates of line
     color - color in which to draw the line
     width - thickness of the line
Title: Re: RGSS Addon
Post by: ForeverZer0 on May 18, 2012, 12:26:25 am
They did this with the SDK, and it isn't very popular. Personally I prefer to just make what I need for a specific purpose rather that have a bunch of methods that I am not using just so I can have one or two. Most people that would ever actually use these are going to be scripters that know how to do it themselves, so usually they are not very useful.
Title: Re: RGSS Addon
Post by: ThallionDarkshine on May 18, 2012, 07:06:33 am
Oh, I didn't know that was what the SDK was. Regardless of whether people will use it, I'll probably keep making it.
Title: Re: RGSS Addon
Post by: G_G on May 18, 2012, 07:12:40 am
The SDK was a complete rewrite of all of the scripts. If you're just making new Bitmap methods and whatnot that can help developers, it shouldn't be too bad. But that's still another script dependency for people who do release scripts using your list of methods, which the SDK was a nuisance just for being a dependency.
Title: Re: RGSS Addon
Post by: ThallionDarkshine on May 18, 2012, 10:32:05 am
Yeah, I'll just add on more functionalities.
Title: Re: RGSS Addon
Post by: ThallionDarkshine on August 12, 2012, 12:34:45 am
Just a quick update on the status of this project. I'm almost ready to release the first version of my RGSS Addon. I have converted all the code to a dll, and have made corresponding ruby functions.