Community

SCI Programming => Mega Tokyo SCI Archive => Topic started by: Mr.Money on April 05, 2003, 10:00:57 AM

Title: Shaking screen?
Post by: Mr.Money on April 05, 2003, 10:00:57 AM
Hi,
I thought I remember someone else asking about how to shake the screen, but I cant seem to find the message. So can anyone tell me how to have your screen shake in the game?
Thanks
$$$
Title: Re:Shaking screen?
Post by: Eero R on April 05, 2003, 10:14:08 AM
From manual:

Quote
void ShakeScreen(number shakeCount, [number direction])
Shakes the screen shakeCount number of times. If the direction parameter is given, it shakes the specified direction. If it is not, it shakes from left to right.
The direction can be one of the following values defined in SCI.SH as follows: ssLEFTRIGHT Shakes the screen from left to right
ssUPDOWN Shakes the screen up and down
ssFULL_SHAKE Shakes the screen diagonally from the top left corner to the bottom right
Title: Re:Shaking screen?
Post by: Mr.Money on April 05, 2003, 11:56:57 AM
thanks