Paradox68 Posted October 15, 2015 Posted October 15, 2015 Going to move from having separate GUIs to having them built in to the RS paint. Thoughts? Pros at a glance: More intuitive, can display things such as selected entities easierCons at a glance: Will use a tiny bit more resources than a separate GUI (we're talking very small numbers) How would you implement interaction with other utilities like what if you need to enter an amount into a GUI for how many X of X you want to do? Also how do you listen for interaction with paint? Dumb question but i never learned it.
Woody Posted October 15, 2015 Posted October 15, 2015 (edited) How would you implement interaction with other utilities like what if you need to enter an amount into a GUI for how many X of X you want to do? Also how do you listen for interaction with paint? Dumb question but i never learned it. I would use PUI if there are only clickable options, no typing. And you use mouselistener and rectangles to listen for interaction. Edited October 15, 2015 by Woody
Bobrocket Posted October 15, 2015 Author Posted October 15, 2015 How would you implement interaction with other utilities like what if you need to enter an amount into a GUI for how many X of X you want to do? Also how do you listen for interaction with paint? Dumb question but i never learned it. I have my own - infrequently updating - paint library that's on Github, it has buttons, pictures etc. Adding textboxes wouldn't be too hard, I have experience from all of this because I was a game developer back in the day Even if I didn't make my own paint textbox, I could just have a popup. The github also explains how to listen for mouse movement/clicks.