Dwarf Fortress

Dwarf Fortress

Zentaki Dec 8, 2022 @ 4:18am
Moving camera WASD
So I have notice that the movement is bond to a grid steps plus it seems that it does more the one cell step.
I really wish that the camera move was smooth, not bond to the game grid. It would feel more natural and positioning of the game would be more satisfying.
The way it is the movement feels shuttering and it is very annoying.

Though using the middle mouse click seems to be moving at one cell step which is not smooth enough for me but is a way better feel compared to using the WASD.

Problem is that the use of WASD is a much preferable way to move the camera than using mouse middle button just because the mouse will be used for other stuff, in many cases that you need to move the camera with WASD at same time you are using mouse to draw squares.

I might be missing some option that will allow for a smoother movement from WASD, so if there is any option for that please let me know.
Last edited by Zentaki; Dec 8, 2022 @ 4:20am
< >
Showing 1-15 of 40 comments
vevi33 Dec 8, 2022 @ 4:40am 
I would like to know this as well.
+1
Playzr 🐵 Dec 8, 2022 @ 5:07am 
Bond. James Bound. License to scroll. Screen shaken not stirred. OK I'll stop... *tries to come up with more but gives up*
RiGON Dec 8, 2022 @ 5:11am 
Also, need to know if there is a config to change the camera scroll step to less than 10 squares at a time.
Zentaki Dec 8, 2022 @ 5:23am 
Originally posted by Рlαγζr 🐵:
Bond. James Bound. License to scroll. Screen shaken not stirred. OK I'll stop... *tries to come up with more but gives up*


Originally posted by Рlαγζr 🐵:
Bond. James Bound. License to scroll. Screen shaken not stirred. OK I'll stop... *tries to come up with more but gives up*
lol, yeah miss typed
Sledgehammer Dec 8, 2022 @ 5:24am 
Originally posted by RiGON:
Also, need to know if there is a config to change the camera scroll step to less than 10 squares at a time.

Would love it if somebody figured it out, its the thing stopping me buying it currently.
Literally Trash Dec 8, 2022 @ 5:25am 
+1 as well
I would LOVE LOVE LOVE to be able to adjust the amount scrolled

And maybe have it ramp up in speed and scroll amount the longer you hold down the button?
DorkDroll Dec 8, 2022 @ 5:34am 
Guys, try moving the camera by holding the mouse scroll and moving the mouse. it's still a little ''hard'' but it's much better than using ''wasd''
Sledgehammer Dec 8, 2022 @ 5:55am 
Originally posted by DorkDroll:
Guys, try moving the camera by holding the mouse scroll and moving the mouse. it's still a little ''hard'' but it's much better than using ''wasd''

That's always so awkward though..
Zentaki Dec 8, 2022 @ 6:46am 
exactly my point, guys
Just wish a way to set how much cells will camera move. But personally I think the best solution is to make the movement not bound to the game grid cells.
That way you will have much more precision moving around and will not give sight weirdness

Another thing to consider is the use of shift button to make camera move faster, by the way making sure to have this button as an option in the keybindings menu.

Edited: not saying that the way it is should not be an option. All I am saying is to have more option than what we have and also an option to tweak what we have.
So players could adapt better getting the best of the game.
Last edited by Zentaki; Dec 8, 2022 @ 6:49am
Cless Dec 8, 2022 @ 7:08am 
I agree with Zentaki here, but to be honest, I'm not sure if it would be possible without doing a substantial ammound of work.
What I'm doing now is using the mouse middleclick for finer control, and the WASD when I want to move FAST. Still, I need to zoom out or it becomes disorienting.
Zentaki Dec 8, 2022 @ 7:38am 
Originally posted by Cless:
I agree with Zentaki here, but to be honest, I'm not sure if it would be possible without doing a substantial ammound of work.
What I'm doing now is using the mouse middleclick for finer control, and the WASD when I want to move FAST. Still, I need to zoom out or it becomes disorienting.
depends a lot how they implemented the function to move the camera, as it should be at least the same used for the MMB which adding at least an option to make WASD to tune down the number of cells it moves, which I think is around 5 cells. That would make WASD like MMB.
Kieran Dec 8, 2022 @ 8:02am 
+1 I wish they would either reduce the speed to one tile at a time or allow the distance to be changed in the settings. For now, I rely entirely on the middle mouse button to move.
Playzr 🐵 Dec 8, 2022 @ 10:40am 
It can't be that hard to implement this. You just make the screen space 1 tile wider and taller then allow an offset.
Will Kydd Dec 8, 2022 @ 11:04am 
+1 to setting to pick scroll amount
Zentaki Dec 8, 2022 @ 11:04am 
Originally posted by Рlαγζr 🐵:
It can't be that hard to implement this. You just make the screen space 1 tile wider and taller then allow an offset.
just move by axis per pixels lower than the cell size instead of jumping through cells. Which by the way the cells is some XY numbers of pixels. Moving by cells means it is just jumping a segment of a fixed amount of pixels.
All that means is that does not makes any difference at programming it, you just make the rules what you will, cell size is 10, moving 10 by 10 pixels will just jump from cell to cell. Making it move half number will make it feel smoother.

Also there is the speed. Speed in the other hand can be complicated. The game runs at some speed, the code runs in another speed. Really depends on how things are done.

But whatever code drives the movement of camera is pixels based, just because a game is all about pixels. So should be there something like cameraXpos =+ cellXsize, so you can change the code just a little bit to make the movement smaller. It is not really a big deal. And if it is, so the code is something really weird and hard to work with, which should not be.
< >
Showing 1-15 of 40 comments
Per page: 1530 50

Date Posted: Dec 8, 2022 @ 4:18am
Posts: 40