Page 1 of 1
Card placement on table graphic
Posted: Sat May 09, 2020 12:25 pm
by setspike
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
Re: Card placement on table graphic
Posted: Sat May 09, 2020 12:44 pm
by Kent Briggs
setspike wrote:Is there a published doc/template showing the exact placement of the cards?
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.
Re: Card placement on table graphic
Posted: Sat May 09, 2020 1:34 pm
by efdenny
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.
Re: Card placement on table graphic
Posted: Sat May 09, 2020 1:41 pm
by Kent Briggs
Here's my actual code:
Code: Select all
table.boardX = [0, 252, 301, 350, 399, 448]; // Community card center coordinates
table.boardY = 210;
Ignore that first 0
Re: Card placement on table graphic
Posted: Sat May 09, 2020 4:16 pm
by efdenny
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.
oops, should be 245px wide.