{
"classname": null,
"name": null,
"animation": {
"classname": null,
"name": "AnimationManager",
"actionlist": []
},
"designHeight": 320,
"designWidth": 480,
"textures": [],
"version": "0.3.2.0",
"widgetTree": {
"classname": "Panel",
"name": null,
"children": [
{
"classname": "Panel",
"name": null,
"children": [
{
"classname": "Button",
"name": null,
"children": [],
"options": {
"__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI",
"classname": "Button",
"name": "weapon_button",
"ZOrder": 0,
"actiontag": 291,
"anchorPointX": 0.5,
"anchorPointY": 0.5,
"classType": null,
"colorB": 255,
"colorG": 255,
"colorR": 255,
"flipX": false,
"flipY": false,
"height": 54,
"opacity": 255,
"rotation": 0,
"scaleX": 1,
"scaleY": 1,
"tag": 269,
"touchAble": true,
"useMergedTexture": false,
"visible": true,
"width": 55,
"x": 275,
"xProportion": 0.5729167,
"y": 27.5,
"yProportion": 0.458333343,
"capInsetsHeight": 18,
"capInsetsWidth": 18.333334,
"capInsetsX": 18.333334,
"capInsetsY": 18,
"disabled": null,
"disabledData": {
"path": "Test/UIResForEditor/Button/symbol_1c.png",
"plistFile": null,
"resourceType": 0
},
"normal": null,
"normalData": {
"path": "Test/UIResForEditor/Button/symbol_1a.png",
"plistFile": null,
"resourceType": 0
},
"pressed": null,
"pressedData": {
"path": "Test/UIResForEditor/Button/symbol_1B.png",
"plistFile": null,
"resourceType": 0
},
"scale9Enable": false,
"scale9Height": 54,
"scale9Width": 55
}
},
{
"classname": "Button",
"name": null,
"children": [],
"options": {
"__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI",
"classname": "Button",
"name": "equip_button",
"ZOrder": 0,
"actiontag": 290,
"anchorPointX": 0.5,
"anchorPointY": 0.5,
"classType": null,
"colorB": 255,
"colorG": 255,
"colorR": 255,
"flipX": false,
"flipY": false,
"height": 56,
"opacity": 255,
"rotation": 0,
"scaleX": 1,
"scaleY": 1,
"tag": 268,
"touchAble": true,
"useMergedTexture": false,
"visible": true,
"width": 78,
"x": 175,
"xProportion": 0.364583343,
"y": 27.5,
"yProportion": 0.458333343,
"capInsetsHeight": 18.666666,
"capInsetsWidth": 26,
"capInsetsX": 26,
"capInsetsY": 18.666666,
"disabled": null,
"disabledData": {
"path": "Test/UIResForEditor/Button/button_country_un.png",
"plistFile": null,
"resourceType": 0
},
"normal": null,
"normalData": {
"path": "Test/UIResForEditor/Button/button_country_n.png",
"plistFile": null,
"resourceType": 0
},
"pressed": null,
"pressedData": {
"path": "Test/UIResForEditor/Button/button_country_p.png",
"plistFile": null,
"resourceType": 0
},
"scale9Enable": false,
"scale9Height": 56,
"scale9Width": 78
}
}
],
"options": {
"__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI",
"classname": "Panel",
"name": "button_panel",
"ZOrder": 0,
"actiontag": 324,
"anchorPointX": 0,
"anchorPointY": 0,
"classType": null,
"colorB": 255,
"colorG": 255,
"colorR": 255,
"flipX": false,
"flipY": false,
"height": 60,
"opacity": 255,
"rotation": 0,
"scaleX": 1,
"scaleY": 1,
"tag": 306,
"touchAble": false,
"useMergedTexture": false,
"visible": true,
"width": 480,
"x": 0,
"xProportion": 0,
"y": 0,
"yProportion": 0,
"backGroundImage": null,
"backGroundImageData": null,
"backGroundScale9Enable": false,
"bgColorB": 0,
"bgColorG": 0,
"bgColorOpacity": 0,
"bgColorR": 0,
"bgEndColorB": 0,
"bgEndColorG": 0,
"bgEndColorR": 0,
"bgStartColorB": 0,
"bgStartColorG": 0,
"bgStartColorR": 0,
"capInsetsHeight": 0,
"capInsetsWidth": 0,
"capInsetsX": 0,
"capInsetsY": 0,
"clipAble": false,
"colorType": 0,
"vectorX": 0,
"vectorY": 0
}
},
{
"classname": "Panel",
"name": null,
"children": [
{
"classname": "Panel",
"name": null,
"children": [
{
"classname": "Label",
"name": null,
"children": [],
"options": {
"__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI",
"classname": "Label",
"name": "text",
"ZOrder": 1,
"actiontag": 295,
"anchorPointX": 0.5,
"anchorPointY": 0.5,
"classType": null,
"colorB": 255,
"colorG": 255,
"colorR": 255,
"flipX": false,
"flipY": false,
"height": 10,
"opacity": 255,
"rotation": 0,
"scaleX": 1,
"scaleY": 1,
"tag": 139,
"touchAble": false,
"useMergedTexture": false,
"visible": true,
"width": 20,
"x": 9.813976,
"xProportion": 0.0737893,
"y": 5.17501259,
"yProportion": 0.5750014,
"fontName": "SongTypeFont",
"fontSize": 10,
"fontType": 0,
"text": "背包",
"touchSacleEnable": false
}
},
{
"classname": "Button",
"name": null,
"children": [],
"options": {
"__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI",
"classname": "Button",
"name": "button",
"ZOrder": 1,
"actiontag": 296,
"anchorPointX": 0.5,
"anchorPointY": 0.5,
"classType": null,
"colorB": 255,
"colorG": 255,
"colorR": 255,
"flipX": false,
"flipY": false,
"he
没有合适的资源?快使用搜索试试~ 我知道了~
Cocos2d-x 手游聊天系统Demo
共479个文件
png:363个
csb:40个
json:40个
5星 · 超过95%的资源 需积分: 33 698 下载量 10 浏览量
2014-08-07
13:33:01
上传
评论 31
收藏 6.6MB ZIP 举报
温馨提示
本篇博客给大家分享的是一个手游聊天系统,笔者也是第一次使用Cocos2d-x来实现这样一个模块,其中有很多不清楚不明白的地方都是通过自己不断摸索实现的,前面笔者对聊天系统做的简单的需求分析,只是对聊天的一些元素进行的说明还不太够专业。本篇博客会给大家介绍如何实现一个手游聊天Demo,会从代码层面上给大家做相关的说明,如有不对或者错漏的地方请各位明确指出并纠正。
资源推荐
资源详情
资源评论
收起资源包目录
Cocos2d-x 手游聊天系统Demo (479个子文件)
background.caf 160KB
examples.csb 18KB
equip_1.csb 15KB
ui_textfield_editor_1.csb 8KB
UIButton_Editor_1.csb 7KB
ui_slider_editor_1.csb 6KB
ui_scrollview_both_editor_1.csb 6KB
ui_scrollview_horizontal_editor_1.csb 6KB
ui_loadingbar_editor_1.csb 6KB
ui_scrollview_editor_1.csb 6KB
ui_layout_linear_horizontal_layout_editor.csb 6KB
ui_layout_relative_align_parent_editor.csb 6KB
ui_listview_horizontal_editor_1.csb 6KB
ui_layout_color_editor_1.csb 6KB
ui_layout_relative_align_location_editor.csb 6KB
ui_listview_editor_1.csb 6KB
ui_layout_linear_vertical_layout_editor.csb 6KB
ui_layout_backgroundimage_editor_1_0_0.csb 6KB
ui_pageview_editor_1.csb 6KB
register_1.csb 6KB
ui_layout_scale9_backgroundimage_editor.csb 6KB
ui_layout_editor_1.csb 5KB
ui_layout_gradient_color_editor_1_0.csb 5KB
ui_ImageView_editor_1.csb 5KB
ui_label_editor_1.csb 5KB
page_1.csb 5KB
ui_checkbox_editor_1.csb 5KB
ui_labelatlas_editor_1.csb 5KB
ui_labelbmfont_editor_1.csb 5KB
map_1.csb 4KB
weapon_introduce_1.csb 4KB
UITest.csb 4KB
ui_widget_add_node_editor.csb 4KB
buy_1.csb 3KB
map_alert_1.csb 3KB
UIAction_1.csb 3KB
weapon_item_1.csb 2KB
NewProject_2_1.csb 2KB
weapon_item_1.csb 2KB
100.csb 2KB
CocoGUI_PageView_Sample.csb 805B
Cocostudio1_5_1.ExportJson 103KB
Cocostudio1_4_1.ExportJson 94KB
CocostudioV1_3_1.ExportJson 76KB
ChatUI_1.ExportJson 43KB
listview_item.ExportJson 11KB
100.ExportJson 7KB
NewProject_2_1.ExportJson 4KB
missing-font.fnt 25KB
missing-font.fnt 25KB
missing-font.fnt 25KB
missing-font.fnt 25KB
bitmapFontTest2.fnt 15KB
Rosewood stdloadingH.fnt 11KB
farm.jpg 113KB
chat_bg.jpg 17KB
Lina.jpg 7KB
examples.json 131KB
equip_1.json 97KB
ChatUI_1.json 46KB
UIButton_Editor_1.json 40KB
ui_textfield_editor_1.json 38KB
ui_slider_editor_1.json 33KB
ui_pageview_editor_1.json 32KB
ui_loadingbar_editor_1.json 30KB
ui_label_editor_1.json 29KB
ui_listview_horizontal_editor_1.json 28KB
ui_scrollview_horizontal_editor_1.json 28KB
ui_scrollview_both_editor_1.json 28KB
ui_listview_editor_1.json 28KB
ui_ImageView_editor_1.json 27KB
ui_scrollview_editor_1.json 26KB
ui_layout_relative_align_parent_editor.json 26KB
ui_layout_linear_horizontal_layout_editor.json 26KB
ui_layout_relative_align_location_editor.json 26KB
ui_layout_linear_vertical_layout_editor.json 26KB
ui_layout_backgroundimage_editor_1_0_0.json 24KB
ui_layout_scale9_backgroundimage_editor.json 24KB
ui_layout_editor_1.json 24KB
ui_layout_color_editor_1.json 24KB
ui_layout_gradient_color_editor_1_0.json 24KB
ui_checkbox_editor_1.json 22KB
ui_labelatlas_editor_1.json 21KB
ui_labelbmfont_editor_1.json 21KB
register_1.json 21KB
page_1.json 21KB
map_1.json 17KB
ui_widget_add_node_editor.json 13KB
weapon_introduce_1.json 13KB
UITest.json 12KB
CocoGUISample.json 9KB
buy_1.json 9KB
UIAction_1.json 7KB
map_alert_1.json 7KB
weapon_item_1.json 5KB
weapon_item_1.json 5KB
CocoGUI_PageView_Sample.json 1KB
ChatScene.lua 22KB
GameScene.lua 6KB
main.lua 1KB
共 479 条
- 1
- 2
- 3
- 4
- 5
小巫技术博客
- 粉丝: 9904
- 资源: 46
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页