I’m currently trying to make this game that turns an 8x8 Canvas of pixels into python code and then can be ran on a Raspberry PI that has the Sense hat. But whenever I try to add a new line of code It always ends up centred in the middle instead of at the start of the line like this:
I’ve tried to fix this issue but I couldn’t figure out how. This is how I’m adding the new lines as of right now:
finalstring=finalstring..[[
]].." "..pypiconv(com, col)
And the top of the script has the same issue too and that looks like this:
local finalstring=[[
from sense_hat import SenseHat
sense = SenseHat()
sense.clear()
]]