hi, im making a very simple game based on the tabletop game Warhammer 40k
this is my first
java project and im starting very simple, a basic menu and a bckground with moveable images, ill add functionality later, anyways, i have read most of java head on(great book by the way) and know how to display bitmaps and a gui, but i dont know anything much beyond that, so what i want to do is when the user clicks a button on the gui, when they move their mouse onto the playing area, the selcted bitmap jumps to the mouse and follows it around the playing area till the user clicks, if anyone could give me some sample code or even just explain it to me, that would be great!
__________________________________________________________________________
|!!!|
|!!!|
|!!!playing area!!!|
|!!!|
|!!!|
|!!!|
|!!!|
|!!!|
|!!!|
|!!!|
|!!!|
|_________________________________________________________________________|
|***************************GUI***********************************|
|_________________________________________________________________________|
sorry i just cant get this text representation to turn out right, it supposed to be a square playing area above a rectangular gui
[ August 24, 2007: Message edited by: Frank McDeffer ]