shaking the screen
Posted: Fri Jul 15, 2011 9:41 pm
hi I was wondering to know if you know how I can shake the scene after a event. I mean I want make some kind of earthquake for example in my game do you have any idea?
x=xview;
y=yview;
if(quake==1)
{
x=xview-10+rand(20);
y=yview-10+rand(20);
}
quake=1;