Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Minimi on Wed 29/10/2003 16:36:25

Title: Best way to make an intro slide show?
Post by: Minimi on Wed 29/10/2003 16:36:25
I'm making as my intro some fullscreen 320x200 pictures, wich will be a cartoon to see. I want to show it like this. When you do "new game", then picture #1 must show up. When user clicks picture #2 shows ... and so on, untill last picture and then the game starts. Do I need to make a new room for every picture, or is there an better/easier way?
Title: Re:Best way to make an intro slide show?
Post by: on Wed 29/10/2003 16:45:09
I believe you can do it in a single room, using the create overlay feature for each image.
Title: Re:Best way to make an intro slide show?
Post by: Minimi on Wed 29/10/2003 20:01:46
Can you explain some more, because I don't understand :P
Title: Re:Best way to make an intro slide show?
Post by: on Wed 29/10/2003 22:50:16
Well I haven't done an intro yet myself so I don't know exactly where the script would go.

Basically you'd need to import all of the slide show pictures as sprites and then use the CreateOverlay, and RemoveOverlay(?) commands to make them appear and disappear as the player toggles through them.  

Read up a bit on overlays and if it is still unclear let me know and I will try to elaborate later tonight.
Title: Re:Best way to make an intro slide show?
Post by: Scummbuddy on Thu 30/10/2003 00:57:24
you could have all your bgs be connected one after another.  then if userclick then move viewport over...and so on. ( on one scrolling styled bg)
Title: Re:Best way to make an intro slide show?
Post by: CB.. on Thu 30/10/2003 01:00:33
allso how about using the animated backgrounds with a slow animation speed ?
 
Title: Re:Best way to make an intro slide show?
Post by: Scummbuddy on Thu 30/10/2003 01:02:18
well, he wants it to change on user click, so unless you just run the animation on that click, and that it would only be one frame of animation, really.
Title: Re:Best way to make an intro slide show?
Post by: CB.. on Thu 30/10/2003 01:08:37
ah got it!. .hadn't thought of that..!
Title: Re:Best way to make an intro slide show?
Post by: Gilbert on Thu 30/10/2003 02:28:21
Quote from: Scummbuddy on Thu 30/10/2003 01:02:18
well, he wants it to change on user click, so unless you just run the animation on that click, and that it would only be one frame of animation, really.

Well, he can use SetBackgroundFrame() anyway.

And the overlay idea can be good too, but I think it's better to use the raw draw functions to wedge the image on the bg rather than overlays, as overlays are "floating" thingies drawn on top, it can cause a more noticiable slowdown if the images are large.
Title: Re:Best way to make an intro slide show?
Post by: Minimi on Thu 30/10/2003 10:57:40
So what are you saying, should I make an animated background and use set background frame?? How much frames can I make?
Title: Re:Best way to make an intro slide show?
Post by: MrColossal on Thu 30/10/2003 11:53:19
5 with animated backgrounds

scummbuddy's solution is interesting i wouldn't have thought of that