Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm not sure if its a bug in latest version. when I set time scale to 0, everything stopped but the object can still remain rotating if its set to rotate before.
<img src="https://dl.dropbox.com/u/1396615/bugImage/rotating%20issue.png" border="0" />
Develop games in your browser. Powerful, performant & highly capable.
You need to rotate the monster by 10*dt in order for delta time to have effect.
Should it not be doing this by default? It seems everything else in C2 has a line like:
mx = this.dx * dt * this.rightx;
my = this.dx * dt * this.righty;
push_dist = Math.max(Math.abs(this.dx * dt * 2.5), 30);
Behaviors use delta time behind the scenes but that's it. There's a manual entry on delta time here that explains it in more detail.
It's not possible for Construct 2 to automatically apply dt to actions like 'rotate clockwise', since it would break events like "On spacebar pressed: rotate 90 degrees".
Thanks for the help and info. I think it should be enough to fix. guess I will learn more about C2:D