Programming in BASIC chapter 21 "Draw the Line somewhere" part 1
ogStevieStrow
Chapter 21 "Draw the LINE somewhere" is all about the DRAW command, which is a very flexible and powerful command to literally draw objects on the screen, in a variety of directions, angles, sizes and colors, what this command can do, and how to use it literally overwhelmed me, so, despite the near hour long length of this video, the chapter is not complete, we have more DIY projects and a few more options to the DRAW command to learn and use.
Syntax:
DRAW line draws a shape on the current graphics screen line is a string expression that may include the following motion commands, modes, and options:
Motion Commands M = Move the draw position U = Up 0= Down l = left R = Right E = 45-degree angle F = 135-degree angle G = 225-degree angle H = 315-degree angle X = Execute a substring and return
Modes C = Color A = Angle 5 = Scale
Options N = No update of draw position B = Blank (no draw, just move)
Note: If line is a string constant, you must enclose it in quotes. Always insert the B option directly before the M motion command; otherwise, unwanted lines may appear.
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=kSEHdC9QaAM
143365124 Bytes