
11-20-2011, 12:20 AM
|
Extrinsical Anomaly
|
 |
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
|
|
Quote:
Originally Posted by Emera
Am I doing this right?
PHP Code:
//#CLIENTSIDE
function onCreated() {
setTimer(0.05);
}
function onTimeout() {
this.cx += ((player.x) - this.cx) * .1;
this.cy += ((player.y) - this.cy) * .1;
setFocus(this.cx, this.cy);
setTimer(0.05);
}
|
Did you test it..? |
__________________
Careful, thoughts and opinions here scare people.
|
|
|