Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

jdub

Member Since 01 Aug 2007
Offline Last Active Yesterday, 04:32 PM
-----

Posts I've Made

In Topic: Newbie Javascript question

18 May 2013 - 03:41 PM

Oops.  I realized that I only posted part of the code I have.  Here is more relevant code:

 

//create singleton class
var sim = new function()
{
...
this.Run = function()
	{
		this.tickIntervalId = setInterval(this.Tick, 1000/60); //Update at 60 fps
	};
...

this.Update = function (elapsedMS) {
		
	  for (var i = 0; i < nodeArr.length; i++) {
		nodeArr[i].Update();
	  }
	};
...
this.Tick = function () 
	{
		var currTime = Date.now();
		var elapsedMS = currTime - this.lastUpdateTime;

		this.Update(elapsedMS);
		this.Render();

		this.lastUpdateTime = currTime;
	};
};

sim.Run();

In Topic: Issue trying to create a shared resource

01 April 2013 - 01:42 AM

*bump* any ideas?


In Topic: Qt Image won't load?

16 March 2013 - 11:52 PM

Yes it is failing when I actually try and create the image itself.  Where can I go to download this dll?


In Topic: Qt Image won't load?

16 March 2013 - 07:22 PM

forward slashes don't work either.  Double checked the path again and it seems to be right.  Hmm this is very confusing


In Topic: Issue debugging shaders within Visual Studio 2012

15 March 2013 - 01:39 PM

Yep.  It was the debug flags.  I feel so derp right now


PARTNERS