LOLGraphics Version 3.2
What's new?
Added the option to draw and fill rectangles and ellipses. Also added the option to draw custom polygons and to fill the entire screen in one color. Also added labels. You can define a label using DIS IZ A LABEL! IT IZ KALLED <name>. You can also jump to a label using PLZ GOTO LABEL <label>.
Drawing rectangles and ellipses
Starting from version 3.2, you can draw and fill rectangles and ellipses using the commands PLZ DRAW RECT, PLZ FILL RECT, PLZ DRAW ELLIPSE, and PLZ FILL ELLIPSE. All those commands get 4 parameters - the x and y coordinates of the top left point in the shape, the width, and the height. For the ellipse, the top left point refers to the top left point in the rectangle enclosing the ellipse. Don't worry though, you will see just the ellipse without any rectangle (unless you choose to draw a rectangle separately). If you want to draw a rectangle with an outline in another color, first write PLZ FILL RECT, and only then PLZ DRAW RECT. For example, if you want a red rectangle with a blue outline, you should type:
HAI 3.2 0 100
IM IN UR CODE EXECUTIN UR KOMANDZ
PLZ CHANGE PAINT BRUSH RED
PLZ FILL RECT 50 50 200 150
PLZ CHANGE PAINT BRUSH BLUE
PLZ DRAW RECT 50 50 200 150
IM OUTTA UR CODE
The same is true also for ellipses.
Custom polygons
Staring from version 3.2, you can also draw custom polygons using PLZ DRAW POLY <points>. You must write at least 3 points (6 numbers) and an even number of numbers (x,y coordinates). PLZ DRAW POLY 10 10 150 200 100 20 is a valid command while PLZ DRAW POLY 10 10 150 200 100 20 5 and PLZ DRAW POLY 10 10 150 200 are not. For the first command listed here (the only valid one), it will draw a triangle with the points (10,10), (150,200), and (100,20). You can ask it to draw any polygon you want though. Unfortunately, there currently isn't a way to fill custom polygons, and there are no plans on adding such option in the near future.
Labels
Starting from version 3.2, you can define labels using the command DIS IZ MY LABEL! IT IZ KALLED <name>. You can also jump to a label using PLZ GOTO LABEL <label>. Nothing to exciting, especially compared to the other features mentioned above but still worth mentioning that it is a feature that was added.
Files
Get LOLGraphics
LOLGraphics
A programming language loosely based on lolcode with graphics. Some of the features are loosely based on Assembler.
Status | Released |
Category | Other |
Author | Bloody Wall Software |
Tags | esoteric, graphics, java, language, lol, programming |
More posts
- LOLGraphics Version 3.4Jun 01, 2021
- LOLGraphics Version 3.3May 18, 2021
- LOLGraphics Version 3.1Apr 28, 2021
- LOLGraphics Version 3.0Apr 22, 2021
- LOLGraphics Version 2.5Apr 15, 2021
- LOLGraphics Version 2.4Apr 05, 2021
- LOLGraphics Version 2.3Mar 18, 2021
- LOLGraphics Version 2.2Mar 14, 2021
Leave a comment
Log in with itch.io to leave a comment.