RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
RGSS Addon

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 66
RMRK Junior
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
« Last Edit: May 20, 2012, 04:18:46 AM by ThallionDarkshine »