App Development Guide: Wack-A Mole

App Development Guide: Wack-A Mole
By 作者: Chris Coscina, Mark Lassoff
Pages 页数: 77 pages
Edition 版本: 1
Language 语言: English
Publisher Finelybook 出版社: LearnToProgram Media
Publication Date 出版日期: 2015-12-08
ISBN-10 书号:B0195IKRIM
ook Description
App Development Guide: Wack-A Mole: Learn App Develop By Creating Apps for iOS, Android and the Web
Tired of learning to code by watching endless lectures, or reading long narratives?
Are you the type who likes to dive right in and start coding and creating?
Do typical coding books bore you?
If you answered "yes" to any of these questions, this book is for you!
The best way to learn is to learn by doing. In this guide you'll learn HTML, Javascript and CSS as you develop an entire app based on the game "Wack-A-Mole." All of the assets you need are provided in the book, and via convenient download. The game includes three different levels, sounds, animations, background music, score keeping and much more.
As you quickly progress through the book you'll learn the HTML, Javascript and CSS used to make an arcade-style video game.
About the App Development Guide series
The App Development Guide series from LearnToProgram Media is designed to provide you with guides to creating interesting apps. The app development guides provide all of the code, assets, and other materials you will need to create complete applications. Some apps in this series are designed to work within a web browser—others are designed to be deployed to mobile devices—either as a native iOS or Android App or as a HTML5 based app that works on both platforms.
I think that, naturally, the best way to learn app development is to actually build apps. Our goal is not to provide an exhaustive explanation for every tag, method and property we use in building the apps. In this series, it is our hope that the guides will provide context to integrate what you’ve learned previously, and, perhaps, set you up for future learning.

Contents


Introduction
Playing the Game
Assets – Images, Animations, and Sounds
The Container - index.html and mole.css
CreateJS – createjs.js
Helper Files – constants.js, display.js, and globals.js
The Game Logic – game.js
Mise en Place – window.onload, init, setupCanvas, and preloadAssets
Welcoming the Player – assetsLoaded() and registerSpriteSheets()
Loading Each Level – loadLevel()
Starting the Level – startLevel(), createLevelGrid(), and displayLevelGrid()
Starting the Gameplay - playGame() and displayScore()
The Game Loop – playLoop() and endLevel()
Popping Up Moles – createRandomMole()
Wacking the Mole – hit(mole)
Ending the Game – gameOver()

觉得文章有用就打赏一下文章作者
未经允许不得转载:finelybook » App Development Guide: Wack-A Mole
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