Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

How to shake screen

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Wapam
Hope this hurts.




Joined: 18 Jul 2007
Posts: 42
Location: lacaster , california

PostPosted: Sun Feb 24, 2008 6:26 pm    Post subject: How to shake screen Reply with quote

can someone please tell me how to shake screen??
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sun Feb 24, 2008 6:41 pm    Post subject: Reply with quote

What you probably want to use is the 'pan camera' command.

For example, let's say you want the screen to shake up and down.

Code:

Pan camera(Up,4,20)
wait for camera

#---------------------------- Repeat this as much as necessary
Pan camera(Down,8,20)
wait for camera
pan camera (Up,8,20)
wait for camera
#---------------------------- Repeat this as much as necessary

pan camera (down,4,20)
wait for camera


So the arguments basically work out as such:

(Direction, Number of Tiles, Camera Speed)

Manipulate as you wish.

Oh, and remember to add a 'Camera Follows Hero' command at the end of that.
Back to top
View user's profile Send private message Send e-mail AIM Address
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Feb 26, 2008 11:54 pm    Post subject: Reply with quote

http://moogle1.castleparadox.com/quake.php

Panning too far (8 tiles) would probably not give a very nice effect.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group