HTML5游戏开发开源库件lufylegend1.3.1发布
openkk 13年前
<p><span style="font-size:12px;"><strong>这次更新,其实也加什么太多的内容,主要是为了方便使用,将库件重新封装成了一个文件,大家使用时只需要把lufylegend.js文件引入即可。</strong></span></p> <h2><span style="color:#ff6600;">一,lufylegend.js是什么?</span></h2> <p>lufylegend.js是个javascript库,它的前身是LegendForHtml5Programming,名字太长所以改了,它模 仿了ActionScript的语法,包含了 LSprite,LBitmapData,LBitmap,LLoader,LURLLoader,LTextField,LEvent等多个AS开发人 员熟悉的类,使得html5的开发可以变得简单。</p> <h2><span style="color:#ff6600;"><span style="line-height:26px;font-family:Arial;font-size:14px;">二,</span><span style="text-align:left;line-height:26px;font-family:Arial;font-size:14px;">lufylegend.js库件</span><span style="text-align:left;line-height:26px;font-family:Arial;font-size:14px;">的下载</span></span></h2> <p><span style="text-align:left;line-height:26px;font-family:Arial;color:#333333;font-size:14px;"><a href="/misc/goto?guid=4958336245844048837" target="_blank">http://legendforhtml5programming.googlecode.com/files/lufylegend1.3.1.js</a><br /> </span></p> <h2><span style="text-align:left;line-height:26px;font-family:Arial;font-size:14px;"><span style="color:#ff6600;">三,lufylegend.js的简易API文档</span></span></h2> <p><span style="text-align:left;line-height:26px;font-family:Arial;color:#333333;font-size:14px;"><a href="/misc/goto?guid=4958336246653591912" target="_blank">http://legendforhtml5programming.googlecode.com/files/lufylegendAPI1.3.1.html</a><br /> </span></p> <h2><span style="line-height:26px;font-family:Arial;font-size:14px;"><span style="color:#ff6600;">四,lufylegend.js库件的使用举例</span></span></h2> <p><span style="text-align:left;line-height:26px;font-family:Arial;color:#333333;font-size:14px;">下面是几个简单的例子,在下美工很烂,大家主要看一下功能。<br /> </span></p> <p><strong>1,俄罗斯方块</strong><br /> <a href="/misc/goto?guid=4958336247453546237" target="_blank">http://fsanguo.comoj.com/html5/jstoas10/index.html</a><br /> <img alt="HTML5游戏开发开源库件lufylegend1.3.1发布 " src="https://simg.open-open.com/show/ee6989ecc79b6c204ccd98de2ddc45e9.jpg" width="319" height="481" /></p> <p><strong>2,抽奖小游戏</strong><br /> <a href="/misc/goto?guid=4958336248246678877" target="_blank">http://fsanguo.comoj.com/html5/lottery_html5/index.html</a><br /> <img alt="HTML5游戏开发开源库件lufylegend1.3.1发布 " src="https://simg.open-open.com/show/f697f9003bd74d6b57317a84bbf7c77c.jpg" width="296" height="499" /></p> <p><strong>3,老虎机</strong></p> <p><a href="/misc/goto?guid=4958336249043137693" target="_blank">http://fsanguo.comoj.com/html5/slot/index.html</a><br /> <img style="width:491px;height:491px;" alt="HTML5游戏开发开源库件lufylegend1.3.1发布 " src="https://simg.open-open.com/show/813bd0cd477e69a8fdf944bf3b658d97.jpg" /></p> <p><strong>4,仿雷电</strong></p> <p><a href="/misc/goto?guid=4958336249840416320" target="_blank">http://fsanguo.comoj.com/html5/barrage2/index.html</a><br /> <img alt="HTML5游戏开发开源库件lufylegend1.3.1发布 " src="https://simg.open-open.com/show/3b61db677d151294ddbd672f68574a6c.jpg" width="478" height="787" /></p> <p><strong>5,Tower Defense(塔防)</strong></p> <p><a href="/misc/goto?guid=4958336250641702400" target="_blank">http://fsanguo.comoj.com/html5/td/index.html</a><br /> <img style="width:566px;height:335px;" alt="HTML5游戏开发开源库件lufylegend1.3.1发布 " src="https://simg.open-open.com/show/8afab155368c5c94639b3b1652a2a98c.jpg" /></p> <p><strong>6,RPG</strong></p> <p><a href="/misc/goto?guid=4958336251428369072" target="_blank">http://fsanguo.comoj.com/html5/rpg5/index.html</a><br /> <img alt="HTML5游戏开发开源库件lufylegend1.3.1发布 " src="https://simg.open-open.com/show/982b7326ec9a74c0a4419a3fd8ece5e4.jpg" width="484" height="288" /></p> <p><strong>7,连连看</strong></p> <p><a href="/misc/goto?guid=4958336252224658425" target="_blank">http://fsanguo.comoj.com/html5/lianlian/index.html</a><br /> <img style="width:561px;height:347px;" alt="HTML5游戏开发开源库件lufylegend1.3.1发布 " src="https://simg.open-open.com/show/e922778e4ccf71be71772d137227fdda.jpg" /></p> <h2><span style="color:#ff6600;"><span style="font-family:Arial;"><span style="line-height:26px;font-size:14px;">五</span></span>,lufylegend.js库件的构建过程</span></h2> <p>可以参照在下以前的用仿ActionScript的语法来编写html5系列文章,具体连接如下</p> 第一篇,显示一张图片 <br /> <a href="/misc/goto?guid=4958336253019386831" target="_blank">http://blog.csdn.net/lufy_legend/article/details/6753032</a> <br /> 第二篇,利用Sprite来实现动画 <br /> <a href="/misc/goto?guid=4958336253019386831">http://blog.csdn.net/lufy_legend/article/details/6753032</a> <br /> 第三篇,鼠标事件与游戏人物移动 <br /> <a href="/misc/goto?guid=4958336254558951769" target="_blank">http://blog.csdn.net/lufy_legend/article/details/6760812</a> <br /> 第四篇,继承与简单的rpg <br /> <a href="/misc/goto?guid=4958336255350884302" target="_blank">http://blog.csdn.net/lufy_legend/article/details/6770713</a> <br /> 第五篇,Graphics绘图 <br /> <a href="/misc/goto?guid=4958336256153041195" target="_blank">http://blog.csdn.net/lufy_legend/article/details/6777784</a> <br /> 第六篇,TextField与输入框 <br /> <a href="/misc/goto?guid=4958336256939294525" target="_blank">http://blog.csdn.net/lufy_legend/article/details/6782218</a> <br /> 第七篇,自定义按钮 <br /> <a href="/misc/goto?guid=4958336257739212990" target="_blank">http://blog.csdn.net/lufy_legend/article/details/6798187</a> <br /> 第八篇,图片处理+粒子效果 <br /> <a href="/misc/goto?guid=4958336258536225231" target="_blank">http://blog.csdn.net/lufy_legend/article/details/6798192</a> <br /> 第九篇,仿URLLoader读取文件 <br /> <a href="/misc/goto?guid=4958336259327612299" target="_blank">http://blog.csdn.net/lufy_legend/article/details/6824136</a>