Adds Cover Image
* Release Command Changes * Embedded a cover image utilizing embedded resource feature
This commit is contained in:
@@ -3,5 +3,5 @@ if (Test-Path -Path $Folder){
|
|||||||
Remove-Item -LiteralPath .\game\ -Force -Recurse
|
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
|
aambundle -o game story.aastory
|
||||||
|
|||||||
12
story.dg
12
story.dg
@@ -1,15 +1,25 @@
|
|||||||
(story title) The Game
|
(story title) The Game
|
||||||
(story author) Indrajith K L
|
(story author) Indrajith K L
|
||||||
(story ifid)
|
(story ifid)
|
||||||
NCNNNXNN-NNNN-NXNN-NNNN-NNNNNNNNNNNN
|
AFC7894D-4FCE-49C5-A018-ABC364598EC4
|
||||||
(story blurb) An interactive fiction about the legendary 'DD the Destroyer'
|
(story blurb) An interactive fiction about the legendary 'DD the Destroyer'
|
||||||
(story release 1)
|
(story release 1)
|
||||||
(library links enabled)
|
(library links enabled)
|
||||||
(scoring enabled)
|
(scoring enabled)
|
||||||
(maximum score 2)
|
(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)
|
(intro)
|
||||||
(banner)
|
(banner)
|
||||||
|
(if)(interpreter can embed #coverimage)(then)
|
||||||
|
(div @center)(embed resource #coverimage)
|
||||||
|
(endif)
|
||||||
"You felt a sudden blow to your head."
|
"You felt a sudden blow to your head."
|
||||||
(line)
|
(line)
|
||||||
"Ouch..."
|
"Ouch..."
|
||||||
|
|||||||
Reference in New Issue
Block a user