2D游戏制作:第五周作业
一,寻找不同颜色 1.index.html <!DOCTYPE html > < html lang ="en" > < head > < meta charset ="UTF-8" > < meta name ="viewport" content ="width=device-width,user-scalable=no" > < script src ="easeljs.min.js" ></ script > < script src ="Rect.js" ></ script > < link rel ="stylesheet" type ="text/css" href ="style.css" > < title > Title </ title > </ head > < body > < div class ="main" > < canvas id ="gameView" ></ canvas > </ div > < script src ="app.js" ></ script > </ body > </ html > 2.app.js var stage = new createjs.Stage( "gameView" ); createjs.Ticker.setFPS( 30 ); createjs.Ticker.addEventListener(