Hello guys,
I'm pretty new to Java Games programming and I honestly I am lost as to which route to take to draw the Board of my Backgammon game. ???
I need advice on the following matter:
I was thinking initially that instead of actually Drawing the Board using Java shapes (like drawRect() etc), to take a real photo of my own real Backgammon Board and import it in the application. Now, the Question is: How am I going to do this? I mean, do I import the Image in my application and then I just "mark" the Positions of the pieces somehow and then add Actionlisteners to them, so that the application knows which are the positions that it needs to "listen" for the moves of the pieces?
Or alternatively, would it be possible to import the photo that I’ve taken, and then draw a Board using Java shapes (like drawRect() etc), but make it Transparent in color, and then “stick” it on top of the Photo (image) and then add ActionListeners on the positions of the drawn Board?
Please I need your guidance to this, as I am new to Game and Graphics programming in Java! Any suggestions and explanation would be greatly appreciated
Thanks in Advance,
HaDeS