Skip to content

Commit 672ae62

Browse files
committed
Fix credits missing font
1 parent e71b553 commit 672ae62

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

app.avdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Rue
33

44
# An ever increasing integer
55
# used to be able to compare versions
6-
version_code: 22
6+
version_code: 23
77

88
# A human-readable version, usually with the
99
# notation [Major].[Minor].[Patch]
10-
version_name: 1.3.0
10+
version_name: 1.3.1
1111

1212
# Updates on the project's build
1313
# while the project remains the same

include/credits.ddh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
(def int fastForward)
2424

25+
(def avdl_font font)
26+
2527
(function void create ())
2628
(function void onload ())
2729
(function void resize ())

metadata/changelog.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* Added a new `ttf` font, that looks more playful, and can eventually support multiple languages.
2-
* Fixed an issue that would sometimes cause a crash on windows builds
1+
* Fix font issue making credits not display

src/credits.dd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
(= this.animation 0)
3131
(= this.fastForward 0)
3232

33+
(this.font.set (asset "assets/nishiki_teki.ttf" DD_PLY) 4)
34+
(this.labelCredits.setFont this.font)
35+
(this.labelTom.setFont this.font)
36+
(this.labelProgrammer.setFont this.font)
37+
(this.labelShiitakespacewarrior.setFont this.font)
38+
(this.labelMusicSfx.setFont this.font)
39+
3340
)
3441
)
3542

0 commit comments

Comments
 (0)