Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
jQuery Canvas Drawing eats all my cpu after some time.
Old 09-30-2010, 04:26 AM jQuery Canvas Drawing eats all my cpu after some time.
ninom's Avatar
Experienced Talker

Posts: 44
Trades: 0
Hi,

A friend of me and I want to start a nice browser game. We are testing some technologies right now for the user interface. I'm testing if what we want to do can be done in jQuery and HTML5 (which would be the first choice, if it works).

Here is an example of what I did so far
http://nino-net.org/TestHTML5/

The speed is too high of course. It's our goal to rebuild our star system, but everything is 100x faster. (which means 3.6 days for the earth to go around the sun). Maybe the problems with too much CPU usage will all be gone in the and, as the reload cycle will be a lot slower in the end. What do you think of performance, can something like that be done in jQuery and HTML5? Is there maybe a problem in my code? any suggestions?

In the end there will also be moons orbiting the planets, and maybe (we are not sure about that yet) we will create orbiting satellites and space stations. Zooming will also be necessary, and the circles will be replaced by vector graphics. Do you think this will still be possible? Anyone tried something similar?

Oh and as you can see, I'm pretty new to jQuery. Are there any better ways implemented by jQuery to build objects, or to create functions? Am I using it right so far?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ninom is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to jQuery Canvas Drawing eats all my cpu after some time.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.46197 seconds with 12 queries