自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(469)
  • 资源 (6)
  • 收藏
  • 关注

原创 CCScrollView及CCScrollView与CCMenu问题【终结篇】

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/3111[/url]

2013-02-16 08:57:25 126

原创 场景切换过程中的loading制作(愤怒的小鸟loading)

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/3100[/url]

2013-02-16 08:56:49 182

原创 CCScrollVIew Bug修改版:FDScrollView

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/3083[/url]

2013-02-16 08:56:10 138

原创 Dialog(弹窗)封装

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/3056[/url]

2013-01-30 09:18:32 121

原创 CCUserDefault加密

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/3049[/url]

2013-01-30 09:18:01 110

原创 CCScrollView的使用

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/3035[/url]

2013-01-21 13:00:12 113

原创 error LNK2019: 无法解析的外部符号 “public: static class cocos2d::extension::CCScrollView

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/3017[/url]

2013-01-21 12:59:50 401

原创 cocos2d-x音乐系统封装及使用

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2984[/url]

2013-01-18 09:26:43 128

原创 AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0x00000C2C) 8.24-bit little

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2978[/url]

2013-01-18 09:25:11 169

原创 setDesignResolutionSize适配后元素位置的设置

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2970[/url]

2013-01-18 09:24:33 225

原创 VS开发cocos2d-x常见错误

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2960[/url]

2013-01-10 12:58:46 118

原创 vs+cocos2d-x 导入第三方库 移植到android

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2955[/url]

2013-01-10 12:58:05 91

原创 如何使用CCMenuItemImage实现CCMenuItemToggle的开关效果

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2948[/url]

2013-01-10 12:57:28 155

原创 成为优秀程序员的10点建议

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2939[/url]

2013-01-10 12:56:57 159

原创 使用CocosBuilder注意事项

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2930[/url]

2012-12-28 12:58:41 133

原创 如何将iPhone模拟器的分辨率调整至720×1280

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2918[/url]

2012-12-28 12:57:28 428

原创 Mac下面搭建cocos2d-x android开发环境

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2913[/url]

2012-12-28 12:56:58 105

原创 Mac下配置android环境变量(adb)

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2909[/url]

2012-12-28 12:56:15 160

原创 使用CCScrollView后,如果有菜单,不能拖动【优先级问题】问题解决

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2894[/url]

2012-12-21 21:42:50 139

原创 Cocos2d-x内存管理(二)

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2868[/url]

2012-12-21 21:42:06 93

原创 Cocos2d-x内存管理(一)

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2865[/url]

2012-12-21 21:41:15 104

原创 网站论坛:火龙论坛 正式成立

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2850[/url]

2012-12-20 13:12:31 222

原创 类似愤怒的小鸟层滑动的视差效果(CCParallaxNode)和粒子效果内存泄露问题

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2831[/url]

2012-12-20 13:12:25 143

原创 Box2d物体移动

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2791[/url]

2012-12-20 13:12:19 286

原创 将CCUserDefault的“1,2,3”转化为数组

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2784[/url]

2012-12-20 13:12:09 453

原创 cocos2d-x监听android的菜单和返回按钮

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2767[/url]

2012-12-20 13:12:02 111

原创 cocos2d-x开发环境在win + eclipse配置

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2751[/url]

2012-12-19 09:03:28 100

原创 box2d 遍历世界中的body方法讲解

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2745[/url]

2012-12-19 09:03:22 158

原创 cocos2d-x 多点触摸缩放

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2739[/url]

2012-12-19 09:03:12 167

原创 cocos2d-x(2.0.2)适配问题

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2728[/url]

2012-12-19 09:03:04 177

原创 cocos2dx(2.0.2)含有Box2d编译到android平台上

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2709[/url]

2012-12-19 08:59:16 111

原创 cocos2d-x坐标转化学习:黄教授课堂

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2703[/url]

2012-12-18 14:26:57 118

原创 场景放大缩小后的精灵移动和旋转问题

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2684[/url]

2012-12-18 14:26:20 166

原创 精灵360度范围内旋转

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2665[/url]

2012-12-18 14:25:51 141

原创 Box2d 设置物体旋转固定角度(不使用关节)

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2604[/url]

2012-12-18 14:24:53 429

原创 CCTextFieldTTF使用getString()方法获取值

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2548[/url]

2012-12-18 14:23:48 133

原创 Box2D API 中文:b2World 类参考

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2379[/url]

2012-11-07 09:02:42 92

原创 C/C++中的结构体

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2375[/url]

2012-11-07 09:02:19 124

