barney12345 wrote:OK, I know i'm new at this but can someone help me with making a code for rotating a character depending on where the mouse is
There are quite a few tutorials/posts on this already. You might try looking here.
http://game-editor.com/RotationThe current version of gE doesn't have built in rotation, so for now you need to rotate your sprites, and set animpos to the angle you want.
barney12345 wrote:Also for how to get bullets to go in the direction of the mouse
bullet -> Create actor -> Script Editor
- Code: Select all
angle = direction(xscreen, yscreen, xmouse, ymouse);
directional_velocity = 15;