
El juego es este: http://www.fileden.com/files/2010/3/13/2792934//moonwalk0.5.swf
(tarda un pokito en cargar xq tiene música)
La idea q tengo es q cada vez q una bolita toke el piso se sume 1 a la puntuacion, pero nose que campo de texto crear ni como hacer

el codigo que hace q las bolitas se repitan y hagan lo del zorro es este:
Código ActionScript :
fuerza = 25; velocidad = 0; _root.onEnterFrame = function() { velocidad += fuerza; objeto._y += velocidad; pinche._y +=velocidad pinche2._y+=velocidad status = _root.objeto.hitTest(_root.pinche); if (status ==true){ gotoAndStop(11) } status = _root.objeto.hitTest(_root.pinche2); if (status ==true){ gotoAndStop(11) } status = _root.objeto.hitTest(_root.pinche3); if (status ==true){ gotoAndStop(11) } if (pinche._y > 200){ pinche._y = 0; pinche._x = random (750); } if (pinche2._y > 200){ pinche2._y = 0; pinche2._x = random (750); } if (pinche3._y > 200){ pinche3._y = 0; pinche3._x = random (750); } if (objeto._y>65) { objeto._y = 65; velocidad *= 0; } if (objeto._y < 30){ objeto._y = 30; } if (objeto._y < 5){ objeto._y = 5; } if (objeto._x > 660){ objeto._x = 650; } if (objeto._x <75) { objeto._x = 80; } }
supongo q para agregar el score tiene q ser con el status no?
agregarle a los anteriores status
Código ActionScript :
if(status==false){ score=+5; }
como verán soy nuevo en esto

desde ya muchas gracias