Stuck with own game
Posted: July 22nd, 2012, 1:15 pm
Hey guys!
i have started a own little game which i have plans to expand alot in the future, but so far i make small steps to work with all my ideas.
Right now i am stuck.
so far i got a controlled Player that is able to move around the screen with WASD, i also got targets to kill randomly placed, the targets stand still at the moment.
I am also able to shoot a fireball that aims towards the mouse, as intended.
but now i wanna make the player have a sword to swing and to kill the targets.
i made a small figure of a sword with the drawline function, but i can't get it to hunt the mouse. i only get it to draw to the left side of the player, and that makes me only able to kill targets that is placed on the right side of my player...
Anyone that can assist me with this part before all my hair is gone
//Lorth
i have started a own little game which i have plans to expand alot in the future, but so far i make small steps to work with all my ideas.
Right now i am stuck.
so far i got a controlled Player that is able to move around the screen with WASD, i also got targets to kill randomly placed, the targets stand still at the moment.
I am also able to shoot a fireball that aims towards the mouse, as intended.
but now i wanna make the player have a sword to swing and to kill the targets.
i made a small figure of a sword with the drawline function, but i can't get it to hunt the mouse. i only get it to draw to the left side of the player, and that makes me only able to kill targets that is placed on the right side of my player...
Anyone that can assist me with this part before all my hair is gone
//Lorth