Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

LatestLater Reverse Order EarlierEarliest
Diagram Designer. Lets you display diagrams without uploading any graphics.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Sat, Jan 7, 2023 06:29 PM UTC:

I have now moved test.php to drawdiagram.php. It now uses the $scale value while drawing the board instead of after it is already drawn. So, if you want to use it with oversized SVG pieces at a size that will still look good when displayed at different sizes, you can do it by setting the scale value. Values under 20 will be interpreted as raw multiples, and values above 20 or with a % at the end will be interpreted as percentages. So, scale=2, scale=200, and scale=200% should all have the same effect. While there are still some issues with this script, I did not notice any that were not already in drawdiagram.php.


🕸💡📝Fergus Duniho wrote on Sat, Jan 7, 2023 01:40 AM UTC in reply to Fergus Duniho from Fri Jan 6 03:14 PM:

I made some progress on this today. It helped that I figured out how to customize the color temperature on my monitor and change the color theme of my text editor. Now that I have a dark background with lower light levels, it's easier to stare at code. In test.php, I got scaling to work for tiled boards, and I got the file markers to show up properly for the grid shape, but there are still issues with displaying full board images.


🕸💡📝Fergus Duniho wrote on Fri, Jan 6, 2023 03:14 PM UTC:

I just remembered this morning that I was working on updating a copy of drawdiagram.php for the sake of using the scale value while drawing the board instead of after it was all drawn, and I got stuck in the section for using board images. Meanwhile, I made some further changes to the main drawdiagram.php script. Before I do anything else with this script, I will have to integrate the change to both versions.


H. G. Muller wrote on Thu, Jan 5, 2023 07:46 AM UTC in reply to Fergus Duniho from 02:21 AM:

The file labels still seem to be positioned incorrectly.


🕸💡📝Fergus Duniho wrote on Thu, Jan 5, 2023 02:21 AM UTC:

I've now gotten drawdiagram.php to accept a theme parameter. This will not work without the game parameter, and it may sometimes require the settings parameter. The theme parameter includes a theme file after the settings file, further modifying settings to conform to a specific theme. Here's one test run with the Motif-Wood theme for Chess.


5 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.