I'm still developing my game and i've got another problem. I am trying to make the player shoot with it's mouse (my game is a RPG), so using the mouse position. The problem is that i am using g.translate(xOffset, yOffset); (xOffset and yOffset based on player position ON MAP). Here is my question: How can i calculate the mouse position ON MAP ?

Getting a project done is by far the most hard thing in game development.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org