HTML5游戏开发开源库件lufylegend1.3.1发布
2012-04-16 10:36
281 查看
原文:/article/1360494.html
这次更新,其实也没加什么太多的内容,主要是为了方便使用,将库件重新封装成了一个文件,大家使用时只需要把lufylegend.js文件引入即可。
lufylegend.js是个javascript库,它的前身是LegendForHtml5Programming,名字太长所以改了,它模仿了ActionScript的语法,包含了LSprite,LBitmapData,LBitmap,LLoader,LURLLoader,LTextField,LEvent等多个AS开发人员熟悉的类,使得html5的开发可以变得简单。
http://legendforhtml5programming.googlecode.com/files/lufylegend1.3.1.js
lufylegend.js 1.3.2版修正了1.3.1中firefox浏览器下鼠标失效的bug
http://legendforhtml5programming.googlecode.com/files/lufylegend1.3.2.js
http://legendforhtml5programming.googlecode.com/files/lufylegendAPI1.3.1.html
下面是几个简单的例子,在下美工很烂,大家主要看一下功能。
1,俄罗斯方块
http://fsanguo.comoj.com/html5/jstoas10/index.html
2,抽奖小游戏
http://fsanguo.comoj.com/html5/lottery_html5/index.html
3,老虎机
http://fsanguo.comoj.com/html5/slot/index.html
4,仿雷电
http://fsanguo.comoj.com/html5/barrage2/index.html
5,Tower Defense(塔防)
http://fsanguo.comoj.com/html5/td/index.html
6,RPG
http://fsanguo.comoj.com/html5/rpg5/index.html
7,连连看
http://fsanguo.comoj.com/html5/lianlian/index.html
可以参照在下以前的用仿ActionScript的语法来编写html5系列文章,具体连接如下
第一篇,显示一张图片
/article/1360510.html
第二篇,利用Sprite来实现动画
/article/1360510.html
第三篇,鼠标事件与游戏人物移动
/article/1360509.html
第四篇,继承与简单的rpg
/article/1360508.html
第五篇,Graphics绘图
/article/1360506.html
第六篇,TextField与输入框
/article/1360505.html
第七篇,自定义按钮
/article/1360504.html
第八篇,图片处理+粒子效果
/article/1360503.html
第九篇,仿URLLoader读取文件
/article/1360502.html
这次更新,其实也没加什么太多的内容,主要是为了方便使用,将库件重新封装成了一个文件,大家使用时只需要把lufylegend.js文件引入即可。
一,lufylegend.js是什么?
lufylegend.js是个javascript库,它的前身是LegendForHtml5Programming,名字太长所以改了,它模仿了ActionScript的语法,包含了LSprite,LBitmapData,LBitmap,LLoader,LURLLoader,LTextField,LEvent等多个AS开发人员熟悉的类,使得html5的开发可以变得简单。
二,lufylegend.js库件的下载
http://legendforhtml5programming.googlecode.com/files/lufylegend1.3.1.jslufylegend.js 1.3.2版修正了1.3.1中firefox浏览器下鼠标失效的bug
http://legendforhtml5programming.googlecode.com/files/lufylegend1.3.2.js
三,lufylegend.js的简易API文档
http://legendforhtml5programming.googlecode.com/files/lufylegendAPI1.3.1.html
四,lufylegend.js库件的使用举例
下面是几个简单的例子,在下美工很烂,大家主要看一下功能。1,俄罗斯方块
http://fsanguo.comoj.com/html5/jstoas10/index.html
2,抽奖小游戏
http://fsanguo.comoj.com/html5/lottery_html5/index.html
3,老虎机
http://fsanguo.comoj.com/html5/slot/index.html
4,仿雷电
http://fsanguo.comoj.com/html5/barrage2/index.html
5,Tower Defense(塔防)
http://fsanguo.comoj.com/html5/td/index.html
6,RPG
http://fsanguo.comoj.com/html5/rpg5/index.html
7,连连看
http://fsanguo.comoj.com/html5/lianlian/index.html
五,lufylegend.js库件的构建过程
可以参照在下以前的用仿ActionScript的语法来编写html5系列文章,具体连接如下第一篇,显示一张图片
/article/1360510.html
第二篇,利用Sprite来实现动画
/article/1360510.html
第三篇,鼠标事件与游戏人物移动
/article/1360509.html
第四篇,继承与简单的rpg
/article/1360508.html
第五篇,Graphics绘图
/article/1360506.html
第六篇,TextField与输入框
/article/1360505.html
第七篇,自定义按钮
/article/1360504.html
第八篇,图片处理+粒子效果
/article/1360503.html
第九篇,仿URLLoader读取文件
/article/1360502.html
相关文章推荐
- HTML5游戏开发开源库件lufylegend1.3.1发布
- HTML5游戏开发开源库件lufylegend1.4.1发布
- HTML5游戏开发开源库件lufylegend1.4.0发布,新增物理引擎Box2dWeb封装和缓动类TweenLite
- HTML5游戏开发开源库件lufylegend1.4.1发布
- (博客园首发)开源框架knot.js正式发布了,为前端开发带来全新的开发方式--CBS
- HTML5开源RPG游戏引擎lufylegendRPG 0.1发布
- Facebook发布开源项目Tweaks,让iOS应用开发更加便捷
- 开源物联网框架ServerSuperIO 3.0正式发布(C#),跨平台:Win&Win10 Iot&Ubuntu&Ubuntu Mate,一套设备驱动跨平台挂载,附:开发套件和教程。
- 自定义进度条PictureProgressBar——从开发到开源发布全过程
- 开源快速开发平台 WebBuilder 6.58 final 发布。
- OpenJWeb开源快速开发平台1000用户版发布公告
- [置顶] HTML5开源RPG游戏引擎lufylegendRPG 1.0.0发布
- 开源HTML5 APP开发神器CanTK发布
- HTML5开源RPG游戏引擎lufylegendRPG 0.1发布
- 开源物联网框架ServerSuperIO 3.0正式发布(C#),跨平台:Win&Win10 Iot&Ubuntu&Ubuntu Mate,一套设备驱动跨平台挂载,附:开发套件和教程。
- Taurus.MVC 2.0 开源发布:WebAPI开发教程
- 开源HTML5 APP开发神器CanTK发布
- plain framework 1(简约框架)一款主要用于网络(游戏)开发的C/C++框架 即将开源发布
- [置顶] HTML5开源RPG游戏引擎lufylegendRPG 1.0.0发布
- HTML5开源RPG游戏引擎lufylegendRPG 1.0.0发布