For some reason I'm now in urgent need of it.
BTW now the network ban here is extremely bad, which forced me to change several VPN and finally got the access to NG. sorry to those who I answer your PM so late :|
Animator, Composer, Game Designer, Webmaster, Programmer, Dreamer.
Age 26, Male
Full-stack developer
BUPT
China
Joined on 7/12/11
Posted by liuzirui1122 - August 23rd, 2015
For some reason I'm now in urgent need of it.
BTW now the network ban here is extremely bad, which forced me to change several VPN and finally got the access to NG. sorry to those who I answer your PM so late :|
Hacsev
I have one that I tested and it's supposed to be pretty efficient:
function cameraFollowCharacter(event:Event){
root.scrollRect = new Rectangle(player.x - stage.stageWidth/2, player.y - stage.stageHeight/2, stage.stageWidth, stage.stageHeight);
}
liuzirui1122
Many thanks!! This is really useful.