Is there anyway to make the camera stay centered over the player's character? I think it would be more comfortable for the player character to remain at the center of the screen and have the background scroll beneath it instead of it actually straying from center. Hope this makes sense.
I must admit that i also have some selfish reasons behind this, but i really don't see why it wouldn't be better. If you can remember back to the old Ultima games, i do believe this is how they worked.
Why doesnt the camera stay centered?
Moderator: Moderator
-
Elvisman2001
- Thalore
- Posts: 153
- Joined: Mon Oct 10, 2011 6:23 pm
Re: Why doesnt the camera stay centered?
It's actually much, much better than it used to be. You can actually always stay "centered" if you make a number in the Game Options high enough.
Sorry about all the parentheses (sometimes I like to clarify things).
Re: Why doesnt the camera stay centered?
Setting the scroll distance to 20 does not make the game center on the player, sadly.
If you want to try that, press escape in game and go to game options, then change the value of scroll distance (as bricks already posted)
It would be nice if there could be an option to always have the map centered on the player.
To do this scrolling beyond the border probably has to be enabled somehow.
If you want to try that, press escape in game and go to game options, then change the value of scroll distance (as bricks already posted)
It would be nice if there could be an option to always have the map centered on the player.
To do this scrolling beyond the border probably has to be enabled somehow.
Re: Why doesnt the camera stay centered?
Hum ? I dont understand, setting it to be higher than half the max number of tiles drawn on screen should always center.
Like if you can display 20x15 tiles, setting it over 10 should work
Like if you can display 20x15 tiles, setting it over 10 should work
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
-
Elvisman2001
- Thalore
- Posts: 153
- Joined: Mon Oct 10, 2011 6:23 pm
Re: Why doesnt the camera stay centered?
That worked for me. Awesome.
Maybe not in the appropriate place, but I am supposing it is possible to hard code this in a custom module so that it is how the game works by default and non configurable?
Maybe not in the appropriate place, but I am supposing it is possible to hard code this in a custom module so that it is how the game works by default and non configurable?
Re: Why doesnt the camera stay centered?
very easy
it's the moveViewSurround call in Player:move
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
Re: Why doesnt the camera stay centered?
If I set distance at 20, and I come to the edge, then the map does not stay centered on the player:
The map does not 'scroll' beyond its border.
-
Elvisman2001
- Thalore
- Posts: 153
- Joined: Mon Oct 10, 2011 6:23 pm
Re: Why doesnt the camera stay centered?
Ah. i see. Thats a semi problem then for what i want to do i think.
I'm still fleshing out my design doc so, i will have to wait till that's done. i like to get everything on paper before i do anything.
I'm wanting to go for a real "board game" type feel in a custom module.
I'm still fleshing out my design doc so, i will have to wait till that's done. i like to get everything on paper before i do anything.
I'm wanting to go for a real "board game" type feel in a custom module.