This time it's not so much that I have a problem, it's that I had an idea for another plugin and desired some information before starting. I don't need this for any of my current projects, but I thought it would be interesting to try to do.
Essentially I want to be able to create hovering tooltips(mostly for items, but I could see it being useful in other areas if it's not more trouble than it's worth for a single plugin). Being that this involves graphics, and scenes, and mouse controls, all things outside my current skillset, I don't even know where to BEGIN to look myself. I know that there are mouse-related events for clickable sprites, so far that's all I've found. If I'm following my initial search correctly, menu buttons are clickable sprites, and therefore inherit those mouse functions.
However, I'm wanting to create a tooltip when hovering over an item or equipment while in the inventory, or for non-mouse controls, when the cursor is on that item. As far as I can tell, items in the inventory are drawn as a list in a selectable window class, which does not seem to have explicit mouse controls other than the mousewheel, and I'm not sure how to go about using the methods regarding cursor movement, if indeed that's something I can use. (Is it a simple call for processing, or is it something I can overwrite to define my own scripts there? As far as I can tell, the type is simply "void" with no real information.)
Any assistance/education I can get in this regard would be much appreciated for this first step in my more "advanced" plugin creation. Thanks!
Essentially I want to be able to create hovering tooltips(mostly for items, but I could see it being useful in other areas if it's not more trouble than it's worth for a single plugin). Being that this involves graphics, and scenes, and mouse controls, all things outside my current skillset, I don't even know where to BEGIN to look myself. I know that there are mouse-related events for clickable sprites, so far that's all I've found. If I'm following my initial search correctly, menu buttons are clickable sprites, and therefore inherit those mouse functions.
However, I'm wanting to create a tooltip when hovering over an item or equipment while in the inventory, or for non-mouse controls, when the cursor is on that item. As far as I can tell, items in the inventory are drawn as a list in a selectable window class, which does not seem to have explicit mouse controls other than the mousewheel, and I'm not sure how to go about using the methods regarding cursor movement, if indeed that's something I can use. (Is it a simple call for processing, or is it something I can overwrite to define my own scripts there? As far as I can tell, the type is simply "void" with no real information.)
Any assistance/education I can get in this regard would be much appreciated for this first step in my more "advanced" plugin creation. Thanks!