最新回答 / 随_忆
                                
                                                            可以参考我的代码,在gitHub上。可以在这里找到https://github.com/cj96248/tinyHeart,图片和js代码都有,可以完美运行,不过不要直接拷贝过去啊,我也是自己敲的。
                            
                        
                        2017-07-20
                
            
                                最新回答 / 随_忆
                                
                                                            如果在写的时候,发现有问题的,可以参考我的代码,在gitHub上。可以在这里找到https://github.com/cj96248/tinyHeart,图片和js代码都有,可以完美运行。
                            
                        
                        2017-07-20
                
            
                                最新回答 / 随_忆
                                
                                                            可以参考我的代码,在gitHub上。可以在这里找到https://github.com/cj96248/tinyHeart,图片和js代码都有,可以完美运行,不过不要直接拷贝过去啊,我也是自己敲的。
                            
                        
                        2017-07-18
                
            
                                最新回答 / 我想说什么来着
                                
                                                            function drawBackground(){	ctx2.drawImage(bgPic, 0, 0, canWidth = 800, canHeight = 600);}应该是main.js中的canWidth = can1.width;	canHeight = can1.canHeight;没有获取到值
                            
                        
                        2017-07-18
                
            
                                最新回答 / 慕粉4373203
                                
                                                            ane初始化方法aneObj.prototype.init=function(){	for (var i=0;i<this.num ;i++ )	{		this.x[i]= i*10+Math.random()*20;//[0,1) 		this.len[i]=200+Math.random()*50; // 高度	}	//console.log("a");}
                            
                        
                        2017-06-14
                
             
             
        













