Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Sun 29/05/2005 17:06:39

Title: agsCreditz v2.0 scrolling credits issues
Post by: on Sun 29/05/2005 17:06:39
OK, here's the bulk of it: in a 800x600 32-bit game, when running a credit sequence which does not fit onto the screen, i.e. it has more lines than can fit onto the screen at once, I set the settings to automatically calculate the start and end points and the sequence scrolls as it is supposed to, but it never finishes!!! The IsSequenceFinished does not return a corresponding value. This problem does not occur when the sequence can fit onto a single screen.
So, here comes the question: anyone ever come across this and, if so, how did you go abou fixing it?
Title: Re: agsCreditz v2.0 scrolling credits issues
Post by: AJA on Sun 29/05/2005 17:56:27
agsCreditz doesn't support 800x600 resolution... :-\

So, that'd probably mean that "automatic calculations" won't work and also the credits will probably look like a total chaos if the game is scaled to a different resolution when people play it.
Title: Re: agsCreditz v2.0 scrolling credits issues
Post by: on Mon 30/05/2005 15:20:01
Thanks! I was wondering if there might be a way around it (since it does work in 800X600, but only with "small" sequences), maybe something like multiple "small" sequences, or something?

P.S. Any chance of agsCreditz being updated any time soon to support 800x600? Should I wait a while or get working on a way around the problem?

edit: I just tried it in 640x480, IsSequenceFinished still does not return a value, I checked it out with an empty while loop and after 15000 iterations there still wasn't an update
Title: Re: agsCreditz v2.0 scrolling credits issues
Post by: AJA on Tue 31/05/2005 10:58:26
Quote from: maschyne on Mon 30/05/2005 15:20:01
P.S. Any chance of agsCreditz being updated any time soon to support 800x600?

I don't think so... I'm not even sure if I've still got the source code somewhere. So, sorry :(


Quote from: maschyne on Mon 30/05/2005 15:20:01
edit: I just tried it in 640x480, IsSequenceFinished still does not return a value, I checked it out with an empty while loop and after 15000 iterations there still wasn't an update

Hmm... that's weird. (Computer... freezing... must... bootttt)


-edit-

Okay, I found the source code. Automatic calculations should work and agsCreditz SHOULD print some text to the debug console of AGS which shows the calculated height of the sequence ("Sequence #1 height: 1574 pixels", for example).

Also, I didn't find anything wrong with IsSequenceFinished. Though, that doesn't mean that there wouldn't be anything wrong in the source code. But it has worked fine before (at least for me).

I hope you can fix it somehow :P
Title: Re: agsCreditz v2.0 scrolling credits issues
Post by: on Tue 31/05/2005 11:57:47
Thanks for the effort, I'm sure I'll work something out... ;D