Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
thedukeofcrawley

Text writing program

Question

Hi guys,

 

i have a town in a minecraft server and i wanted to use opencomputers screens to put some information on,

but i cant get any program to write and i cant find one to use,

 

this is what i need,

 

  • the possibility to put a title in the middle of the screen.
  • under the title on the left side of the screen,
  • changing the colors of the text easily.
  • and not terminiatible so nobody can shut it off,
  • and the possiblity to make a list with rules and people, 
  • that list needs to be so i can make different list for the staff the members and member+

i hope somebody can help because i cant get it done

 

 

sincerely yours The Duke of Crawley

Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

If the objective were to make a text editor... well, those things are very hard to write. Fortunately that's not what's being reguested.

Under the title on the left side of the screen:

...what?

The possibility to put a title in the middle of the screen:

Unless you're making this the same size as all other text that will be tricky (it will involve writing your own font + font renderer).

Otherwise: gpu.set(math.floor((screen_width-#title)/2)+1, title_y, title)

Changing the colors of the text easily:

If you use a Tier 2 GPU + screen you can use gpu.setPaletteColor(pal_idx, 0xFFFF00) and gpu.setForeground(pal_idx, true) for example.

Not terminatible so nobody can shut it off:

I'm pretty sure this question has been answered all over the place.

Skipping OpenOS entirely and running on the "bare metal" is one way of doing this, although accessing components is a little tricky and you have to bind your screen to your GPU first.

Possiblity to make a list with rules and people:

(making a different list for the staff the members and member+):

Should be pretty easy. Make sure you know what arrays are, or learn what they are, and make sure you use them.

----

Honestly, the easiest solution is to just use the OC text editor on a user-locked computer. It won't do everything you want, but it is a nice and simple solution.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.