首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > js engine to explore the new js features

js engine to explore the new js features

  • 资源大小:2.04 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: javascript canvas AppEngine

资 源 简 介

K.js Canvas Engine K is a 2D js canvas engine is created from scratch to explore the optimum way porting my flash game to HTML5. I want it as simple as we can but easy for flash developers to understand and having all important flash platform features. While it is still in betha version, the examples includes all items you need. Actually the examples is a testing tool for me to assure engine functionality. You can download it in download-page. preloader I have created a simple preloader to avoid unloaded problems so we can create image and loading it than continue the code without worry". Call preloader.start() at the end of the code. It is not suspending the loading, just to assure our code will be called as expected. Initializing k-js Easy, just like this: K.init(document.getElementById("yourCanvasId"); Working with Sprite The following code examples explain it-self
VIP VIP
0.187148s