LOLGraphics Version 2.4
What's new?
Added infinite loops (FOREVER RUN) and also the ability to read from the input field without actually waiting for the user to type it in and press the button. This is useful for WASD controls, and I also added a demo for this but since in currently only accepts numbers, it's an 8462 demo. You can open by picking this program in the example programs or by copying and pasting the code from below. Because it's important that this code will run as fast as possible, I set the delay in between two commands 1 millisecond as opposed to 100 milliseconds (0.1 sec) that is the default. You can change it to whatever you want by changing HAI 2.4 0 1 to HAI 2.4 <delay before the first command>,<delay in between every 2 commands>. Unfortunately, you can't set the second one to 0.
8462 demo
HAI 2.4 0 1
IM IN UR CODE EXECUTIN UR KOMANDZ
I HAS A TWO BYTE DAT IZ CALLED X
I HAS A TWO BYTE DAT IZ CALLED Y
I HAS A ONE BYTE DAT IZ CALLED BUTTON
PLZ SET TWO BYTE X 150
PLZ SET TWO BYTE Y 100
PLZ DELIVR MAH CHEEZBURGERS 2 X Y
I CAN HAS A CHEEZBURGER?
FOREVER RUN CHECK
IM OUTTA UR CODE
IM IN UR SUBPROGRAM DAT IZ KALLED CHECK
PLZ SET ONE BYTE BUTTON -1
PLZ READ ONE BYTE BUTTON
PLZ ASK CEILIN KAT 2 CHEK IZ [BUTTON]==8
IF CEILIN KAT IZ NODDING PLZ RUN UP
PLZ ASK CEILIN KAT 2 CHEK IZ [BUTTON]==2
IF CEILIN KAT IZ NODDING PLZ RUN DOWN
PLZ ASK CEILIN KAT 2 CHEK IZ [BUTTON]==4
IF CEILIN KAT IZ NODDING PLZ RUN LEFT
PLZ ASK CEILIN KAT 2 CHEK IZ [BUTTON]==6
IF CEILIN KAT IZ NODDING PLZ RUN RIGHT
IM OUTTA UR SUBPROGRAM
IM IN UR SUBPROGRAM DAT IZ KALLED UP
PLZ CLEAR TEH SCREEN
PLZ SET TWO BYTE Y Y-10
PLZ DELIVR MAH CHEEZBURGERS 2 X Y
I CAN HAS A CHEEZBURGER?
IM OUTTA UR SUBPROGRAM
IM IN UR SUBPROGRAM DAT IZ KALLED DOWN
PLZ CLEAR TEH SCREEN
PLZ SET TWO BYTE Y Y+10
PLZ DELIVR MAH CHEEZBURGERS 2 X Y
I CAN HAS A CHEEZBURGER?
IM OUTTA UR SUBPROGRAM
IM IN UR SUBPROGRAM DAT IZ KALLED LEFT
PLZ CLEAR TEH SCREEN
PLZ SET TWO BYTE X X-10
PLZ DELIVR MAH CHEEZBURGERS 2 X Y
I CAN HAS A CHEEZBURGER?
IM OUTTA UR SUBPROGRAM
IM IN UR SUBPROGRAM DAT IZ KALLED RIGHT
PLZ CLEAR TEH SCREEN
PLZ SET TWO BYTE X X+10
PLZ DELIVR MAH CHEEZBURGERS 2 X Y
I CAN HAS A CHEEZBURGER?
IM OUTTA UR SUBPROGRAM
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.2May 02, 2021
- LOLGraphics Version 3.1Apr 28, 2021
- LOLGraphics Version 3.0Apr 22, 2021
- LOLGraphics Version 2.5Apr 15, 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.