Alexstardust Posted August 23, 2008 Report Share Posted August 23, 2008 Hi, I'm making a sonic fangame and i need to find a way to make the screen shake. How to make a good trembling screen please ? can someone please help me. Link to comment Share on other sites More sharing options...
RedEchidna Posted August 23, 2008 Report Share Posted August 23, 2008 Have a counter for your tremble. Set the screen position to the character's position plus random(counter value) minus random(counter value), and have it always subtract 1 from the counter. Always:-Set Screen horizontal position to: X(Player) + random(Value(Tremble)) - random(Value(Tremble))-Set Screen vertical position to: Y(Player) + random(Value(Tremble)) - random(Value(Tremble))-Tremble Counter: Subtract 1 from Counter[/CODE]Just set the counter when you want the screen to shake. 1 Link to comment Share on other sites More sharing options...
Alexstardust Posted August 23, 2008 Author Report Share Posted August 23, 2008 Thanks it's work perfectly Link to comment Share on other sites More sharing options...
Recommended Posts