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

Need help with touchscreen passcode!

Started by NateGagnon, 29 June 2014 - 01:45 AM
NateGagnon #1
Posted 29 June 2014 - 03:45 AM
I'm trying to write a program that will have a nice looking touchscreen code lock much like one you would see on an iPhone. I am having problems with setting up the buttons and getting to program to restart once the passcode is entered incorrectly. I am using a 3 by 4 monitor setup with the computer in the back. The passcode is currently set to 2580 and any other questions are welcome. Please help thanks,
Nate

Pastebin: http://pastebin.com/faUqL0BY
NanoBob #2
Posted 29 June 2014 - 09:39 AM
I'm trying to write a program that will have a nice looking touchscreen code lock much like one you would see on an iPhone. I am having problems with setting up the buttons and getting to program to restart once the passcode is entered incorrectly. I am using a 3 by 4 monitor setup with the computer in the back. The passcode is currently set to 2580 and any other questions are welcome. Please help thanks,
Nate

Pastebin: http://pastebin.com/faUqL0BY
I've made something similar to this but with a 1x1 monitor. Feel free to look at my code for examples on how to do things. (http://pastebin.com/cnrFuHQ4) But do not just copy and claim it to be yours.