Then that would sorta defeat the purpse of the whole learning from the tutorial... by cheating and takin the short way out, you would not learn how to fix thatin a similar situation later on... just what i think...
I REALLY wish I had AI for this, even simple enemies that die on contact/hit... I would like to take this moment to please request that if anyone has code for this, please help!! I'mno coder at all and This is killing me...I've managed to get other AI codes to work with it, doing an ent remove, but always get empty pointers and crashes... PLEASE PLEASE PLEASE hehehe thanks Drew
Does anyone know how to change the handle_movement function, so that when pressing cul or cur the player turns around it's own axis and not around the camera axis. Thanks anyway for this great contribution
Re: Kingdom Hearts Movement Tutorial
[Re: molotov]
#86325 12/15/0613:0612/15/0613:06
The rotate_entity function handles rotating the player. Change the calling of it from handle_movement so the player is only rotated when pressing A or D.
The rotate_entity function works great but is not the solution to my problem. When I press A or D the player rotates and walks in a circle where the camera origin is the center of the circle. How do I make it so that When pressing A or D the player rotates but doesn't walk in a circle around the camera origin. Simple to say I want the camera to turn slowly according the players pan.
Re: Kingdom Hearts Movement Tutorial
[Re: molotov]
#86327 12/15/0623:0712/15/0623:07
If you don't want the player to move when you press A or D, look in the tutorial how the player is moving left and right with these buttons and make the changes.
Then make the camera's pan based on the player's pan and not the mouse: In handle_camera(), replace: