9 posts
Posted 27 December 2014 - 02:42 PM
I need some help making buttons for reactor controll. So far this is my code:
http://pastebin.com/EH6MLgF1and since im a noob in lua any help is appriciated :)/>
3057 posts
Location
United States of America
Posted 28 December 2014 - 02:59 PM
You have two options here:
1 - Make your own buttons
2 - Use a button API
Since you are a new member, I'd recommend using a button api from the forums. You can find several in the apis and utilities section of the forum. Since you are working on a monitor, lyqyd's touchpoint api is probably the best option.
If you really want to make your own buttons, take a look at monitor_touch events and think about how you could detect if they clicked on an area.