Build an HTML5 Game

A Developer's Guide with CSS and JavaScript

Paperback Engels 2015 1e druk 9781593275754
Verwachte levertijd ongeveer 9 werkdagen

Samenvatting

Make your own game without learning any new languages! With just HTML, CSS, and JavaScript in your toolbox, you can create a truly cross-platform game, playable on both desktop and mobile browsers.

In 'Build an HTML5 Game', author Karl Bunyan shows you how to create browser-based games by walking you through an in-depth tutorial on building a classic favorite, the bubble shooter.

Along the way, you'll learn how to:
- Send sprites zooming around the screen with JavaScript animations
- Cause exploding effects with a jQuery plugin
- Use hitboxes and a bit of geometry to detect collisions
- Implement game logic to display levels and respond to player input
- Convey changes in game state through animation and sound
- Add flair to a game interface with CSS transitions and transformations
- Gain pixel-level control over the game display with the canvas

Hit the ground running as you start programming the bubble shooter from the very first chapter. Exercises at the end of each chapter test your new skills by challenging you to dig into the bubble shooter's code and modify the game.You can create a complete game right now, with skills that you already have. Let Build an HTML5 Game teach you the basics, and then transfer that knowledge to create any game you can imagine.

Specificaties

ISBN13:9781593275754
Taal:Engels
Bindwijze:paperback
Aantal pagina's:198
Druk:1
Verschijningsdatum:31-3-2015

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Part 1: Building a Game with HTML, CSS, and JavaScript
1. Preparation and Setup
2. Sprite Animation Using jQuery and CSS
3. Game Logic
4. Translating Game State Changes to the Display

Part 2: Enhancements with HTML5 and the Canvas
5. CSS Transitions and Transformations
6. Rendering Canvas Sprites
7. Levels, Sound, and More
8. Next Steps in HTML5

Appendix A: Afterword
Appendix B: Updates

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Build an HTML5 Game