Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (541)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: Help pls: How to Draw a Board for Backgammon game on: 2007-07-29 23:43:03
OnyX you ' ve been really helpful mate  Cheesy

I really appreciate it.

By the way, if anyone else has something to say or propose, please free to do so, as I am not going to starting implementing the Graphics for some time now...

Thank you all.
2  Game Development / Newbie & Debugging Questions / Re: Help pls: How to Draw a Board for Backgammon game on: 2007-07-29 22:43:36
Now I understand it much better  Cool

Another question: About the Coordinates that Incscape uses and those that Java uses for an Application (not an Applet - I still do not know if the coordinate system those 2 methods use is the same... is it?).

So, my question is: is the coordinate system of Incscape and that of Java Application, the same? (for the shapes etc?) IF it is, then Yes I can see why it would be much easier to do it this way  Smiley
3  Game Development / Newbie & Debugging Questions / Re: Help pls: How to Draw a Board for Backgammon game on: 2007-07-29 22:11:56
Lol ok we were posting at the exact same moment! (does not happen often, does it?)

ok so in case I want to import my Real Photo of my own Backgammon, it is the same as if I would paint it in Photoshop or Inkscape.. right?

My question was: the Logic by which I should make the Graphics Backgammon Board, not the means by which I would draw it.

so which of my initial thoughts should I follow? no1? no2? or neither of them?
4  Game Development / Newbie & Debugging Questions / Re: Help pls: How to Draw a Board for Backgammon game on: 2007-07-29 22:07:57
I tried Incscape and what I found out was that it is just a paint Program, I can do the same with Photoshop by the way...

Am I missing something here that I should have understood by now?
5  Game Development / Newbie & Debugging Questions / Re: Help pls: How to Draw a Board for Backgammon game on: 2007-07-29 21:03:08
Get Inkscape.

-go to Document Properties (top/right icon)
-set the canvas size to something sensible
-setup the grid
-draw
-save Wink
-export as png

Then do matching checker graphics.

This is by far the quickest way. Additionally you won't have to figure out the positions... simply setup the grid in such a way that its easy to handle.

Sounds cool, I'll try it soon, thanks.

But: are you implying that you would do it following the 2nd approach that I mentioned in my initial post? Like drawing the Grid with Inkscape, make it transparent so as not to be visible, and then "sticking" it ON my real Photo of Backgammon?
6  Game Development / Newbie & Debugging Questions / Re: Help pls: How to Draw a Board for Backgammon game on: 2007-07-29 17:36:12
I would trace the image in gimp and export an SVG file, parse the SVG file and use it to create shapes to test for collision and draw highlights for mouse overs, etc. That, however, may be too much for yourself, so write a method that draws the shapes in alternate colours and check for collision with the mouse using shapes.

I'm sorry but I think I'll need a bit more detailed description of your suggestion, as I do not really understand what you are trying to say...  Embarrassed

I'm not so experienced u see...

Thanks again
7  Game Development / Newbie & Debugging Questions / Help pls: How to Draw a Board for Backgammon game on: 2007-07-29 16:16:37
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.  Huh
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  Smiley

Thanks in Advance,

HaDeS
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Mr.CodeIt (9 views)
2014-12-27 04:03:04

TheDudeFromCI (13 views)
2014-12-27 02:14:49

Mr.CodeIt (25 views)
2014-12-23 03:34:11

rwatson462 (56 views)
2014-12-15 09:26:44

Mr.CodeIt (46 views)
2014-12-14 19:50:38

BurntPizza (92 views)
2014-12-09 22:41:13

BurntPizza (113 views)
2014-12-08 04:46:31

JscottyBieshaar (83 views)
2014-12-05 12:39:02

SHC (94 views)
2014-12-03 16:27:13

CopyableCougar4 (102 views)
2014-11-29 21:32:03
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!