Introducing JavaScript Game Development (eBook)
XI, 209 Seiten
Apress (Verlag)
978-1-4842-3252-1 (ISBN)
Make the process of creating object-oriented 2D games more fun and more productive and get started on your game development journey.
Graeme Stuart is a self-taught developer mainly building web-based applications using JavaScript and Python. He's has a PhD in energy management and much of his programming skill was originally developed to this end. He currently teaches JavaScript games programming to first year undergraduates.
Learn to build a fully-functional 2D game inspired by the 1979 Atari classic, Asteroids, using just HTML5, CSS and JavaScript. Developing games has never been easier than it is now. New web technology allows even beginner developers to turn their hand to game development. Developed from an undergraduate course module, Introducing JavaScript Game Development teaches each new technology as it is introduced so can be followed by enthusiastic beginners as well as intermediate coders. You will learn how to work with HTML5 and the canvas element, how to understand paths, how to draw to a design and create your spaceship and asteroids. You'll then move on to animating your game, and finally building. You will work step-by-step through the game design process, starting with only what is necessary to complete each step, and refactoring the code as necessary along the way, reflecting the natural progression that code follows in the real world. Each chapter is designed to take yourcode base to the next level and to add to your skills. After completing the examples in this book you will have the tools necessary to build your own, high-quality games. Make the process of creating object-oriented 2D games more fun and more productive and get started on your game development journey.
Graeme Stuart is a self-taught developer mainly building web-based applications using JavaScript and Python. He’s has a PhD in energy management and much of his programming skill was originally developed to this end. He currently teaches JavaScript games programming to first year undergraduates.
Section 1. Drawing1. HTML5 and the Canvas Element2. Understand Paths3. Drawing to a Design4. Drawing a Spaceship5. Drawing an AsteroidSection 2. Animation6. Basic Animation7. Animating Asteroids8. Practicing Objects9. InheritanceSection 3. Building the Game10. Simple Keyboard Interaction11. Controlling the Ship12. Collision Detection13. Death or Glory
| Erscheint lt. Verlag | 7.12.2017 |
|---|---|
| Zusatzinfo | XI, 209 p. 53 illus., 45 illus. in color. |
| Verlagsort | Berkeley |
| Sprache | englisch |
| Themenwelt | Mathematik / Informatik ► Informatik ► Web / Internet |
| Schlagworte | 2D • building JavaScript games • ES6 • Game Development • Games • HTML5 • JavaScript • OO programming |
| ISBN-10 | 1-4842-3252-6 / 1484232526 |
| ISBN-13 | 978-1-4842-3252-1 / 9781484232521 |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich