{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Cocos2d-x 3.X游戏开发实战(附光盘)

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Cocos2d-x 3.X游戏开发实战(附光盘)

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

《Cocos2d-x 3.X游戏开发实战》详细介绍CocosStudio开发工具和UI控件
《萌仙》《保卫公主》《疯狂打飞机》《疯狂打地鼠》等商业级游戏案例大揭秘


海报:

Content Description

《Cocos2d-x 3.X游戏开发实战》是一本介绍Cocos2d-x游戏引擎的实用图书,全面介绍了全新的Cocos2d-x3.2游戏引擎各方面的知识。
《Cocos2d-x 3.X游戏开发实战》从内容层次上可分为四个部分。第一部分介绍了游戏开发的基础知识、游戏引擎概念、Cocos2d-x的下载与安装,以及跨平台开发环境的搭建。第二部分介绍了Cocos2d-x中的核心类、动作、动画、3D特效、文字、字体、菜单、事件处理、UI控件、声音和数据存储等知识。第三部分介绍了Cocos2d-x的粒子系统、Tile地图、全新的物理引擎、内存管理机制。最后一部分详细介绍了Cocos2d-x官方提供的游戏开发工具CocosStudio。
《Cocos2d-x 3.X游戏开发实战》针对每一个知识点都通过相应的程序给出了示范,并结合Cocos2d-x自带的cpp-tests实例进行讲解,在总结一些知识点之后还开发了一些小游戏,目的是让读者全面掌握Cocos2d-x的基础理论和基本使用。
《Cocos2d-x 3.X游戏开发实战》包括多个类型的游戏实战项目,射击类游戏《疯狂打飞机》;真实手游《萌仙》;塔防类游戏《保卫公主》。这些游戏实战项目都具有极高的参考价值,希望读者通过学习本书的知识,充分利用本书的实战案例,真正步入Cocos2d-x游戏开发的殿堂。
Author Description

肖文吉,从事iOS平台及Android平台下的移动应用开发、教学多年,曾主持、参与开发多个大型手机游戏,且是在营用中的商业游戏,并与李刚老师合著畅销书《疯狂iOS讲义(下)》。
Catalogue

第1章Cocos2d-x游戏引擎介绍
1.1什么是游戏引擎
1.2Cocos2d游戏引擎
1.2.1Cocos2d的发展
1.2.2Cocos2d的特点
1.2.3Cocos2d的现在和未来
1.3Cocos2d-x游戏引擎
1.3.1选择Cocos2d-x的理由
1.3.2Cocos2d-x的主要功能
1.3.3Cocos2d-x3.0版本的各语言优化
1.3.4Cocos2d-x3.0的新特性
1.3.5使用了Cocos2d-x的游戏
1.4本章小结

第2章跨平台开发环境的搭建
2.1搭建iOS下的开发环境
2.1.1Cocos2d-x的安装与配置
2.1.2Cocos2d-x项目结构和代码分析
2.2搭建Windows下的开发环境
2.2.1Cocos2d-x的安装与配置
2.2.2Cocos2d-x工程目录和代码分析
2.3搭建Android下的开发环境
2.3.1软件的安装与环境变量配置
2.3.2构建Cocos2d-x工程
2.3.3在Eclipse下运行程序
2.4本章小结

第3章Cocos2d-x的核心类
3.1节点类(Node)
3.1.1Node类的成员变量
3.1.2Node类的函数
3.1.3坐标系
示例:测试锚点――AnchorPointTest
示例:测试Node类的常用函数――NodeTest
3.2场景类(Scene)
3.2.1TransitionScene场景切换
3.2.2Cocos2d-x支持的场景过渡效果
3.3层类(Layer)
3.3.1Layer类的常用成员变量
3.3.2Layer类的常用函数
3.4导演类(Director)
3.4.1Director导演类常用的成员变量
3.4.2Director导演类常用的函数
3.4.3Director导演类在游戏初始化时的使用分析
3.5精灵类(Sprite)
3.5.1纹理的相关概念
3.5.2Sprite精灵类的常用成员变量
3.5.3Sprite精灵类的常用函数
示例:测试Sprite类的常用函数――SpriteTest
3.5.4SpriteFrame精灵帧类
3.5.5SpriteFrameCache精灵帧缓存类
3.5.6SpriteBatchNode精灵表单类
示例:测试SpriteFrameCacheTest精灵帧缓存类――SpriteFrameCacheTest
3.5.7制作精灵表单
示例:测试自己制作的精灵表单――SpriteSheetTest
3.6Cocos2d-x3.0新的数据结构
3.6.1cocos2d::Vector<T>
示例:测试cocos2d::Vector<T>类的常用函数――VectorTest
3.6.2cocos2d::Map<K,V>
示例:测试cocos2d::Map<K,V>类的常用函数――MapTest
3.6.3cocos2d::Value
示例:测试cocos2d::Value类的常用函数――ValueTest
3.7本章小结

第4章Cocos2d-x的动作和动画
4.1动作基类Action
4.1.1Action类的常用成员变量
4.1.2Action类的常用函数
4.1.3Action类的子类
4.2示例:测试基本动作――ActionBasicTest
4.2.1显示、隐藏、闪烁动作
4.2.2淡入淡出动作
4.2.3色彩值渐变动作
4.2.4移动动作
4.2.5跳跃动作
4.2.6缩放动作
4.2.7旋转动作
4.3示例:测试组合动作――ActionCombinationTest
4.4示例:测试可变速度动作――ActionEaseTest
4.4.1EaseIn、EaseOut和EaseInOut
4.4.2EaseSineIn、EaseSineOut和EaseSineInOut
4.4.3EaseExponentialIn、EaseExponentialOut和EaseExponentialInOut
4.4.4EaseBounceIn、EaseBounceOut和EaseBounceInOut
4.4.5EaseElasticIn、EaseElasticOut和EaseElasticInOut
4.5示例:测试速度动作――ActionSpeedTest
4.6示例:测试跟随动作――ActionFollowTest
4.7示例:测试延迟动作――ActionDelayTest
4.8示例:测试函数回调动作――ActionCallFuncTest
4.9Cocos2d-x中与动画相关的类
4.10示例:英雄舞剑动画
4.11示例:僵尸走路动画
4.12示例:使用动画帧缓冲实现动画
4.13示例:制作精灵表单实现动画
4.14Cocos2d-x新增的3D特性fbv-conv的用法
4.15示例:Sprite3D创建3D精灵
4.16示例:Animation3D创建3D动画
4.17本章小结

第5章Cocos2d-x的文本渲染系统和菜单
5.1文本渲染相关的类
5.2TTF类型标签LabelTTF
示例:测试LabelTTF类――LabelTTFTest
5.3BMFont标签类LabelBMFont
示例:测试LabelBMFont类――LabelBMFontTest
5.4Atlas标签类LabelAtlas
示例:测试LabelAtlas类――LabelAtlasTest
5.5Cocos2d-x新增的标签类Label
示例:测试Label类――LabelTest
5.6菜单类Menu
5.7菜单项MenuItem和常用子类
5.7.1标签菜单项(MenuItemLabel)
5.7.2自定义字体菜单项(MenuItemAtlasFont)
5.7.3字体菜单项(MenuItemFont)
5.7.4精灵菜单项(MenuItemSprite)
5.7.5图片菜单项(MenuItemImage)
5.7.6触发器菜单项(MenuItemToggle)
示例:测试菜单――MenuTest
5.8本章小结

第6章Cocos2d-x的事件处理机制
6.1事件处理机制
6.1.1接收数据(Touch)
6.1.2分发事件(EventDispatcher)
6.1.3处理响应(EventListener)
6.2触摸事件
6.2.1单点触摸事件(EventListenerTouchOneByOne)
示例:场景优先事件监听――TouchOneByOneTest
示例:滑动屏幕选择菜单――TouchOneByOneTest
示例:固定值优先事件监听――TouchPriorityTest
6.2.2多点触摸事件(EventListenerTouchAllAtOnce)
示例:多点触摸(缩放功能的实现)――TouchAllAtOnceTest
6.3加速度计事件(EventListenerAcceleration)
示例:滚动的小球――AccelerometerTest
6.4按键事件(EventListenerKeyboard)
6.5鼠标事件(EventListenerMouse)
6.6自定义事件(EventListenerCustom)
示例:自定义事件处理――CustomTest
6.7本章小结

第7章Cocos2d-x的常用控件
7.1Cocos2d-x的控件
7.1.1按钮类ControlButton
示例:测试按钮――ControlButtonTest
7.1.2拖动滑块类ControlSlider
示例:测试拖动滑块――ControlSliderTest
7.1.3开关按钮类ControlSwitch
示例:测试开关按钮――ControlSwitchTest
7.2CocosStudio中的UI控件
7.2.1Widget(所有UI控件的父类)
7.2.2Button(按钮)
示例:测试UI控件――UITest
7.2.3Text(文本)
7.2.4TextField(文本框)
7.2.5CheckBox(复选框)
7.2.6ImageView(图片)
7.2.7LoadingBar(进度条)
7.2.8Slider(滑动条)
7.2.9Layout(布局容器)
7.2.10ScrollView(滚动层容器)
7.2.11ListView(列表层容器)
7.2.12PageView(分页层容器)
7.3本章小结

第8章Cocos2d-x的声音系统和数据存储
8.1声音系统
8.1.1背景音乐和声音特效
8.1.2CocosDenshion库
8.1.3SimpleAudioEngine类
示例:背景音乐和音效控制――SimpleAudioEngineTest
8.2数据存储
8.2.1UserDefault类
示例:用户数据存储测试――UserDefaultTest
8.3本章小结

第9章射击类游戏:疯狂打飞机
9.1游戏简介
9.2添加游戏菜单
9.3预加载游戏资源
9.4玩家飞机飞行效果
9.5玩家飞机Touch实现
9.6背景滚动效果
9.7添加敌机
9.8玩家飞机发射子弹
9.9背景音乐和积分统计
9.10游戏大Boss
9.11本章小结

第10章粒子系统
10.1粒子系统相关的类
10.1.1ParticleSystem类
10.1.2ParticleSystemQuad类
10.1.3ParticleBatchNode类
10.2粒子系统的使用
示例:使用内置的粒子系统――ParticleEffectTest
示例:自己定制粒子系统――MyParticleTest
10.3使用ParticleDesigner工具制作粒子
示例:使用plist文件创建粒子系统――ParticleDesignerTest
示例:休闲类游戏――疯狂打地鼠
10.4本章小结

第11章瓦片地图
11.1下载和安装Tiled地图编辑器
11.2使用Tiled绘制地图
11.3Tiled地图相关的类
11.3.1TMXTiledMap类
11.3.2TMXLayer类
11.3.3TMXObjectGroup类
示例:使用Tiled地图――TileMapTest
11.4本章小结

第12章真实手游:萌仙
12.1设计地图场景
12.2载入地图
12.3地图的移动
12.4遮挡效果和设置障碍物
12.5寻路算法
12.6随机出现怪物
12.7玩家和怪物进行战斗
12.8本章小结

第13章Cocos2d-x的物理引擎
13.1物理引擎概述
13.2Box2D的核心概念
13.3Box2D中常用的属性和函数
13.4Box2D示例项目分析
13.5Cocos2d-x和Box2D的整合开发
13.6Box2D开发步骤
13.7Cocos2d-x3.0中的物理引擎
13.7.1PhysicsWorld类
13.7.2PhysicsBody类
13.7.3PhysicsShape类
13.8使用3.0的物理引擎开发项目
示例:测试3.0新增的物理引擎――PhysicsTest
13.9益智类游戏:愤怒的小鸟
13.9.1开始前的准备工作
13.9.2进度条制作
13.9.3游戏中的粒子效果
13.9.4游戏选关操作
13.9.5设计关卡数据
13.9.6设计精灵类
13.9.7游戏主界面
13.9.8弹弓发射小鸟
13.9.9物理引擎
13.9.10物理碰撞
13.9.11游戏过关设计
13.10本章小结

第14章Cocos2d-x的内存管理
14.1内存管理概述
14.2手动内存管理
14.2.1对象的引用计数
14.2.2对象所属权
14.2.3函数中的保留和释放
14.2.4使用自动释放池
14.2.5手动内存管理总结
14.3自动释放池
14.3.1Ref的引用计数
14.3.2AutoreleasePool自动释放池
14.3.3PoolManager自动释放池管理器
14.3.4create函数
14.4本章小结

第15章塔防类游戏:保卫公主
15.1设计关卡地图场景
15.2游戏菜单
15.3选择关卡
15.4加载关卡数据
15.5准备进入游戏
15.6随机出现怪物
15.7建造炮塔
15.8旋转炮塔
15.9检测碰撞
15.10游戏结束
15.11本章小结

第16章CocosStudio
16.1CocosStudio概述
16.2CocosStudio安装
16.3CocosStudio特性
16.4CocosStudio界面
16.4.1界面布局
16.4.2起始页面
16.4.3渲染面板
16.4.4动画帧面板
16.4.5属性面板
16.4.6资源面板
16.4.7控件面板
16.4.8快捷工具面板
16.5UI编辑器的使用
示例:测试UI编辑器――CocosStudioTest
16.5.1按钮和文本框控件
16.5.2进度条控件
16.5.3滑动条控件
16.5.4层容器控件
16.5.5滚动层容器控件
16.5.6分页层容器控件
16.5.7UI动画制作
16.6本章小结
附录Cocos2d-x中常用的宏

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book