Ball Sub - draws several kind of filled, textured balls (circles)
#16
Thanks, @grymmjack.  Yes, the color can be specified with the r,g,b,a values, for Red/Green/Blue/Alpha.

Usage:  ball (kind, x, y, size, r, g, b, a) 

Example, A gradient ball (0), at x/y location of 200,200, size of 50, Full Red color with no alpha transparency (255,0,0,255).

ball 0, 200, 200, 50, 255, 0, 0, 255

- Dav

Find my programs here in Dav's QB64 Corner
Reply


Messages In This Thread
RE: Ball Sub - draws several kind of filled, textured balls (circles) - by Dav - 08-23-2023, 09:31 PM



Users browsing this thread: 4 Guest(s)