So I am making a simple card game using GWT. It works, it's nice, but it 
isn't very flashy. So my plan is to have a Canvas sit below the cards and 
when a card is played have a special effect animation on the canvas run. I'm 
looking at the GWTCanvasDemo @ 
http://code.google.com/p/gwtcanvasdemo/source/browse/trunk/src/com/google/gwt/gwtcanvasdemo/client/GwtCanvasDemo.java.
 
I've downloaded the code, I've run it, it works....and I have no idea how. 

There are two canvaes, canvas and backbuffer. The canvas has the lens with 
the warp effect, the back buffer has all the images / balls drawn on them. 
However, the backBuffer never seems to be added to the Rootpanel. It's also 
never given a size like canvas is, it's only given Coordinate Space. I'm 
trying to mess with this code in my own project and I can't figure out how 
and why the demo works. Can someone explain to me what's going on?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/DXYc6Q2YJqAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to