java strategy game

Reply

Join Date: Oct 2007
Posts: 9
Reputation: enes is an unknown quantity at this point 
Solved Threads: 0
enes enes is offline Offline
Newbie Poster

java strategy game

 
0
  #1
Nov 29th, 2007
i have java strategy game project.however ı dont know how can ı control the map.for example when player selected a dıvısıon how can ı get ıts poınts to know which division is selected.to be able to thıs ı should have all coordınates of the maps(every poınt).of course ıt ıs ımpossible.there should be an easıer way.what is ıt.can anybody help me!!!!!!!!!!!!!!!!
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 790
Reputation: darkagn has a spectacular aura about darkagn has a spectacular aura about darkagn has a spectacular aura about 
Solved Threads: 109
darkagn's Avatar
darkagn darkagn is offline Offline
Master Poster

Re: java strategy game

 
0
  #2
Nov 29th, 2007
A mouse listener can provide you with the x, y coordinates when the mouse is clicked and you can use these coordinates to check against your map to see which division was clicked on.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC