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

(pretty stupid idea) character palette #1857

Open
tizu69 opened this issue Jun 9, 2024 · 1 comment
Open

(pretty stupid idea) character palette #1857

tizu69 opened this issue Jun 9, 2024 · 1 comment
Labels
area-Core This affects CC's core (the Lua runtime, APIs, computer internals). area-CraftOS This affects CraftOS, or any other Lua portions of the mod. area-Minecraft This affects CC's Minecraft-specific content. enhancement An extension of a feature or a new feature.

Comments

@tizu69
Copy link
Contributor

tizu69 commented Jun 9, 2024

yk the color palette? that's pretty cool, righ? now, that applies to colors. in theory you can have infinite, just not at once :)
now, ever wanted to build a ui, but turns out you're missing some super weird character? you could use a resource pack, sure, but what abt servers? ok so basically-

Not sure if I like the syntax, but something like this. The 1px border is also included.

term.setPaletteChar("\x90", {
  "        ",
  "        ",
  "     X  ",
  "    XX  ",
  "        ",
  "        ",
  "  XXXX  ",
  "        ",
  "        ",
  "XX  XX  ",
  " X      ",
})

^ fyi, this isn't supposed to represent anythig.

This would allow for somewhat higher resolution, but still be locked to oh so many characters. This could be treated as a limited graphics mode ig, that doesn't have the issue of having to send huge amounts of data to the client, as it's all just one of the 256 characters after all. idk.

@tizu69 tizu69 added the enhancement An extension of a feature or a new feature. label Jun 9, 2024
@SquidDev SquidDev added area-CraftOS This affects CraftOS, or any other Lua portions of the mod. area-Core This affects CC's core (the Lua runtime, APIs, computer internals). area-Minecraft This affects CC's Minecraft-specific content. labels Jun 20, 2024
@m-doescode
Copy link

This is really fun and I support the idea, but I worry that this takes away from some of the limitations of computercraft that requires out-of-box thinking.

Still, if this ever gets added I'll be quite happy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Core This affects CC's core (the Lua runtime, APIs, computer internals). area-CraftOS This affects CraftOS, or any other Lua portions of the mod. area-Minecraft This affects CC's Minecraft-specific content. enhancement An extension of a feature or a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants