Rain World

Rain World

v's code tweaks
6 Comments
SageisNIce 30 Jun @ 12:55pm 
I kinda wonder if that affects the dynamic camera scroll mod in any way? ill have to see later tbh.
v  [author] 30 Jun @ 8:09am 
no problem :]
IamMael 30 Jun @ 8:07am 
oh ok, thanks for the answer
v  [author] 30 Jun @ 7:52am 
re: IamMael
basically, by default, the game checks every frame what the nearest camera is, but it only actually switches to the nearest camera if the player is outside the 4:3 bounds of the current camera. what this mod does is essentially change the relevant function (RoomCamera.GetCameraBestIndex) so that instead of only switching if the player is outside the current camera, it will also switch if the player is more than 20 pixels (1 tile) closer to the nearest camera than they are to the current camera (so as to minimize the risk of back-and-forth "flickering" between two cameras.)
IamMael 28 Jun @ 7:03pm 
Improve camera switch logic ?? what does that exactly means how does it function on gameplay
Dag_ed 28 Jun @ 12:38am 
Does it work with regions that hace no rain at the end of the cycle?
Like, waking up in a sandstorm in torrid desert