lufylegend.js开源游戏引擎

一,lufylegend.js是什么?

lufylegend.js是个javascript库,它的前身是LegendForHtml5Programming,名字太长所以改了,它模仿了ActionScript的语法,包含了LSprite,LBitmapData,LBitmap,LLoader,LURLLoader,LTextField,LEvent等多个AS开发人员熟悉的类,使得html5的开发可以变得简单。

二,lufylegend.js库件的下载

http://lufylegend.com/lufylegend

三,lufylegend.js的在线API文档

http://lufylegend.com/lufylegend/api

四,lufylegend.js库件的使用举例

下面是几个简单的例子,大家主要看一下功能。

1,俄罗斯方块

http://lufy.netne.net/lufylegend-js/lufylegend-1.4/tetris/index.html


2,抽奖小游戏

http://lufy.netne.net/lufylegend-js/lufylegend-1.4/lottery_html5_mac/index.html


3,老虎机

http://lufy.netne.net/lufylegend-js/lufylegend-1.4/slot/index.html


4,仿雷电

http://lufy.netne.net/lufylegend-js/lufylegend-1.4/barrage/index.html


5,Tower Defense(塔防)

http://lufy.netne.net/lufylegend-js/lufylegend-1.4/td/index.html


6,RPG

http://lufy.netne.net/lufylegend-js/lufylegend-1.4/rpg/index.html


7,连连看

http://lufy.netne.net/lufylegend-js/lufylegend-1.4/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
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值