Jump to content

Rate this shit


Recommended Posts

Posted

 

c35f069f1753fde746d5bd5c78577828.gif

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 easier

Cons 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.

Posted (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 by Woody
Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...