OpenComputers icon indicating copy to clipboard operation
OpenComputers copied to clipboard

[Feature request] Text overlap

Open mckuhei opened this issue 1 year ago • 1 comments

Is possible to add text overlay on gpu? e.g:

local buffer = gpu.allocateBuffer()
gpu.set(1, 1, “A”)
gpu.setActiveBuffer(buffer)
gpu.set(1, 1, "_")
gpu.setActiveBuffer(0)
gpu.attachBuffer(0, buffer)

Draw a cursor on character 'A'

mckuhei avatar Aug 26 '24 01:08 mckuhei

At this point you may want to have a 'real' graphical screen in OC, as text overlapping would allow the same kind of things as a graphicam screen. Also, on your example, i would not make use of allocateBuffer, but rayher use an additional function like setTransparency or something like that...

ff66theone avatar Sep 01 '24 05:09 ff66theone