原创 cocos2d-2.0-x-2.02版本体验

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2373[/url]

2012-11-07 09:01:52 167

原创 Cocos2d-x设计模式发掘之六:观察者模式

详情请参考:【Software Myzone】:[url]http://www.firedragonpzy.com.cn/index.php/archives/2370[/url]

2012-11-07 09:01:17 134

ruby多模型绑定

多模型绑定,最流行的ruby on rails 技术 开发效率远远高于java ,大约是ruby的十倍

2011-11-09

Microsoft.CertifyMe.70-536.v2011-01-12.by.Gaahl.281q

MCTS认证,绝对一手资料,往多多下载,大家共同学习,共同进步

2011-05-17

Microsoft.Certidea.70-536.v2011-04-20.by.Simon.168q

MCTS认证,绝对一手资料,往多多下载,大家共同学习,共同进步

2011-05-17

js中的完美下拉菜单

var mmenus = new Array(); var misShow = new Boolean(); misShow=false; var misdown = new Boolean(); misdown=false; var mnumberofsub=0; var musestatus=false; var mpopTimer = 0; mmenucolor='#89CB10';mfontcolor='MenuText';mmenuoutcolor='#ADEF34';mmenuincolor='#B5E74E';mmenuoutbordercolor='#ECFA3A';mmenuinbordercolor='#5A2614';mmidoutcolor='#A9DA1D';mmidincolor='#799310';mmenuovercolor='#004080';mitemedge='0';msubedge='1';mmenuunitwidth=66;mmenuitemwidth=140;mmenuheight=25;mmenuwidth='100%';mmenuadjust=0;mmenuadjustV=0;mfonts='font-family: 宋体; font-size: 9pt; color: MenuText; ';mcursor='hand'; var swipeSteps = 4; var swipemsec = 25; var swipeArray = new Array(); function swipe(el, dir, steps, msec) { if (steps == null) steps = swipeSteps; if (msec == null) msec = swipemsec; if (el.swipeIndex == null) el.swipeIndex = swipeArray.length; if (el.swipeTimer != null) window.clearTimeout(el.swipeTimer); swipeArray[el.swipeIndex] = el; el.style.clip = "rect(-99999, 99999, 99999, -99999)"; if (el.swipeCounter == null || el.swipeCounter == 0) { el.orgLeft = el.offsetLeft; el.orgTop = el.offsetTop; el.orgWidth = el.offsetWidth; el.orgHeight = el.offsetHeight; } el.swipeCounter = steps; el.style.clip = "rect(0,0,0,0)"; window.setTimeout("repeat(" + dir + "," + el.swipeIndex + "," + steps + "," + msec + ")", msec); } function repeat(dir, index, steps, msec) { el = swipeArray[index]; var left = el.orgLeft; var top = el.orgTop; var width = el.orgWidth; var height = el.orgHeight; if (el.swipeCounter == 0) { el.style.clip = "rect(-99999, 99999, 99999, -99999)"; return; } else { el.swipeCounter--; el.style.visibility = "visible"; switch (dir) { case 2: el.style.clip = "rect(" + height*el.swipeCounter/steps + "," + width + "," + height + "," + 0 + ")"; el.style.top = top - height*el.swipeCounter/steps; break; case 8: el.style.clip = "rect(" + 0 + "," + width + "," + height*(steps-el.swipeCounter)/steps + "," + 0 + ")"; el.style.top = top + height*el.swipeCounter/steps; break; case 6: el.style.clip = "rect(" + 0 + "," + width + "," + height + "," + width*(el.swipeCounter)/steps + ")"; el.style.left = left - width*el.swipeCounter/steps; break; case 4: el.style.clip = "rect(" + 0 + "," + width*(swipeSteps - el.swipeCounter)/steps + "," + height + "," + 0 + ")"; el.style.left = left + width*el.swipeCounter/steps; break; } el.swipeTimer = window.setTimeout("repeat(" + dir + "," + index + "," + steps + "," + msec + ")", msec); } } var mtmpleft=""; var mtmptop=""; function hideSwipe(el) { window.clearTimeout(el.swipeTimer); el.style.visibility = "hidden"; el.style.clip = "rect(-99999, 99999, 99999, -99999)"; el.swipeCounter = 0; if(mtmpleft!="")el.style.left = mtmpleft; if(mtmptop!="")el.style.top = mtmptop; } function stoperror(){ return true; } window.onerror=stoperror; function mpopOut() { mpopTimer = setTimeout('mallhide()', 500); } function getReal(el, type, value) { temp = el; while ((temp != null) && (temp.tagName != "BODY")) { if (eval("temp." + type) == value) { el = temp; return el; } temp = temp.parentElement; } return el; } function mMenuRegister(menu) { mmenus[mmenus.length] = menu return (mmenus.length - 1) } function mMenuItem(caption,command,target,isline,statustxt,level,img,sizex,sizey,pos){ this.items = new Array(); this.caption=caption; this.command=command; this.target=target; this.isline=isline; this.statustxt=statustxt; if(level!=null){mnumberofsub++; this.hasc=mnumberofsub;} this.level=level; this.img=img; this.sizex=sizex; this.sizey=sizey; this.pos=pos; } function mMenu(caption,command,target,img,sizex,sizey,pos){ this.items = new Array(); this.caption=caption; this.command=command; this.target=target; this.img=img; this.sizex=sizex; this.sizey=sizey; this.pos=pos; this.id=mMenuRegister(this); } function mMenuAddItem(item) { this.items[this.items.length] = item item.parent = this.id; this.children=true; } mMenu.prototype.addItem = mMenuAddItem; mMenuItem.prototype.addsubItem = mMenuAddItem; function mtoout(src){ src.style.borderLeftColor=mmenuoutbordercolor; src.style.borderRightColor=mmenuinbordercolor; src.style.borderTopColor=mmenuoutbordercolor; src.style.borderBottomColor=mmenuinbordercolor; src.style.backgroundColor=mmenuoutcolor; src.style.color=mmenuovercolor; }

