Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Text overlap #3733

Open
mckuhei opened this issue Aug 26, 2024 · 1 comment
Open

[Feature request] Text overlap #3733

mckuhei opened this issue Aug 26, 2024 · 1 comment

Comments

@mckuhei
Copy link

mckuhei commented Aug 26, 2024

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'

@ff66theone
Copy link
Contributor

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants