I've been working on a top - down 2d zombie shooter. I've got all the player movement down but i have been having trouble with the shooting. I cant figure out how to make it shoot in the direction of where the mouse was clicked. I use java to program it. If anyone can help that would be great.
I'm making a 2d side scrolling game. I want a randomly generated world similar to Terraria. If you've never heard of it the website is here: http://www.terraria.org . I've tried many different things but I can't figure out how to. If anyone can help that would be great.