HTML and CSS Reference
In-Depth Information
Adding Interactivity
The final example in our foray into Box2D will add interactivity to the Canvas so that we can
shootballsthatknockoverthepileofboxeswecreatedinthelastexample. Figure 5-29 shows
what the example looks like when executed in a web browser.
Figure 5-29. Shooting balls at boxes
Search WWH ::




Custom Search