How can I execute cocos2d-js html file? -
i made cocos2d-js project on osx. , debuged on webstorm. worked well. clicked index.html file. didn't work. black screen. set files on web server , tried again. web brower console said http://localhost:8080/html5/project.json
404 not found. file in same folder. want execute on local server , click. should do?
go project directory, start new terminal.
then: cocos run -p web
this run game web, -p
stands platform
also note, need clear browser's cached images , files after changes impact files or images.
cocos2d-js
No comments:
Post a Comment