我想学习这个框架...
我从 github 下载了最新版本并将其放入 www 文件夹中,但我没有看到任何工作文件。
使用MAMP有严格要求吗?
Being a Unix environment at heart there are more options available on OS X than Windows. But if you'd like an "all in one" approach like WAMP, with a nice clean and easy to use interface, then we'd strongly recommend MAMP. This comes in two versions: one free and one paid for.
日志:
项目/轰炸机/
Viewport argument key "minimal-ui" not recognized and ignored.
此文件夹应位于 Phaser Examples 旁边,例如:
/webroot/phaser
/webroot/phaser-examples
我使用相对路径。
树示例中的错误日志:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (phaser.js, line 0) localhost/new_prototype_slot/STARTER/phaser-examples-master/examples/_site/js/phaser.jsFailed to load resource: the server responded with a status of 404 (Not Found)
任何建议谁在本地主机中启动示例!
最佳答案
下载brackets.io文本编辑器,打开index.html文件,然后单击“实时预览”按钮?
关于javascript - Phaser - 我无法启动任何示例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46197048/