Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Dualnames on Fri 22/02/2008 21:15:13

Title: Question about Space Style Effect(Solved)
Post by: Dualnames on Fri 22/02/2008 21:15:13
Ok, I'm working on a space styled game(HHGTG). And I spent the whole day trying to make an awesome scroll effect(see your default screensaver with those stars passing through the screen) and I was wondering is this possible in AGS and what will the code be? I tried using Akumayo's Particle Engine but I couldn;t reach the similar effect or close to it.
Title: Re: Question about Space Style Effect
Post by: Radiant on Fri 22/02/2008 21:40:08
Certainly.

The easiest way is probably to do a parallax - make three background layers, the front two of which are mostly transparent (except for the stars) and scroll them in the background at different speeds. That'd give you a spacey effect.

Oh wait, that "exploding inward" screensaver? Ah, that's a particle engine, definitely. The trick lies in enlarging (and speeding up) the particles as they live longer.
Title: Re: Question about Space Style Effect
Post by: Galen on Fri 22/02/2008 23:07:06
I think he mean't that they should come towards the player.
Make some particles in the middle of the screen, shoot em out a random directions, start em small and scale them up as they move (is this possible atm?) if you can't, use 1px sprites.
Title: Re: Question about Space Style Effect
Post by: Dualnames on Sat 23/02/2008 00:59:41
Crazy excellent idea.. will try it.
Title: Re: Question about Space Style Effect
Post by: Gilbert on Sat 23/02/2008 01:12:11
Well I did make something similiar some time earlier, it was just for testing purpose.

Get it here (http://www.2dadventure.com/ags/3dstars.zip) and see if that helps, compile it with V2.72.
Title: Re: Question about Space Style Effect
Post by: Dualnames on Sat 23/02/2008 09:13:45
That helps... Thanks to all.(Mostly Gil)