This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Im looking for help on making a program.
Started by giantawesomemeep, 21 November 2015 - 08:36 PMPosted 21 November 2015 - 09:36 PM
Ive been searching around for a while and I haven't found anything yet and Im not too familiar with open peripherals, the general Idea of what I want to do is use the terminal glasses as an external monitor (Image below) while also being able to resize/move the position of the glasses monitor and being able to click the buttons on the glasses monitor.
Posted 22 November 2015 - 12:49 AM
Moved to Ask a Pro.
Posted 22 November 2015 - 03:30 AM
thank you.
Posted 24 November 2015 - 02:51 PM
I'm not sure I get what you're trying to do. There's no way to click the display on a terminal glass.
Posted 24 November 2015 - 06:09 PM
The drawing part and all that is possible, but making buttons and such clickable isn't, that is, if you don't do some tedious work by setting up a computer that's hooked up to the glasses and a pocket computer aswell( I mean through rednet ), where the pocket computer would serve as a controller.
This probably isn't the ideal solution you are looking for, but this is probably the only one that would kind of meet your requirements.
This probably isn't the ideal solution you are looking for, but this is probably the only one that would kind of meet your requirements.
Posted 24 November 2015 - 09:51 PM
Posted 25 November 2015 - 03:08 PM
what I'm trying to do is use my glasses as a program to monitor the reactor controller program (Github) witch uses an external monitor to display the stats and whatnot but I'm cool with not using the buttons.
Also lets say i wanted to run it on the same glasses as the Deadglasses monitoring program is that possible?
Also lets say i wanted to run it on the same glasses as the Deadglasses monitoring program is that possible?
Posted 25 November 2015 - 04:39 PM
As long as the DeadGlasses program isn't overwriting what you want to put there, it's entirely possible.
Posted 26 November 2015 - 03:38 AM
and as for the reactor controller program displaying on the glasses what it normally displays on the external monitor?
Posted 26 November 2015 - 03:33 PM
You'd have to modify it, and make absolutely sure that neither program deletes the stuff the other one shows, but yeah you can do it. Not sure if you can term.redirect to a glasses.
Posted 26 November 2015 - 06:43 PM
so how would i go about editing the reactor program to display to glasses?
Posted 26 November 2015 - 07:51 PM
current glasses layout:
Reactor:
what I'm trying to get:
Reactor:
what I'm trying to get:
Posted 27 November 2015 - 04:29 PM
You'd have to figure out if a terminal glass can be redirect to, as well as figuring out where to edit the 1600 line program to not clear the rest of the screen, and draw where you want.
Posted 06 December 2015 - 01:24 PM
is there a way to just change the output in the code?
Posted 06 December 2015 - 09:09 PM
As I said, it's possible, but you'd have to override the monitor variable with the terimal glass, and at the same time, make sure that it doesn't clear.