To be or not to be.That is a question!

---源于莎士比亚的《哈姆雷特》

导航

2013年7月17日 #

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)