Index

Symbols

% operator, 94

+ operator, 321

<!-- --> tag, 19

2-D context, 66

2-D maps, creating, 196-199

3-D, faking with raycasting, 208-212

3-D context, 66

A

accessing sprites from spritesheet, 145-147

action RPGs, turn-based RPGs versus, 232

active holes, setting, 77-84

adding

cameras, 212-216

characters, 124-126, 221-229, 264

coins, 137

collectibles, 131-133

collision data to maps, 243

complex interactions, 43-53

CSS files, 12-14

enemies, 133-134, 176-180, 271

entities, 135

functions, 93

handlers, 23, 37

images, 133, 135

inventory with drag and drop, 35-43

item containers, 35-36

jQuery, 15

layers, 177-178

main.css, 30-31

maps, 196-198

message containers, 136

objects, 122, 211

pages to story, 29

players, 125-126, 180-183, 199-203, 237-243 ...

Get The Web Game Developer’s Cookbook: Using JavaScript and HTML5 to Develop Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.