Posted 20 January 2016 - 03:55 AM
Still writing my Big Reactors program. I have a few things drawn on the monitor. All of these things update in a loop that sleeps for 1 second. If I check for an event within that loop, it stops the loop there until the event, essentially freezing it. My goal is to make the Activate and De-Activate text I drew up a button. You can see this in my code commented as "–Activation Button Display" near the bottom. I know the Big Reactor API, but what I don't know is how to format and/or position the os.pullEvent() for my button. I can do this without other things in the loop updating on the screen. However, I am not sure how to do both on the same screen simultaneously. Also, a nice thing to learn how to do would be to change the background color for only the button.
http://pastebin.com/07qtTQq1
Any help is appreciated!
http://pastebin.com/07qtTQq1
Any help is appreciated!