HTML5游戏开发开源库件lufylegend1.3.1发布

原文:http://blog.csdn.net/lufy_legend/article/details/7440183

这次更新,其实也没加什么太多的内容,主要是为了方便使用,将库件重新封装成了一个文件,大家使用时只需要把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.js

lufylegend.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系列文章,具体连接如下

第一篇,显示一张图片
http://blog.csdn.net/lufy_legend/article/details/6753032
第二篇,利用Sprite来实现动画
http://blog.csdn.net/lufy_legend/article/details/6753032
第三篇,鼠标事件与游戏人物移动
http://blog.csdn.net/lufy_legend/article/details/6760812
第四篇,继承与简单的rpg
http://blog.csdn.net/lufy_legend/article/details/6770713
第五篇,Graphics绘图
http://blog.csdn.net/lufy_legend/article/details/6777784
第六篇,TextField与输入框
http://blog.csdn.net/lufy_legend/article/details/6782218
第七篇,自定义按钮
http://blog.csdn.net/lufy_legend/article/details/6798187
第八篇,图片处理+粒子效果
http://blog.csdn.net/lufy_legend/article/details/6798192
第九篇,仿URLLoader读取文件
http://blog.csdn.net/lufy_legend/article/details/6824136


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值