html5 飞船动画
摘要:
Follow Mouse function Ship(){ this.x=0; this.y=0; this.width=25; this.height=20; this.rotation=0; this.showFlame=false;}Ship.prototype.draw=function(context){ context.save(); context.translate(this.x,this.y); context.rotate(this.rotation); ... 阅读全文
posted @ 2013-07-17 18:08 Ijavascript 阅读(335) 评论(0) 推荐(0)
浙公网安备 33010602011771号