Looping viewport change?

Started by Ozwalled, Thu 12/08/2004 12:40:43

Previous topic - Next topic

Ozwalled

I was wondering if it would be possible to script a looping, non-blocking viewport change.

I was thinking it would be useful to simulate the bobbing motion of a ship floating on wavey water (if you were on its deck, for example).

SilverWizard_OTF

Maybe you could represent an effect like this with a ShakeScreenBackground script command. 
"All we have to decide is what to do, with the time that is given to us"

Ozwalled

Maybe... but does the screen shaking move all over the place, both vertically and horizontally (what I figured it did, though I could be wrong), or can/ does it work on a single axis/ plane (in this case, vertical)?

SilverWizard_OTF

#3
Well, i made some experiment and i think thatÃ,  it is based on the values that you will set.
I did this:Ã,  Ã, ShakeScreenBackgroung(50,10,10);
I mean, i put the last two values the same. And with that, it was shaking only verical.

Well, try it!Ã,  Ã, With values 50,10,10.
-------------
Oh, and put it to the Repeatedly_execute, allright?

--------
Oh, i realised that with this command, the screen shakes only vertical, to me  you know!   Maybe it is because of the resolution, or colour depth..
I have 800*600 and 16-bit.
"All we have to decide is what to do, with the time that is given to us"

Darth Mandarb

#4
Please, don't triple post ... use the modify button.Ã,  It's what it's there for! (scummyb edited your posts, wizard)

I haven't used shakescreen in a long time (since I was first experimenting with AGS) but isn't it blocking?

SilverWizard_OTF

I was refered to ShakeScreenBackGround, which is not blocking.
ShakeScreen is bloking.

Well, puting ShakeScreenBackground to repeatedly_execute, will make this that Oswalt wants.
"All we have to decide is what to do, with the time that is given to us"

SMF spam blocked by CleanTalk