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).
Maybe you could represent an effect like this with a ShakeScreenBackground script command.
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)?
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.
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?
I was refered to ShakeScreenBackGround, which is not blocking.
ShakeScreen is bloking.
Well, puting ShakeScreenBackground to repeatedly_execute, will make this that Oswalt wants.