Apart from WASD to move the map view, it would be very convenient to drag the map when clicking the left mouse button when its pointer is not over a building, or any other factory item, and nothing is currently selected. (like after right clicking for example)
In other words, when the mouse pointer is over empty map space the mouse left click drags the view port.
#moving the map with the mouse
1 messages · Page 1 of 1 (latest)
Maybe left click could be problematic, I think could be mor helpful if you moved It like say for example with the middle mouse button. Anyway, there's someone that suggested moving the map when you "push" your mouse uppon the border of the screen
To be honest I'm quite against using the scroll wheel as a button in any case, but most mice have more buttons these days, so it could be configurable, but from a programming standpoint left click should not be hard to implement.
The difficult is not using the mouse button, the real trouble it's alternating what the mouse does if you click on a building or in the ground. Also, programming the reasignation of buttons is quite challenging. I know both these things because I also programmed a couple games by myself
Hm, isn't the mouse behavior just an if then else structure in an event loop, if it drops through you drag the map. Maybe I'm thinking of it too simple, done quite some programming over the years, but no games. 😉
Yeah, it's kinda like that, but the problem is that to check wether It touched something or not you gotta keep making checks to see if that touched It or not, as well as adding some colliders to the objects and the floor. But don't take me wrong, I'm not like "hating" this suggestion, in fact I've promoted It, just saying It might be kinda difficult to implement
Well, it's more a quality of life suggestion then a must have, maybe I should have said Ctrl-rightclick would do fine as well LOL Anyway dinner time here, catch you later
Have a great one 🙂