pzprjs icon indicating copy to clipboard operation
pzprjs copied to clipboard

add background images for new types

Open robx opened this issue 6 years ago • 6 comments

pzprjs traditionally has a dedicated background tile for each puzzle type. For some types these are missing, particularly all recently added types.

The current list of backgrounds is here: https://github.com/robx/pzprjs/blob/master/src-ui/js/ui/Misc.js#L81

The list of valid pids is here: https://github.com/robx/pzprjs/blob/master/src/pzpr/variety.js#L68

Current list of missing background images, via

(sed -ne '/toBGimage/,$p' < src-ui/js/ui/Misc.js | grep ': \[' | awk -F ':' '{print $1}' | tr -d '       '; ls src-ui/img | sed -e 's/.png$//') | sort > imgs
sed -ne '/Genre/,$p' < src/pzpr/variety.js | grep ': \[' | awk -F ':' '{print $1}' | tr -d '     ' | sort > pids
diff -u pids imgs
  • [ ] yajilin-regions
  • [ ] armyants
  • [ ] arukone
  • [ ] meander
  • [ ] onsen
  • [ ] simpleloop
  • [ ] stostone
  • [ ] usoone

It might be possible to port the background images for some of these from upstream pzpr.

robx avatar Sep 14 '19 10:09 robx

12x16 Curve Data png (16x12 tile) [hopefully doesn't have artefacts this time]

boboquack avatar Sep 14 '19 10:09 boboquack

Kropki png (16x16 tile) 16x16 or a lighter version 16x16 light or a darker version 16x16 darker

boboquack avatar Sep 14 '19 10:09 boboquack

Hetermonino png (45x45 tile) 45x45

Also the Kropki one was the wrong size here is an actual 16x16 one (the other was 17x16 so some of the 'squares' were rectangles) 16x16

boboquack avatar Sep 15 '19 02:09 boboquack

Nondango (21x21) nondango

x-sheep avatar Sep 19 '19 17:09 x-sheep

applied, thanks!

robx avatar Sep 20 '19 09:09 robx

(we've had a few new puzzle types in the past few weeks: off the top of my head, tents, detour, snake and symmetry area might want to be added to the list)

boboquack avatar May 04 '20 11:05 boboquack