Build an HTML5 Game: A Developer’s Guide with CSS and JavaScript

0
(0)

Build an HTML5 Game: A Developer’s Guide with CSS and JavaScript
 

  • Author:Karl Bunyan
  • Length: 224 pages
  • Edition: 1
  • Publisher: No Starch Press
  • Publication Date: 2015-03-23
  • ISBN-10: 1593275757
  • ISBN-13: 9781593275754
  • Sales Rank: #1141781 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    If you already have even basic familiarity with HTML, CSS, and JavaScript, you’re ready to learn how to build a browser-based game. In Build an HTML5 Game, you’ll use your skills to create a truly cross-platform bubble-shooter game – playable in both desktop and mobile browsers.

    As you follow along with this in-depth, hands-on tutorial, you’ll learn how to:

    • Send sprites zooming around the screen with JavaScript animations
    • Make things explode with a jQuery plug-in
    • Use hitboxes and geometry to detect collisions
    • Implement game logic to display levels and respond to player input
    • Convey changes in game state with animation and sound
    • Add flair to a game interface with CSS transitions and transformations
    • Gain pixel-level control over your game display with the HTML canvas

    The programming starts right away in Chapter—no hemming and hawing, history, or throat clearing. Exercises at the end of each chapter challenge you to dig in to the bubble shooter’s code and modify the game.

    Go ahead. Take the plunge. Learn to create a complete HTML5 game right now and then use your newfound skills to build your own mega-popular, addictive game.

    Table of Contents

    Part 1: Building a Game with HTML, CSS, and JavaScript
    Chapter 1: Preparation and Setup
    Chapter 2: Sprite Animation Using jQuery and CSS
    Chapter 3: Game Logic
    Chapter 4: Translating Game State Changes to the Display
    Part 2: Enhancements with HTML5 and the Canvas
    Chapter 5: CSS Transitions and Transformations
    Chapter 6: Rendering Canvas Sprites
    Chapter 7: Levels, Sound, and More
    Chapter 8: Next Steps in HTML5

    中文:

    书名:构建HTML5游戏:使用CSS和JavaScript的开发人员指南

    如果您已经对HTML、CSS和JavaScript有了基本的了解,那么您已经准备好学习如何构建基于浏览器的游戏了。在……里面 构建HTML5游戏,你将使用你的技能来创建一个真正的跨平台的泡泡射击游戏,可以在桌面和移动浏览器上玩。

    随着您学习这一深入的实践教程,您将学习如何:

    • 使用JavaScript动画发送在屏幕上进行缩放的精灵
    • 使用jQuery插件实现爆炸式增长
    • 使用命中框和几何体检测碰撞
    • 实现游戏逻辑以显示关卡并响应玩家输入
    • 通过动画和声音传达游戏状态的变化
    • 通过CSS过渡和变换将FLAIR添加到游戏界面
    • 使用HTML画布获得对游戏显示的像素级控制

    节目在第一章就开始了–没有支支吾吾,没有历史,也没有清嗓子。每章末尾的练习挑战你深入研究泡泡射击游戏的代码并修改游戏。

    您先请。试一试吧。学习现在就创建一个完整的HTML5游戏,然后使用您新掌握的技能来构建您自己的超级流行、令人上瘾的游戏。

    目录表

    第1部分:使用HTML、CSS和JavaScript构建游戏
    第1章:准备和设置
    第2章:使用jQuery和CSS制作精灵动画
    第三章:博弈逻辑
    第4章:将游戏状态更改转换为显示
    Part 2: Enhancements with HTML5 and the Canvas
    第5章:CSS过渡和转换
    第6章:渲染画布精灵
    第7章:级别、声音和更多
    第8章:HTML5中的下一步

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册