using angle?
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
hey, i downlaoded game editor like 6 months ago and when i did i knew nothig about game making, or scripts, ive learned a lot from the forums and i was wondering how to use the angle variable.
angle = direction(xscreen, yscreen, xmouse, ymouse);
directional_velocity = 20;
As the coordinates xmouse and ymouse are given related to the screen, we have to use xscreen and yscreen; these are the coordinates of the actor related to the screen.