Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Glad you and your kids had fun with it!

The valentine's day theme does limit its applicability, but it should be reasonably easy to repurpose for other holidays in the future; everything is data-driven, and adding cover art or border images is simply a matter of creating new cards that follow an appropriate naming convention.

Decker cards are 512x342 pixels by default, just like the display on a Macintosh Plus. Most of the cards in the wizard expose a "render[]" event handler that composites together their preview image (locally) and is invoked by subsequent cards to assemble more and more of the final greeting card image. The script for the "Border" card can be seen here:

on view do
 on tr x do (count "back_") drop x end
 back.value:select "Border Style":tr@key where key like "back_*" from deck.cards
 preview.clear[]
 preview.paste[render[]]
end
on render do
 i:deck.cards["back_%s" format first back.rowvalue].image.copy[]
 i.transform["right"]
 i
end

If the images look somewhat horizontally compressed on the final printout it probably relates to how much of the page border your printer is filling and how the PDF aspect ratio gets squeezed. I dialed things in fairly close for my home laser printer, but this behavior can vary quite a bit.