HTML5 Canvas [270]
Testing the New Blank Application in the Simulator
Integrating BS Bingo into the Project
Setting the Orientation
Changing the Banner and Icon
Testing on the Simulator
Adding in an iPhone “Gesture”
Adding the Gesture Functions to index.html
Testing on a Device
Step 1: Launch the Provisioning Assistant
Step 2: Find the device’s Unique ID
Step 3: Generate a Certificate Signing Request
Step 4: Locate saved Certificate Signing Request File
Step 5: Drag provisioning file into Xcode Organizer window
Step 6: Set up certificates with the Keychain
Success
Using Xcode to Target a Test Device
Beyond the Canvas
What’s Next
11. Further Explorations
3D with WebGL
What Is WebGL?
How Do I Test WebGL?
How Do I Learn More About WebGL?
What Does a WebGL Application Look Like?
JavaScript libraries
Shaders
Testing for WebGL support with Modernizr
Initialization in canvasApp()
Animating the cube
Full Code Listing
Further Explorations with WebGL
WebGL JavaScript Libraries
Google O3D
GLGE
C3DL
SpiderGL
SceneJS
CopperLicht
Multiplayer Applications with ElectroServer 5
Installing ElectroServer
Starting the server
The ElectroServer admin tool
The JavaScript API
The Basic Architecture of a Socket-Server Application
The Basic Architecture of an ElectroServer Application
Client
Zones, rooms, and games
Extensions
Creating a Chat Application with ElectroServer
Establishing a connection to ElectroServer
Creating the chat functionality
Testing the Application in Google Chrome
Further Explorations with ElectroServer
This Is Just the Tip of the Iceberg
Conclusion
Index
About the Authors
Colophon