Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Making letters on a display does not work properly?

Asked by 3 years ago
Edited 3 years ago

My scripts seem to get complexer and complexer...

Ok so, i have this 60X60 pixel display inside roblox studio that i can change each pixel from. I have already made a couple modules to make this faster like DrawCircle or DrawRectangle.

But i am making a DrawLetter module that obviously draws letters. They are 3x3 letters. In this modulescript i have another module script named Letters that store the on/off states of the pixels. Every 3 "bites" of a "letter byte" (which look like this: 010111101 In this case, this is the letter A.), the y goes down by 1. (On my display going down is going UP in y coordinates.) This repeats for the number of characters there are in a string. There is also alot of math involved, but im sure you can figure that out. The module is in Demo in visuals.

Getting to the actual problem, most of the characters draw fine but some are cutt off and there also appear that a bunch of random pixels around the letters go on. They go on/off if the y coordinate of the text changes? Weird. Now can you fix this? My attempt is already there in the Visual module. Try it for yourself in a empty baseplate and run the game with the script in the workspace.

Model:link (need to link it because tbh there are so many references that reference other things ect.)

Thank you for reading this.

Important P.S: There are no errors when it is run.

Answer this question