javascript Crafty.js 教程
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11213094/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Crafty.js Tutorial
提问by starbeamrainbowlabs
This question has probably been asked before, but I didn't find it while searching.
这个问题之前可能有人问过,但我在搜索时没有找到。
Can anybody point me towards a good up to date tutorial for Crafty.js? I cannot seem to find one and I am having trouble getting my head around it. If there are no good tutorials, then are there any alternative HTML5 game engine libraries with a good tutorial?
有人能指点我一个关于 Crafty.js 的最新教程吗?我似乎找不到一个,而且我很难理解它。如果没有好的教程,那么有没有好的教程替代HTML5游戏引擎库?
Edit:I have tried reading 'starmelts' tutorials, but they seem a little bit confusing for me.
编辑:我曾尝试阅读 'starmelts' 教程,但它们对我来说似乎有点混乱。
Edit 2:The HTML5 game engine only has to work on desktop browsers, but especially chrome.
编辑 2:HTML5 游戏引擎只需要在桌面浏览器上工作,尤其是 chrome。
采纳答案by Simon
I am aware, that this question is quite old, but since it is highly ranked on google and there are so few well known tutorials available I going to post this link anyway.
我知道,这个问题已经很老了,但由于它在谷歌上排名很高,而且可用的众所周知的教程很少,我无论如何都会发布这个链接。
http://buildnewgames.com/introduction-to-crafty/
http://buildnewgames.com/introduction-to-crafty/
This is a really good, quick and up to date craftyjs tutorial. It teaches the key concepts of using this framework, by developing a small game.
这是一个非常好的、快速的和最新的craftyjs 教程。它通过开发一个小游戏来教授使用这个框架的关键概念。
回答by Leite
I've tested crafty a while back, haven't had a chance to work with it though.
不久前我测试了狡猾,但还没有机会使用它。
But when I was testing it, I've found these links useful.
但是当我测试它时,我发现这些链接很有用。
http://cykod.github.com/Presentations/HTML5/Crafty/and starmelt tutorial as you already know https://github.com/starmelt/craftyjstut/wiki
http://cykod.github.com/Presentations/HTML5/Crafty/和你已经知道的 starmelt 教程 https://github.com/starmelt/craftyjstut/wiki
Craftyjs doesn't have strong documentation yet, but there are some good articles scattered around that you might find useful. If you really want to, drop me a line, and I'll try and help you understand it as this will also help me.
Craftyjs 还没有强大的文档,但是散布着一些您可能会觉得有用的好文章。如果您真的想要,请给我留言,我会尽力帮助您理解它,因为这也会对我有所帮助。
回答by Kendall Frey
I would start with the offical tutorial. At first glance it looks pretty thorough.
我会从官方教程开始。乍一看,它看起来非常彻底。