Jump to content
SSForum.net is back!

Recommended Posts

Posted
pretty awesome

SSC Distension Owner
SSCU Trench Wars Developer


3:JabJabJab> sometimes i feel like when im in this mood im like a productive form of Cheese
Dr Brain> Pretty much everything you said was wrong. Except where you called me a lazy jerk with no time. That was true.
3:KrynetiX> do you ever open your web browser and type ?go google
5:Ceiu> Wow. My colon decided that was a good time to evacuate itself.

Posted

Yea seems like the jquery animations are causing some slow downs (try "jQuery.fx.off = true" in the console)

 

Have you tried using

bla();
function bla()
{
   try
   {
       // ...    
   }
   finally
   {
       setTimeout(bla, 25);
   }
}

 

instead of setInterval?

 

Canvas would probably speed things up too

Posted
Well I removed most of the jquery, in particular the .css() to set the div's position etc and swapped to standard javascript setAttribute it ran 100 times faster, so yeah, don't use jquery about 1000 times each 25ms :p

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...