From ed5a000e84217d36d942080a4154bd7d6c260b08 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 13 Jun 2022 01:27:51 +0530 Subject: Adds Cover Image * Release Command Changes * Embedded a cover image utilizing embedded resource feature --- cover.png | Bin 0 -> 3744 bytes release.ps1 | 2 +- story.dg | 12 +++++++++++- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 cover.png diff --git a/cover.png b/cover.png new file mode 100644 index 0000000..faecd0c Binary files /dev/null and b/cover.png differ diff --git a/release.ps1 b/release.ps1 index f79cea5..7f4b4f6 100644 --- a/release.ps1 +++ b/release.ps1 @@ -3,5 +3,5 @@ if (Test-Path -Path $Folder){ Remove-Item -LiteralPath .\game\ -Force -Recurse } -dialogc -t aa story.dg stdlib.dg +dialogc -t aa story.dg stdlib.dg -c .\cover.png -a "The Game" aambundle -o game story.aastory diff --git a/story.dg b/story.dg index 40b5e0a..2ba1fbe 100644 --- a/story.dg +++ b/story.dg @@ -1,15 +1,25 @@ (story title) The Game (story author) Indrajith K L (story ifid) - NCNNNXNN-NNNN-NXNN-NNNN-NNNNNNNNNNNN + AFC7894D-4FCE-49C5-A018-ABC364598EC4 (story blurb) An interactive fiction about the legendary 'DD the Destroyer' (story release 1) (library links enabled) (scoring enabled) (maximum score 2) +(define resource #coverimage) + cover.png; Indrajith K L's The Game +(style class @center) + margin-top: 1em; + margin-bottom: 1em; + text-align: center; + (intro) (banner) + (if)(interpreter can embed #coverimage)(then) + (div @center)(embed resource #coverimage) + (endif) "You felt a sudden blow to your head." (line) "Ouch..." -- cgit v1.2.3