2011-03-29

jquery框架 是学习jquery最常用的一种

最常用的js框架 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('7(1D 1u.6=="R"){1u.R=1u.R;v 6=q(a,c){7(1u==l)u 1q 6(a,c);a=a||12;7(6.1p(a))u 1q 6(12)[6.D.27?"27":"2P"](a);7(1D a=="20"){v m=/^[^<]*(<(.|\\s)+>)[^>]*$/.2M(a);7(m)a=6.41([m[1]]);I u 1q 6(c).2p(a)}u

2011-03-29

js的图片滚动效果,达到完美极致

完美的图片滚动效果 <h5><div id="scrollNews" class="scrollNews" style="overflow: hidden; WIDTH: 700px"> <nobr> <span id="scrollNews_cur"> <a href="http://news.lfang.com/NewsDetail-47528-1.html">·新地阿尔法国际社区精装豪宅实景呈现</a> <a href="http://news.lfang.com/NewsDetail-47528-1.html">·地中海阳光2#楼全新房源即将火爆开盘</a> <a href="http://news.lfang.com/NewsDetail-47528-1.html">·正荣大湖之都5月29日湖景多层盛大开盘</a> <a href="http://news.lfang.com/NewsDetail-47528-1.html">·金桥慧景儒苑全新房源闪耀面世</a> <a href="http://news.lfang.com/NewsDetail-47528-1.html">·红谷一品低密度电梯多层洋房均价4500元全城发售</a> </span><span id="scrollNews_ext"></span> </nobr> <script defer> ScrollStup(scrollNewsMar,'scrollNews','scrollNews_cur','scrollNews_ext',20); </script> </div></h5> <script language="JavaScript"> function MarqueeSelf(parentDiv,scrollObj,scrollExtObj){ // alert(2); if(document.getElementById(scrollExtObj).offsetWidth-document.getElementById(parentDiv).scrollLeft<=0) //当滚动至rolllink1与rolllink2交界时 document.getElementById(parentDiv).scrollLeft-=document.getElementById(scrollObj).offsetWidth; //rolllink跳到最顶端 else{ document.getElementById(parentDiv).scrollLeft++; } } var scrollNewsMar; function ScrollStup(intVar,parentDiv,scrollObj,scrollExtObj,rollspeed){ document.getElementById(scrollExtObj).innerHTML=document.getElementById(scrollObj).innerHTML //克隆rolllink1为rolllink2 intVar=setInterval("MarqueeSelf('"+parentDiv+"','"+scrollObj+"','"+scrollExtObj+"')",rollspeed) //设置定时器 document.getElementById(parentDiv).onmouseover=function() {clearInterval(intVar)}//鼠标移上时清除定时器达到滚动停止的目的 document.getElementById(parentDiv).onmouseout=function() {intVar=setInterval("MarqueeSelf('"+parentDiv+"','"+scrollObj+"','"+scrollExtObj+"')",rollspeed)}//鼠标移开时重设定时器 } </script>

2011-03-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除