自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (4)
  • 收藏
  • 关注

原创 定义响应的手势类:长按手势,缩放手势

定义响应的手势类:长按手势,缩放手势// 初始化数据-(id) initWithData:(LQCityData *)citydata{ // always call "super" init // Apple recommends to re-assign "self" with the "super's" return value if( (self=[super ini

2012-11-20 09:58:27 505

转载 ccBlendFunc的使用

// 黑暗中的带背景图片纹理的光圈~  //        ccBlendFunc tmp_oBlendFunc = {GL_DST_COLOR, GL_ZERO};                   // 黑暗中的黄色光圈(前面表示upper,后面表示lower)~  //        ccBlendFunc tmp_oBlendFunc = {GL_ONE, GL_ZERO

2012-11-19 18:13:10 1406

原创 模态对话框的实现模板

类从CCLayerColor继承@interface LQModalLayer : CCLayerColor { }@interface LQModalLayer () { // 模态对话框菜单 CCMenu *m_pMenu; // 记录菜单点击 bool m_bTouchedMenu;}// 初始

2012-11-19 17:44:49 594

转载 cocos2d-屏蔽touch事件

http://blog.chukong-inc.com/index.php/2012/02/26/cocos2d-touch/问题描述:在使用cocos2d做ui时,经常会遇到,需要弹出一个子界面,并且需要屏蔽下层界面的touch事件。而弹出框上某些区域,或者按钮可以响应touch事件。解决方案步骤:1> 给弹出框添加带吞噬能力的touch代理功能。[[[CCDirec

2012-11-19 14:43:02 1287

原创 Cocos2d怎样使用原生态的控件

这个不难实现.只要你得到当前的视图,然后在这个视图上添加你想要的视图控件.UIView *view=[[DirectorsharedDirector] openGLView];新的cocos2d 2.0为UIView *view=[[DirectorsharedDirector] view];UIScrollView *scrollview = [[UIScro

2012-11-08 19:09:24 350

原创 Cocos2d-x学习:根据贝塞尔曲线进行抛物线移动补充,三角形顶点坐标获取某个角的角度

Himi的让CCSprite根据贝塞尔曲线进行抛物线移动其Blog原文:http://xiaominghimi.blog.51cto.com/2614927/665781 // 抛物线运动并同时旋转 -Himi //mSprite:需要做抛物线的精灵 //startPoint:起始位置 //endPoint:中止位置 //

2012-11-08 16:54:03 1231 1

转载 Cocos2d-x学习:动作Action(延时类动作)

【原文地址】http://blog.csdn.net/onerain88/article/details/7437944游戏中的大部分精灵都是动态的,所以动作类是游戏引擎中不可或缺的一部分,今天就简单的记录下Cocos2d-x中常用的动作类。Cocos2d-x提供了很多基本的动作类,主要包括两大类:一类是瞬时动作(CCActionInstant),一类是延时动作(CCAct

2012-11-08 16:46:05 502

转载 cocos2d-x中 场景中的层触摸消息应用

之前已经建立好了一个场景,在建立场景的时候,已经将一个CCLayer加到场景的子节点上,这个节点将作为这个场景的父节点,场景中所有的内容都将以它的孩子身份出现。在移动设备上,最常处理的就是触摸消息的响应了。 单点触控:Targeted Touch Delegate方式一个层接收触摸消息需要如下步骤:1,在初始化阶段将此层的属性设置为接收触摸消息。例如在init()函

2012-11-04 12:19:00 300

TexturePacker-2.4.3带license本资源

TexturePacker-2.4.3带license本资源

2012-11-09

Netron Diagram 2009,流程图工具源码

最新版本的NetronLight,比V2.5的版本改进不少,值得学习和扩展

2009-09-02

Netron Light v2.5 pre-release

netronlight .net开源流程图类库,类似visio,这个较轻量级版本多出不少东西。支持Group,支持Undo。但有些东西实现的较为啰嗦。不过不失为一个学习和再开发的项目。 Netron Light v2.5 pre-release The final release will be v3.0 around the summer 2006. You can however rely on the current interfaces and base classes, the core is stable. Many things are still missing in this pre-release but I have also stripped many features and things like documentation, unit tests, code comments, ASP.Net features and so on. While all the code is yours you'll have to register (it'll be around $50,-) for the documentation and all the fancy stuff. I hope to complete the 'ultimate guide to diagramming in C#' by the summer which will be accessible to registered users. Support is still kinda of a problem since I have little time. I hope the Netron forum will continue to deliver support and inspire (thanks to all who keep an eye on the forum). I have considered sort of billable consultancy and delivering custom versions of the diagram control(s) but I fear I don't have enough time and quiting my job to work full-time on Netron is an unreachable dream. Thanks to all of you who have donated to Netron and support this project by Email, chat or via the forum. I hope this pre-release will make you happy in the same way I enjoyed creating it. I beleive it contains a lot of stuff to explore and it's a little pearl of design. Thanks for downloading this, Francois [[email protected]]

2008-12-03

C# lexer 语法解析器

These tools comprise a lexer generator and a LALR(1) parser generator, written entirely in C# and generating C#.

2008-09-09

空空如也

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

TA关注的人

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