HTML5 Canvas [246]
player object, The player Object
tile-based environment for backgrounds and level graphics, Creating a Grid of Tiles
Geo Blaster Basic (example), Geo Blaster Game Structure, Game application states, Game application functions, Geo Blaster Global Game Variables, The player Object, Geo Blaster Game Algorithms, Rocks, Saucers, Missiles, Explosions and particles, Level Knobs, Level and Game End, Awarding the Player Extra Ships, Applying Collision Detection, The Geo Blaster Basic Full Source, Rock Object Prototype, Rock Object Prototype, What’s Next
applying collision detection, Applying Collision Detection
arrays of logical display objects, Geo Blaster Game Algorithms, Rocks, Saucers, Missiles, Explosions and particles
explosions and particles, Explosions and particles
missiles, Missiles
rocks, Rocks
saucers, Saucers
awarding player extra ships, Awarding the Player Extra Ships
Basic version, full source code, The Geo Blaster Basic Full Source, Rock Object Prototype
game structure, Geo Blaster Game Structure, Game application states, Game application functions
application functions, Game application functions
application states, Game application states
global variables, Geo Blaster Global Game Variables
level and game end, Level and Game End
level knobs, Level Knobs
player object, The player Object
Rock object prototype, Rock Object Prototype, What’s Next
Geo Blaster Extended (example), Combining Bitmaps and Sound, Geo Blaster Tile Sheet, Rendering the Other Game Objects, Adding Sound, Playing sounds, Pooling Object Instances, Adding in a Step Timer, Adding in a Step Timer, How the step timer works, How the step timer works, Creating a Dynamic Tile Sheet at Runtime
adding sound, Adding Sound, Playing sounds
adding step timer, Adding in a Step Timer, How the step timer works
complete source code, How the step timer works, Creating a Dynamic Tile Sheet at Runtime
pooling object instances, Pooling Object Instances, Adding in a Step Timer
rendering other game objects, Rendering the Other Game Objects
tile sheet, Geo Blaster Tile Sheet
gesture (iPhone), adding to BS Bingo (example), Adding in an iPhone “Gesture”, Adding the Gesture Functions to index.html, Adding the Gesture Functions to index.html
adding gesture functions to index.html, Adding the Gesture Functions to index.html, Adding the Gesture Functions to index.html
getContext( ) method, Canvas object, Testing to See Whether the Browser Supports Canvas, The 2D Context and the Current State, The HTML5 Canvas Object
getElementById( ) method, document objects, Using document to reference the canvas element in JavaScript, Exporting Canvas to an Image, Communicating Between HTML Forms and the Canvas
getImageData( ) function, Getting image data, Creating a Dynamic Tile Sheet at Runtime
getShader( ) function, WebGL application, Initialization in canvasApp()
GLGE library, GLGE
global variables, Initializing the game: no global variables, Preloading all assets without global variables, Geo Blaster Global Game Variables
Geo Blaster game (example), Geo Blaster Global Game Variables
initializing Space Raiders game without using, Initializing the game: no global variables
preloading assets without, Space Raiders game, Preloading all assets without global variables
globalAlpha property, context objects, The 2D Context and the Current State, Compositing on the Canvas, Global Alpha and Text, Using the context.globalAlpha attribute
alpha fading player ship (game example), Using the context.globalAlpha attribute
text and, Global Alpha and Text
globalCompositeOperation property, context objects, The 2D Context and the Current State, Compositing on the Canvas
Google’s O3D library, Google O3D
gradients, Filling Shapes with Gradients, Radial gradients, Linear gradients, Radial gradients, Linear horizontal gradients, Applying a horizontal gradient to a complex shape, Vertical gradients, Diagonal gradients, Radial gradients, Radial gradients, Text with Gradients and Patterns, Linear Gradients and Text, Radial Gradients and Text, Handling Gradients