set sound caption cameras

This commit is contained in:
2023-09-19 16:07:58 -06:00
parent b96f5a16f2
commit 837574e8fc

View File

@@ -771,6 +771,7 @@
plate (SpriteTools.textPlate "[${description}]" DIALOG_SIZE SUPER_MARGIN)]
(plate.screenCenter)
(set plate.y (+ CAPTION_Y (* plate.height row)))
(set plate.cameras [flxMovie.uiCamera])
(captions.add plate)
(dictSet captionIds id plate)
(FlxG.state.add plate)))