I am trying to make a simple hidden object game using javascript. When the user finds and clicks an image, I want 3 things to happen in the following order; a sound plays, the image size increases, an
EDIT: Notice to others, premature optimisation is the root of all evil! Had I not been busily attempting to optimise every aspect of my code (it was a phase OK!) I\'d have made a nice, readable progra
We are trying to incorporate some timing of code in our application and have run into a potential problem. We would like the timing to be robust so that the periods where the computer is hibernating,
I would like to use Perl and/or Python to implement the following JavaScript pseudocode: var c=0; function timedCount()
Edit: Details updated to add differences in Firefox/Chrome behavior I am trying to create a bookmarklet that will load both jQuery and jQueryUI. The jQuery load uses javascript, but I figured since j
I was just looking at JavaScript Timing Events, and there it says that \"The second parameter indicates how many milliseconds from now you want to execute the first parameter.\"
This question is a follow-on to this other question. I have a game on the App Store that, only rarely, crashes when loading on iPad1. The game is resource-intensive and does indeed load up several la
Is there a function in Linux which allows me to see how much CPU did a process use after it finished? I need something simila开发者_StackOverflow中文版r to bash \"time\" command. I am fork()ing the pr
I am new to Actionscript and making a game to learn its ways. The game relies heavily on timing as it will be spawning enemies timed with music. For example spawn 2 enemies at exactly 1:31 minutes, st
Not sure if this is possible in light of physical limits on computer hardware or electrons but does there exist a practical way in any programming language to call a function every nanosecond? What li