Programmierenlernen ist wirklich nicht schwer. Du wirst erstaunt sein, wie einfach es ist, interaktive Welten und lustige Spiele zu entwickeln. Und du wirst garantiert viel Spa dabei haben! Du ladst dir schnell den ICE Code Editor als Browsererweiterung herunter, mit dem du auch offline arbeiten kannst, und los geht's. Alles was du programmierst, siehst du direkt im Code Editor: animierte Figuren, deinen eigenen Avatar, der Radschlagen kann, oder dein eigenes Spiel mit Obstmonstern, Hohlenpuzzlen und Flofahrten. Wenn du wissen willst, was es mit dem ganzen Code so auf sich hat, wird dir das ganz genau erklart. Wenn du dich aber lieber auf die Praxis konzentrieren willst, kannst du die Theorie auen vor lassen. Warum 3D-Spiele? Weil das Programmierenlernen damit besonders groen Spa macht, denn, Hand aufs Herz, wer spielt nicht gern Computerspiele? Und so macht das Lernen nicht nur riesigen Spa, wir programmieren dabei auch jede Menge tolle Sachen: Du stellst coole Spielfiguren her und Welten, in denen du spielen kannst, du programmierst deinen eigenen Avatar, bastelst lila Monster und erzeugst Weltraumsimulationen. Warum JavaScript? JavaScript ist die Sprache des World Wide Web und die einzige Programmiersprache, die alle Webbrowser ohne zusatzliche Software verstehen. Wenn du gelernt hast, in JavaScript zu programmieren, kannst du nicht nur solche Spiele programmieren, wie du in diesem Buch kennenlernen wirst. Du kannst auch alle moglichen Websites programmieren. Auerdem zeigen wir dir, wie du anschlieend deine Spiele mit deinen Freunden teilen und sie auf deiner eigenen Website einbinden kannst. Und dann erzahlst du all deinen Freunden: "Das hab' ich gemacht!" An wen richtet sich dieses Buch? Obwohl fur Kinder geschrieben, konnen auch Erwachsene hiermit das Programmieren erlernen. Es richtet sich an Programmieranfanger von 11 bis 99.
Like for many, my introduction to computers and computer programming came about with the advent of the home computer in the early 1980s. By keying in programs that were contributed by fellow enthusiasts and printed in the plethora of home computing books and magazines that were available, users were able to develop their interests in computer programming and gain valuable programming and debugging skills.
With the aim of promoting interest in computer programming among younger readers, this book harks back to those days by encouraging its readers to 'type in' and experiment with short but fun, interesting and complete game programs.
The games are all written in JavaScript and run in a browser. A link to simple browser-based interactive development environment is provided. External 3D and physics libraries are used, so the focus is very much on programming gameplay, using high-level 3D abstractions, rather than the details of 3D graphics programming per-se.
The games serve as vehicles for an introduction to simple program design techniques, including abstraction using functions and objects, and their application using JavaScript. In addition the games are used to introduce a variety of concepts and techniques that arise in 3D and games programming.
Throughout the text, the reader is offered pragmatic advice and, facilitated by the author’s selection of an interpreted language, is encouraged to experiment with and extend the code. Usefully, early on, the book offers advice on what to do when things don’t work as expected, including how to use the JavaScript console to try to find coding errors and how to reset the IDE.
The book is written in a clear but chatty style. Each chapter has a short description of its learning objectives and, where appropriate, simple sketches are used to help describe and reinforce ideas and concepts. Embedded sections are used to expand upon tips and warnings that emerge during the chapter without interrupting the flow of the main text. Chapters that involve game development evolve the code over the course of the chapter, but an appendix contains complete code listings for each game, serving as a useful reference. The final chapter includes a very brief description of the world wide web and describes practical ways in which readers can share their games on the web.
The book has a supporting website, which includes downloadable source code, though I think that maximum benefit will be gained by those readers that actually type the code.
As its title suggests, this book is aimed at younger readers, however even as an older reader with several years programming experience, I found it an enjoyable read, learned a few new things and had fun playing with the code.
Reviewed by: Dr Patrick Hill CEng MBCS CITP FIAP MIEEE