Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 19th, 2012  |  syntax: ActionScript 3  |  size: 0.18 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. meraX = -_player.body.position.x + stageWidth/2;
  2.                                
  3.                                 _sky.x = ( cameraX ) * .01;
  4.                                 _objectsInWater.x = ( cameraX ) * .05;
  5.                                 _rocksLayer.x = ( cameraX ) * .02;