home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Esportes / Tiro_al_Arco.swf / scripts / DefineSprite_156 / frame_1 / DoAction.as
Text File  |  2007-06-07  |  196b  |  4 lines

  1. _rotation = _rotation + random(6) - 2.5;
  2. _root.vientoX = Math.cos(_rotation / 180 * 3.1416) * _root.varFuerzaViento;
  3. _root.vientoY = Math.sin(_rotation / 180 * 3.1416) * _root.varFuerzaViento;
  4.