aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajith K L2022-06-13 01:27:51 +0530
committerIndrajith K L2022-06-13 01:27:51 +0530
commited5a000e84217d36d942080a4154bd7d6c260b08 (patch)
tree3f72591e384f7744f31b4536389ef7f6b8318257
parentaefec38767c798ad3c8ec8bdc224ddd53bf886c8 (diff)
downloaddialog-starter-ed5a000e84217d36d942080a4154bd7d6c260b08.tar.gz
dialog-starter-ed5a000e84217d36d942080a4154bd7d6c260b08.tar.bz2
dialog-starter-ed5a000e84217d36d942080a4154bd7d6c260b08.zip
Adds Cover ImageHEADmaster
* Release Command Changes * Embedded a cover image utilizing embedded resource feature
-rw-r--r--cover.pngbin0 -> 3744 bytes
-rw-r--r--release.ps12
-rw-r--r--story.dg12
3 files changed, 12 insertions, 2 deletions
diff --git a/cover.png b/cover.png
new file mode 100644
index 0000000..faecd0c
--- /dev/null
+++ b/cover.png
Binary files 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..."