Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  BallDraw - simple drawing programing using colored balls Dav 2 387 11-11-2025, 08:57 PM
Last Post: Dav
  Sound Ball SierraKen 0 443 12-17-2024, 11:34 PM
Last Post: SierraKen
  Ball Screensaver SMcNeill 5 1,263 09-20-2024, 07:15 PM
Last Post: Pete
  A bigger bouncing ball demo - collision with vector reflection Dav 14 3,195 09-19-2024, 06:54 PM
Last Post: sbblank
  Another small filled circe sub (not as fast as fcirc) Dav 115 23,203 09-06-2024, 03:23 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)