Intermission Scroller

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
camaxide
Posts: 386
Joined: Thu Jun 11, 2015 8:38 am

Intermission Scroller

Post by camaxide »

I have an intermission with scrolling pictures.. is there a way to make a single fluent scroll over multiple images without a delay between them?
My scroll stops for 1 tick or so and it's very easy to see as it stutters. I want it to scroll smoothly, and without the player having to press a key to activate each new scroll-piece.

I use: https://zdoom.org/wiki/MAPINFO/Intermission_definition and it works fine except for the stutter. I'll post the code I use when I get back home.
User avatar
camaxide
Posts: 386
Joined: Thu Jun 11, 2015 8:38 am

Re: Intermission Scroller

Post by camaxide »

Code: Select all

Scroller
	{
		Background2 = "CRED3"
		InitialDelay = 0
		ScrollDirection = Down
		ScrollTime = -600
		Time = -600
	}
this is my code, Scrolltime and time is matched to make the next scroll happen right when the previous one let go

Return to “Scripting”