Jump to content

Rate this shit


Bobrocket

Recommended Posts

 

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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