Cinematic, no text visible

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
NylePudding
Posts: 6
Joined: Tue Sep 18, 2012 11:30 am

Cinematic, no text visible

Post by NylePudding »

I just followed the tutorial about how to make a cinematic after pretty much copy pasting the tutorial it doesn't completely work. I've managed to get my own custom music to play, however the text such as the intro and basic text simply isn't showing. The whole time my music plays in the background while the screen is black.

Here's my intro.lua file -

Code: Select all

--Intro to Apollyon's Lair
enableUserInput()
startMusic("mod_assets/sounds/intro.ogg")
-- show the title text
sleep(1)
setFont("IntroTitle")
showText("Apollyon's Lair", 3)
sleep(2)
fadeOutText(1)
-- show the story text
sleep(1)
setFont("Intro")
textWriter("test")
click()
fadeOutText(0.5)
fadeOut(4)
fadeOutMusic(3)
When I click the music fades out and my dungeon starts, so does anyone have any clue of how to fix this? I did a little search so I don't think anyone on these forums has had the same problem. (Sorry if my searching skills aren't up to par and there has been someone with the same problem)
User avatar
antti
Posts: 688
Joined: Thu Feb 23, 2012 1:43 pm
Location: Espoo, Finland
Contact:

Re: Cinematic, no text visible

Post by antti »

The cinematics start faded out by default. You can fix this by adding a fadeIn, like this for example:

Code: Select all

--Intro to Apollyon's Lair
enableUserInput()
startMusic("mod_assets/sounds/intro.ogg")
-- show the title text
fadeIn(1)
sleep(1)
setFont("IntroTitle")
showText("Apollyon's Lair", 3)
sleep(2)
fadeOutText(1)
-- show the story text
sleep(1)
setFont("Intro")
textWriter("test")
click()
fadeOutText(0.5)
fadeOut(4)
fadeOutMusic(3)
Steven Seagal of gaming industry
User avatar
NylePudding
Posts: 6
Joined: Tue Sep 18, 2012 11:30 am

Re: Cinematic, no text visible

Post by NylePudding »

Thank you very much, I thought that was a part of showing the image for some reason. Won't make that mistake again. =P
Post Reply