|
Has anyone found a good way to create a player object that pitches up and down with the camera in a third person perspective (like in a plane sim or something)? The UFO entity doesn't have an angle port and using boxes doesn't seem to work for some reason.
|
# ¿ Jun 14, 2021 02:57 |
|
|
# ¿ May 16, 2024 20:06 |
|
DalaranJ posted:I think it's possible to do most of them once we work out a method for snap screen scrolling needed for games like adventure, Decided to take a crack at the scrolling you described here (what I dub "Zelda scrolling") and made a proof of concept. I tried to keep the code clean but the basic idea is: 1) Store a constant with the screen width. 2) Use a counter to represent how many screens the player is away from the origin. 3) Set the screen's x coordinate to the product of those two numbers. 4) Whenever the player's x coordinate exceeds that number, increment the counter. 5) Whenever the player's x coordinate is below the screen width times (counter minus one), decrement the counter. 6) Do the same with the height and z coordinate. Example is at G-003-F6B-VJ2. Numbers output the current X and Z coordinate of the player character.
|
# ¿ Jun 15, 2021 02:32 |
|
Found this on Twitter https://twitter.com/Lassikko/status/1405909948266024965?s=19
|
# ¿ Jun 19, 2021 15:10 |