Programming in BASIC on the Color Computer chapter 15 - Who's line is it anyway?
ogStevieStrow
Chapter 15 introduces us to the LINE and COLOR commands. The Line command allows you to draw a line between two points on the screen, you must specify the starting X,Y coordinate and the ending X,Y,coordinate.
You can specify the foreground and background colors using the COLOR command. You can chose any of the 8 available colors for both foreground and background (bear in mind, only 4 of each are available in each screen mode), and the line will be drawn in the specified foreground color.
When drawing the line, you can chose to PSET the line, which forces the foreground color, or PRESET the line, which draws it in the background color, effectively "erasing" the line.
You can further modify the line command by using ,B to make a BOX out of the LINE, and BF, to make a filled in box.
The last exercise in the chapter challenges us to draw a house using the line commands, I did an OK job at it.
If you'd like to make a donation use this link: https://youtube.streamlabs.com/ogsteviestrow If you tip during a live stream, your name will appear on screen, thanks!
Thanks for watching, don't forget to like, comment, and subscribe!
Merchandise: http://ogsteviestrow.com/merchandise YouTube: https://youtube.com/ogsteviestrow Facebook: https://www.facebook.com/ogsteviestrow/ Twitter: https://twitter.com/ogsteviestrow Instagram: https://www.instagram.com/ogsteviestrow/ Website: http://ogsteviestrow.com
Pixel art and logos created by Joel M. Adams: https://www.instagram.com/artistjoelmadams/
OG Theme Song by the Gimp of Hallowed Ground Records: https://www.reverbnation.com/gordy669
Original Music by Fran Mann and Side Seat Driver used with permission: https://www.reverbnation.com/franmann
Music from the album Pac-Man Fever used with permission: http://pacmanfevervault.com/ ... https://www.youtube.com/watch?v=YKcKVtenzTw
148188449 Bytes