{{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

HTML5游戏编程核心技术与实战

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

HTML5游戏编程核心技术与实战

{{__(":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

《HTML5游戏编程核心技术与实战》包含大量的游戏实例,并且将会开发出一个比较完善的游戏引擎,从理论中来,到实践中去,让读者清晰了解到游戏开发的每一个细节。
Content Description

《HTML5游戏编程核心技术与实战》是一本全面介绍HTML5游戏编程的书,在详细阐述HTML5的核心技术基础上,深入讲解游戏的运行机制,剖析游戏的核心——游戏引擎的细节内幕,并以大量完整的游戏实践开发案例为指导,逐步讲解游戏开发中常用的各种技术和方法。
全书一共11章,先后介绍了HTML5的新特性、HTML5中的canvas绘图技术、多媒体技术、游戏运行机制及游戏渲染引擎的开发、HTML5中的网络通信基础和Node.js框架、游戏中常用的算法技巧、物理引擎Box2D创建物理游戏、使用CSS3创建游戏,然后给出一个飞行射击游戏的综合案例。此外,在最后两章分别通过Node.js结合socket.js框架实现了两个游戏。每一章的内容既包括丰富的理论知识,又给出实战性极强的案例。
《HTML5游戏编程核心技术与实战》适合有一定HTML和JavaScript语言基础,对HTML5游戏编程有浓厚兴趣的Web前端开发工程师阅读,同样适合有一定的HTML5游戏开发基础的HTML5游戏开发的工程师阅读。
Catalogue

第1章游戏和HTML5初探
1.1网页游戏和HTML5
1.1.1网页游戏简介
1.1.2HTML5简介
1.1.3HTML5浏览器工具
1.1.4HTML5开发工具
1.2HTML5新特性初探
1.2.1canvas元素
1.2.2WebGL
1.2.3多媒体元素
1.2.4地理信息服务
1.2.5本地存储
1.2.6Web sockets网络通信
1.2.7Web Worker多线程
1.3小结

第2章Canvas绘图
2.1基本知识
2.1.1创建canvas
2.1.2理解canvas坐标系
2.1.3获取canvas环境上下文
2.2图形API
2.2.1理解路径
2.2.2路径操作API
2.2.3绘制线条
2.2.4绘制矩形
2.2.5绘制圆弧
2.2.6绘制贝塞尔曲线
2.2.7线条属性
2.2.8线条颜色
2.2.9填充
2.2.10绘图状态
2.3图像API
2.3.1使用canvas绘制图像
2.3.2案例:放大镜
2.3.3案例:帧动画实现
2.3.4像素操作
2.3.5案例:转换灰度图
2.3.6案例:浮雕效果
2.4坐标变换
2.5绘制文字
2.6其他全局属性
2.7案例:《你画我猜》
2.7.1UI界面设计
2.7.2定义画板对象
2.7.3初始化画笔选项区
2.7.4实现画板绘制
2.7.5整合代码
2.8小结

第3章多媒体元素
3.1多媒体基本知识
3.1.1多媒体容器
3.1.2音视频解码器
3.2使用多媒体元素
3.2.1属性
3.2.2方法
3.2.3事件
3.2.4多媒体元素的限制
3.3案例:本地音乐播放器
3.3.1UI界面设计
3.3.2创建Player对象
3.3.3添加本地文件
3.3.4实现播放进度条
3.3.5实现播放功能
3.3.6整合代码
3.4音频处理高级技巧
3.4.1Web Audio API简介
3.4.2Audio上下文
3.4.3加载和播放音频
3.4.4调节音频增益
3.4.5混合多个音频
3.4.63D音效
3.4.7显示声音波形
3.5小结

第4章制作2D游戏引擎
4.1理解游戏循环
4.2渲染引擎实现
4.2.1游戏引擎介绍
4.2.2建立游戏主循环框架
4.2.3控制游戏帧数
4.2.4游戏监听器
4.2.5创建游戏主窗口
4.2.6创建游戏精灵
4.2.7案例:屏幕弹球
4.2.8游戏精灵帧动画
4.2.9加载游戏资源
4.2.10游戏IO控制
4.3使用引擎构建游戏实例
4.4小结

第5章网络通信基础
5.1网络协议基础
5.1.1通信协议
5.1.2TCP/IP
5.1.3HTTP
5.1.4套接字
5.2服务器端框架Node.js基础
5.2.1简介
5.2.2安装
5.2.3应用
5.2.4案例:简单的Web服务器
5.3Web sockets基础
5.3.1简介
5.3.2应用
5.3.3案例:基于socket.io.js框架的聊天室
5.4小结

第6章游戏常用算法
6.1追踪算法
6.2碰撞检测算法
6.2.1地图格子算法
6.2.2包围盒检测算法
6.2.3像素检测算法
6.3路径搜索算法
6.3.1随机迷宫算法
6.3.2A*算法
6.4有限状态机
6.4.1原理
6.4.2实现
6.4.3案例:勤劳的蚂蚁
6.5粒子系统
6.6小结

第7章Box2D引擎和物理游戏
7.1Box2D基础
7.1.1安装Box2D库
7.1.2Box2D中的基本概念
7.1.3创建Box2D物理世界
7.1.4添加物体到空间中
7.1.5渲染Box2D世界
7.2案例:结合渲染引擎渲染Box2D世界
7.2.1建立游戏框架,初始化Box2D世界
7.2.2更新Box2D物理世界
7.2.3创建Box2D物理精灵
7.3小结

第8章使用CSS3开发游戏
8.1CSS历史
8.2CSS3选择器
8.2.1属性选择器
8.2.2结构伪类选择器
8.2.3target伪类选择器
8.2.4UI元素状态伪类选择器
8.2.5反向伪类选择器
8.2.6通用兄弟元素选择器
8.3CSS3动画
8.3.1变形
8.3.2过渡
8.3.3案例:手风琴效果
8.3.4动画
8.3.5案例:沿路径移动的小球
8.3.6案例:地板上弹跳的小球
8.4案例:俄罗斯方块
8.4.1游戏规则和游戏UI
8.4.2分析游戏
8.4.3游戏实现
8.5小结

第9章编程实战之太空战机
9.1创建主框架
9.2创建开始场景
9.3创建运行场景
9.3.1创建视差滚动背景
9.3.2创建射击类
9.3.3创建玩家类
9.3.4创建敌机类
9.3.5创建子弹类
9.3.6游戏配置实现
9.3.7运行场景实现
9.4创建结束场景
9.5小结

第10章编程实战之《你画我猜》
10.1了解游戏逻辑
10.2UI界面设计
10.3登录到服务器的实现
10.3.1创建简单的游戏服务器对象
10.3.2创建服务客户端对象
10.3.3创建客户端对象
10.4画板对象实现
10.5游戏数据定义
10.6显示所有玩家
10.7发送文本消息
10.8游戏逻辑实现
10.9最终实现
10.9.1主页面最终实现
10.9.2客户端最终实现
10.9.3画板最终实现
10.9.4游戏服务器最终实现
10.9.5游戏配置最终实现
10.9.6服务客户端最终实现
10.10小结

第11章编程实战之《疯狂的小鸟》
11.1建立游戏主界面
11.2创建B2Sprite类
11.3创建Bird类
11.3.1Bird状态分析及实现
11.3.2绘制Bird飞行轨迹
11.3.3Box2D中的碰撞检测
11.3.4Bird碰撞效果处理
11.3.5Bird类的实现
11.4Pig类的实现
11.5Block类的实现
11.6TGame类的实现
11.7小结

附录A游戏的历史
附录B游戏类型

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