SpaceProject icon indicating copy to clipboard operation
SpaceProject copied to clipboard

camera movement

Open 0xDE57 opened this issue 2 years ago • 2 comments

lerping can add better feeling of player movement

experienced issue with jitter between frames because lerping is a % of input leading to 1 frame pushing closer and the next frame pulling further. this can be smoothed out by applying the average over multiple frames.

camera should focus on either direction of velocity to help see objects ahead.

toggle mode: allow mouse pull camera in direction of cursor?

0xDE57 avatar Apr 29 '23 05:04 0xDE57

looks like this may solve some problems like constraints and keeping focus certain objects in frame https://www.gempukkustudio.com/libraries/gdx-gemp-lib.html

also see: https://www.youtube.com/watch?v=tu-Qe66AvtY

also see: https://www.youtube.com/watch?v=aAKwZt3aXQM

0xDE57 avatar Oct 07 '23 13:10 0xDE57

split screen technique implementation as described at 27:20 of Squirrel Eiserloh's 2016 GDC session:

https://github.com/Raxorg/Alejandria/blob/master/core/src/com/epicness/alejandria/showcase/modules/viewports/AdvancedSplitScreen.java

0xDE57 avatar Nov 25 '23 22:11 0xDE57