Rotating Camera Control Help

I want to be able to control the player sprite’s movement in sync with the camera movement. What I mean is that if the camera is facing a certain way, I want the arrow keys to move the player sprite relative to the camera, so that up is forward always, down is down, ect. The camera is controlled with J and L keys.

1 Like

You might want to check out my 3rd person proof of concept

i notticed that in your move block you forgot to set ur varible name to character instead it was mysprite so you should change that and it should be good

yes i tried it that was the problem V=

https://arcade.makecode.com/S01784-05747-99812-30653

il check on the other problem to try to help fix it

OK, I fixed the camera and have full movement!

OK, now that I have full camera control, does anyone know how I could make the camera shrink when in a wall so it doesn’t go out of bounds? I tried shrinking and growing the radius before, but it was really shaky. (literally)

il try to help with that too.(exspect on thursday or friday)