Hi all, im new to java programming and creating 2d games.
i am currently trying to make a space invaders game, i have it working as i intended it to.
Only prob i have now is how do i use the mouse in the game.
i want to have the mouse cursor as my aim/cross hair but i have no idea how i would do this.
my plan is to have the users use the mouse to target their enemies and then click to fire at the enemy.
i have searched for 2 days now trying to look for simple examples that explain how i could implement this in my game but i have had no luck so far. If this has been discussed already i am really sorry, i did search on the forum several times and cant find anything that helps me.
Thank you in advance for any help or advice you may have to assist me
Bongklerz