Wednesday, February 9, 2022

πŸͺ² Fix to issue: CIRCLE color fill

 The latest version of BASIC Anywhere Machine fixes an issue that exists in wwwBASIC.

CIRCLE (column%, row%), radius%, drawColor%, startRadian!, stopRadian!, aspect!,aspect!,F

The "F" parameter in the CIRCLE statement triggers color fill for a circle.

For example:

screen 21

circle(1,1),325, &hffff00, , , ,F

In wwwBASIC, color-filling a circle with radius greater than 113 (screen modes 11,12,14-21) causes the entire screen to get painted.  The color spills out of the circle via a very small gap between the pixels in the circle's border.

The CIRCLE statement in BASIC Anywhere Machine is fixed such that circles with radius greater than 113 will be filled with color without the color spilling out into the rest of the screen. 

No comments:

Post a Comment

πŸ–₯ Pongy game

This program is a port (and slight mod) of the QB64pe program by SierraKen.  (SierraKen's program shared with the QB64pe community in th...