My Account Log in

1 option

3D game programming for kids : create interactive worlds with Javascript / Chris Storm ; [edited by Adaobi Obi Tulton].

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Storm, Chris, author.
Contributor:
Tulton, Adaobi Obi, editor.
Series:
Pragmatic programmers.
The pragmatic programmers
Language:
English
Subjects (All):
Video games--Programming.
Video games.
Computer graphics.
JavaScript (Computer program language).
Physical Description:
1 online resource (359 pages) : color illustrations.
Edition:
Second edition.
Other Title:
Three-dimensional game programming for kids
Create interactive worlds with JavaScript
Place of Publication:
Raleigh, North Carolina : The Pragmatic Bookshelf, [2018]
System Details:
text file
Summary:
You know what's even better than playing games? Programming your own! Make your own online games, even if you're an absolute beginner. Let your imagination come to 3D life as you learn real-world programming skills with the JavaScript programming language - the language used everywhere on the web. This new edition is completely revised, and takes advantage of new programming features to make game programming even easier to learn. Plus, new effects make your games even cooler. When you're done, you're going to be amazed at what you can create. Jump right in! Start programming cool stuff on page 1. Keep building new and different things until the very last page. This book wants you to play. Not just play games, but play with code. Play with programming. Because the best way to learn something is to have fun with it! This second edition is updated from start to finish to make it even easier to get started programming in JavaScript. Every example has been updated to make it easier, with new example games to explore and new 3D effects that make your games even more fun! Want a red donut? You can make hundreds of them, spinning around like mad. Want to create a star field? Make a hundred or a thousand stars. Make them red, green, or blue. Explosions? Fireworks? Planets? It's up to you. And, using a code editor created especially for this book, you'll program right in your web browser. You'll see the results of your work and imagination right away - right next to the code that you just typed! Along the way, you'll pick up a ton of programming knowledge, and dive in even deeper with some more advanced chapters. Whatever you want to do, this book has your back. Best of all, you get to create awesome games and say, "I made this!" What You Need: You need the latest version of the Google Chrome Web browser, available for free from https://chrome.google.com . You also need an Internet connection to access the ICE Code Editor the first time. ICE Code Editor will be loaded onto your computer, so you won't need Internet access for later projects.
Contents:
Cover
Table of Contents
Acknowledgments
Introduction
How I Learned to Program (and Why That Matters to You)
How YOU Can Learn to Program
Getting Help
What You Need for This Book
What Is JavaScript?
What's New in the Second Edition?
What This Book Is Not
Let's Get Started!
1. Project: Creating Simple Shapes
Programming with the 3DE Code Editor
Making Shapes with JavaScript
Creating Spheres
Making Boxes with the Cube Shape
Using Cylinders for All Kinds of Shapes
Building Flat Surfaces with Planes
Rendering Donuts (Not the Kind You Eat) with Torus
Animating the Shapes
The Code So Far
What's Next
2. Debugging: Fixing Code When Things Go Wrong
Getting Started
Debugging in 3DE: The Red X
Debugging in 3DE: The Yellow Triangle
Opening and Closing the JavaScript Console
Debugging in the Console
Common 3D Programming Errors
Recovering When 3DE Is Broken
3. Project: Making an Avatar
Smooth Chunkiness
Making a Whole from Parts
Breaking It Down
Adding Feet for Walking
Challenge: Make the Avatar Your Own
Doing Cartwheels
4. Project: Moving Avatars
Building Interactive Systems with Keyboard Events
Converting Keyboard Events into Avatar Movement
Challenge: Start/Stop Animation
Building a Forest with Functions
Moving the Camera with the Avatar
5. Functions: Use and Use Again
Basic Functions
Functions that Return Values
Using Functions
Breaking Functions
Bonus #1: Random Colors
Bonus #2: Flight Controls
6. Project: Moving Hands and Feet
Moving a Hand
Swinging Hands and Feet Together
Walking When Moving.
The Code So Far
7. A Closer Look at JavaScript Fundamentals
Describing Things in JavaScript
Numbers, Words, and Other Things in JavaScript
Control Structures
8. Project: Turning Our Avatar
Facing the Proper Direction
Animating the Spin
9. What's All That Other Code?
A Quick Introduction to HTML
Setting the Scene
Using Cameras to Capture the Scene
Using a Renderer to Project What the Camera Sees
Exploring Different Cameras
10. Project: Collisions
Rays and Intersections
11. Project: Fruit Hunt
Starting a Scoreboard at Zero
Giving Trees a Little Wiggle
Jumping for Points
Making Our Games Even Better
12. Working with Lights and Materials
Emitting Light
Ambient Light
Point Light
Shadows
Spotlights and Sunlight
Texture
Further Exploration
13. Project: Phases of the Moon
The Sun at the Center
Game and Simulation Logic
Local Coordinates
Multi-Camera Action!
Bonus #1: Stars
Bonus #2: Flying Controls
Understanding the Phases
Not Perfect, But Still a Great Simulation
14. Project: The Purple Fruit Monster Game
Outline the Game
Adding Ground for the Game
Build a Simple Avatar
Add Scoring
Gameplay
Improvements
15. Project: Tilt-a-Board
Bonus #1: Add a Background
Bonus #2: Make Fire!
Challenge
16. Learning about JavaScript Objects.
Getting Started
Simple Objects
Properties and Methods
Copying Objects
Constructing New Objects
The Worst Thing in JavaScript: Losing this
17. Project: Ready, Steady, Launch
The Launcher
Scoreboard
Baskets and Goals
Wind!
18. Project: Two-Player Games
Two Launchers
Two Scoreboards
Teaching Baskets to Update the Correct Scoreboard
Sharing a Keyboard
A Complete Reset
19. Project: River Rafter
Pushing and Pulling Shapes
Rough Terrain
Digging a River
Build a Raft for Racing
Resetting the Game
Keyboard Controls
The Finish Line
Bonus: Keeping Score
20. Getting Code on the Web
The Mighty, Mighty Browser
Free Websites
Putting Your Code on Another Site
A1. Project Code
Code: Creating Simple Shapes
Code: Playing with the Console and Finding What's Broken
Code: Making an Avatar
Code: Moving Avatars
Code: Functions: Use and Use Again
Code: Moving Hands and Feet
Code: A Closer Look at JavaScript Fundamentals
Code: Turning Our Avatar
Code: What's All That Other Code?
Code: Collisions
Code: Fruit Hunt
Code: Working with Lights and Materials
Code: Phases of the Moon
Code: The Purple Fruit Monster Game
Code: Tilt-a-Board
Code: Learning about JavaScript Objects
Code: Ready, Steady, Launch
Code: Two-Player Ready, Steady, Launch
Code: River Rafter
Code: Getting Code on the Web
A2. JavaScript Code Collections Used in This Book
Three.js
Physijs
Controls
Noise
Scoreboard.js
Shader Particle Engine
Sounds.js
Tween.js
Bibliography
Index.
- SYMBOLS -
- DIGITS -
- A -
- B -
- C -
- D -
- E -
- F -
- G -
- H -
- I -
- J -
- K -
- L -
- M -
- N -
- O -
- P -
- Q -
- R -
- S -
- T -
- U -
- V -
- W -
- X -
- Y -
- Z -.
Notes:
Includes bibliographical references and index.
Description based on online resource; title from PDF title page (ebrary, viewed September 4, 2018).
ISBN:
9781680506259
1680506250
9781680506242
1680506242
9781680506266
1680506269
OCLC:
1053901415

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account