Hiya, it's my first time posting in the learning JavaScript section so yay!
I wanted to know to find out what direction the player is facing, and be able to set a variable to that direction so I can use it in commands like
which I am using to try make a "Telescope" script!
I have most of it done but I want to know how to find out the direction, so I can scroll in the direction the player is facing!
Thank you for reading and/or helping and hopefully I gave enough detail in my question that it can be answered!
I wanted to know to find out what direction the player is facing, and be able to set a variable to that direction so I can use it in commands like
$gameMap.startScroll(direction, distance, speed);
which I am using to try make a "Telescope" script!
I have most of it done but I want to know how to find out the direction, so I can scroll in the direction the player is facing!
Thank you for reading and/or helping and hopefully I gave enough detail in my question that it can be answered!