LoginLogin
Might make SBS readonly: thread

GGRADIENT

Root / Submissions / [.]

AveryCreated:
Download:XRVXENQE
Version:Size:
A DEF block that will draw a gradient of specified size and colors.

Instructions:

Copy the DEF blocks for GGRADIENT and MAPRANGE() into any program to use GGRADIENT as a normal command. GGRADIENT relies on MAPRANGE() to work. Syntax: GGRADIENT M,SX,SY,EX,EY,C1,C2 M: Gradient draw mode. |b00| 0=Horizontal fade, 1=Vertical fade SX, SY Start coordinates on the current GRP screen EX, EY End coordinates on the current GRP screen C1, C2 Colors to fade between in 32-bit ARGB

This is useful! You should just create a single graphics library though so you don't have to waste all your slots.

If this keeps up, a more advance paint tool for SB can be made. Maybe something like make circles, advance gradient like angle and radial, polygons, and even improve on that Bezier tool to change the anchor. I wouldn't go to far, like make it more like GIMP for SB. Still, it will be better than what we have included.

Replying to:SamKitsune
If this keeps up, a more advance paint tool for SB can be made. Maybe something like make circles, advance gradient like angle and radial, polygons, and even improve on that Bezier tool to change the anchor. I wouldn't go to far, like make it more like GIMP for SB. Still, it will be better than what we have included.
I thought about making an program like that since Petit Computer. Now, the DEF command makes implementing these tools seem so much easier and more elegant than before. Maybe I should start a forum meant for discussing the design of the program's design. It might just be what I need do motivate myself to get started.