会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
一生不过烟花
红杏青坪过,酒诗送满堂。 玉阑花飞落,不负故人妆。
博客园
首页
新随笔
新文章
联系
管理
订阅
上一页
1
···
19
20
21
22
23
24
25
26
27
···
33
下一页
2016年4月20日
cocosstdio之字体之文本和FNT字体
摘要: FNT字体和文本字体的作用是:导入字体资源可以使用字体资源便可以使用其资源内的字体来在程序中使用 不同的是FNT字体资源内容比较少,所以个人猜想可以在特定情况下使用: 两种字体资源对比: 赋值过程对比:
阅读全文
posted @ 2016-04-20 19:09 baraka
阅读(796)
评论(0)
推荐(0)
编辑
2016年4月19日
cocos之观察者模式应用实例
摘要: 观察位置: 定义宏常量位置: 添加观察者回调函数位置: 回调函数实现位置:
阅读全文
posted @ 2016-04-19 20:06 baraka
阅读(296)
评论(0)
推荐(0)
编辑
2016年4月13日
c++双字符常量
摘要: ascii表中 A是65,B是66,16706是A乘256+B 一些双字符的汉字也可以通过此方法转为int数字
阅读全文
posted @ 2016-04-13 11:30 baraka
阅读(252)
评论(0)
推荐(0)
编辑
2016年3月18日
spring之依赖注入
摘要:
阅读全文
posted @ 2016-03-18 15:51 baraka
阅读(124)
评论(0)
推荐(0)
编辑
spring之ioc
摘要: ioc:控制反转 inverse of control控制反转,又被称为依赖注入,一种重要的面向对象的法则来削减计算机程序的耦合问题
阅读全文
posted @ 2016-03-18 15:18 baraka
阅读(144)
评论(0)
推荐(0)
编辑
spring管理bean
摘要:
阅读全文
posted @ 2016-03-18 14:44 baraka
阅读(141)
评论(0)
推荐(0)
编辑
2016年3月13日
cocos2d-x之 利用富文本控件解析xhml标签(文字标签,图片标签,换行标签,标签属性)
摘要: 执行后效果: 前端使用: 后台SuperRichText解析code void SuperRichText::renderNode(tinyxml2::XMLNode *node){ while (node!=nullptr) { if (node->ToText()
阅读全文
posted @ 2016-03-13 00:47 baraka
阅读(1057)
评论(0)
推荐(0)
编辑
2016年3月12日
cocos2d-x之利用富文本控件遍历xml
摘要: 1. #ifndef SuperRichText_hpp #define SuperRichText_hpp #include <stdio.h> #include "cocos2d.h" #include "ui/UIRichText.h" #include "tinyxml2/tinyxml
阅读全文
posted @ 2016-03-12 23:11 baraka
阅读(806)
评论(0)
推荐(0)
编辑
cocos2d-x之Box2d初试
摘要: 物理引擎:用来模拟一套物理事件的物理代码。 #ifndef __HELLOWORLD_SCENE_H__ #define __HELLOWORLD_SCENE_H__ #include "cocos2d.h" #include <Box2D/Box2D.h> #define RATIO 80
阅读全文
posted @ 2016-03-12 21:22 baraka
阅读(309)
评论(0)
推荐(0)
编辑
2016年3月10日
cocos2d-x之物理引擎之碰撞监测
摘要: #include "HelloWorldScene.h" USING_NS_CC; #define RED_BIT_MASK 0b0100 #define GREEN_BIT_MASK 0b0010 #define BLUE_BIT_MASK 0b0001 #define EDGE_BIT_MASK
阅读全文
posted @ 2016-03-10 19:02 baraka
阅读(196)
评论(0)
推荐(0)
编辑
上一页
1
···
19
20
21
22
23
24
25
26
27
···
33
下一页
公告