Hi Kent,
I'm looking to make a custom table graphic and put outlines where the community cards will be placed. Is there a published doc/template showing the exact placement of the cards?
Thanks.
- J
Card placement on table graphic
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Card placement on table graphic
Not published but you can make a screenshot using the PrintScreen button on your keyboard while playing, using the default table size in desktop mode. Paste that into a graphics editor and measure pixel coordinates from the top left corner of the 700 x 510 table graphic.setspike wrote:Is there a published doc/template showing the exact placement of the cards?
Re: Card placement on table graphic
My measurements for an outline are 241.5 px wide by 67 px high with the center placed at 350 on the X axis and 210 on the Y axis. Seems to work the best for me so far.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Card placement on table graphic
Here's my actual code:
Ignore that first 0
Code: Select all
table.boardX = [0, 252, 301, 350, 399, 448]; // Community card center coordinates
table.boardY = 210;
Re: Card placement on table graphic
oops, should be 245px wide.efdenny wrote:My measurements for an outline are 241.5 px wide by 67 px high with the center placed at 350 on the X axis and 210 on the Y axis. Seems to work the best for me so far.