• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Implemented hide mouse in battle system until it is actually moved

arnierulezz

Bug Catcher
I have a little suggestion about the battle system.
I play pokemon 3D using the xbox 360 controller and hence I do not use the mouse that often (I actually only use it to select "Cancel" on the "rename pokemon" event since you can not select "Cancel" using the xbox controller. Well, I use a little script to bind the dpad and the right bumper key with the mouse actions so I can click it). When a new battle is started the mouse is placed in the center of the screen (I guess as to prevent it from interrupting with the "Attack", "Items" etc buttons) (I guess you release the mouse.setposition you use to interact ingame with the relative mouse movements and set this.IsMouseVisible = true as to allow people to select the battle options using the mouse). At first this may not seem as such a big deal but after a few battles it slowly becomes annoying to have the mouse in the center of the screen at the start of EVERY battle.
Could you hide the mouse until it is actually moved?
You could just make a little check and check if the position of the mouse (mouseState.X and mouseState.Y or whatever xna codes you use to get the mouse position) has changed by lets say 10 relative to the position at the start of the battle and make that the trigger to make the mouse appear (this.IsMouseVisible = true; )
It doesn't have priority but you could perhaps look into it while you're working on the battle system.
 

frozenshado7

Active Member
i assumed it would be changed to say fixed in next update at the top instead of implemented. I guess since its not a bug its a feature?
 

arnierulezz

Bug Catcher
Yes, it's a feature.
Making the mouse visible at the start of a battle was by design. Changing the mouseisvisible event to a mouse move event and not the start battle event is a feature. Well more of a aesthetic suggestion for a feature modification.
 
Last edited:
Top