![]() |
|
#1
|
|||
|
|||
Tower Defense Game UIIm designing a tower defense game, so far i have the game logic figured out, i just need to coordinate my control panel and my game panel.
when there is a mouse click, I iterate through all my panels and check to see which panel the click happend in, that panel's response method is called. im trying to be able to click on a "Button" in my control panel, and the next time i click on a point in the Game Panel, a new Tower is placed there, if that point is not on my creep's "path" JAVA Code:
JAVA Code:
Last edited by admin : 28-May-2009 at 06:08.
Reason: Please insert your Java code between [java] & [/java] tags
|
|||
|
#2
|
||||
|
||||
Re: Tower Defense Game UIQuote:
Why not e.getComponent? Why iterate at all? MxB |
Recent GIDBlog
Vista ?Widgets? on Windows XP by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with a simple "dragon" game. | ddaigle | C++ Forum | 13 | 04-Dec-2007 06:06 |
| Tips for game troubleshooting | pcxgamer | Computer Software Forum - Games | 0 | 02-Jan-2004 05:27 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The