Jump to content
  • Advertisement
Sign in to follow this  
stein102

Creating an option box?

This topic is 2112 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm developing an rpg and want to make an option box for when I right click. I won't bore you with all the details of how it should be, I'll just post a picture and make this easier on all of us. I'm using Java with LibGdx if it helps you give a more specific answer.

 

Duelling_ring_equipmenu.png

 

 

Share this post


Link to post
Share on other sites
Advertisement

It's just a box that appears while you hold RMB down and disappears while you release it (or click it once and then a second time, if you prefer that). You need to look into MouseListener methods for both the box and the options. The rest is just graphics painted on-screen. Oh and you obviously need to create the features (i.e. methods) related to each individual option.

 

I'm not sure what your question is, tbh. I'm a little confused.

Edited by Malabyte

Share this post


Link to post
Share on other sites

I know how to make the box appear and disappear. I could reword my question a little better as: How would I populate this box with options  and draw it?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!