Build an HTML5 Game
A Developer's Guide with CSS and JavaScript
Paperback Engels 2015 1e druk 9781593275754Samenvatting
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
Lezersrecensies
Inhoudsopgave
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
Anderen die dit boek kochten, kochten ook
Rubrieken
- advisering
- algemeen management
- coaching en trainen
- communicatie en media
- economie
- financieel management
- inkoop en logistiek
- internet en social media
- it-management / ict
- juridisch
- leiderschap
- marketing
- mens en maatschappij
- non-profit
- ondernemen
- organisatiekunde
- personal finance
- personeelsmanagement
- persoonlijke effectiviteit
- projectmanagement
- psychologie
- reclame en verkoop
- strategisch management
- verandermanagement
- werk en loopbaan