Creating an option box?

Started by
1 comment, last by stein102 10 years, 6 months ago

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

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.

- Awl you're base are belong me! -

- I don't know, I'm just a noob -

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?

This topic is closed to new replies.

Advertisement