Hello,

I'm new to Visual c# 2008 and am following a book. I just wanted to
check that one method is best for images & animation. The way the book
says is to create a control and to get the images from the resource. I
did all this, I created a timer & when you drag and drop the control
from the toolbox it animates away & moves (as coded) on the form
(without compiling).

All very nice, but is this the way to go? I want to code something
with a background and to move about (and animate) any number of images
on the background. It's annoying when designing the form when my
objects move about while I'm designing it.

With previous languages (C++) I've created a box and drawn directly to
that box, handling the background & transparency myself (by anding/
xoring the images & a mask).

I'll want to do some double buffering and also have it so it gets
redrawn when the window is obscured. Should I do it all using controls
or should I do it manually (if so, what control should I use to draw
to?). Which is the best way to go?


Dan


Reply via email to