This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Marshen's profile picture

[Lua] Advanced Monitors Touch Screens

Started by Marshen, 22 March 2013 - 07:05 PM
Marshen #1
Posted 22 March 2013 - 08:05 PM
Hello all im new here and likewise to computer craft. I have written a few programs but the program that i would like to make is much to advanced for my skills. Im not looking for anyone to write my program but if someone could point me in the right direction as I would love to learn how to do this. So what im looking to do is create a touch screen with the names of the all mob and when i click on them the background text will change from red to green incating that it is on also I want to send a signal up an bundled cable and turn on the appropite mob spanwer.

Cheers
Lyqyd #2
Posted 23 March 2013 - 05:50 AM
Split into new topic.

Check out the tutorials section for creating buttons and for using bundled cables.
RustikGaming #3
Posted 23 March 2013 - 02:40 PM
Try checking out this API (http://www.computercraft.info/forums2/index.php?/topic/10735-bundleapi-making-redpower-bundle-cables-easy/)
And look at this program to use as a guide (http://pastebin.com/bRnVQvr6) note that this is the spawner program used on the Forgecraft server by Direwolf20
Engineer #4
Posted 23 March 2013 - 02:50 PM
I have made a tutorial on buttons. It is in my signature.