Hello , I'm making tetris in vb.net and i'm working with an image in a picture box that falls and with classes , my whole program works but hen my image falls it actually copies itself , does anyone know an eraser function or something or a method how to get the previous things away?
if you can help me , please do it!
thx

Recommended Answers

All 4 Replies

Maybe attach it for us to see what is your problem really since you said,

my whole program works

commented: good idea!!! +3

whel when my image falls it just copies itself and that may not happen , it just has to fall not copy it self.

It could be that you instantiate the object in the same loop that makes the object fall. That way each time it falls a new object (ie. Image) is created.

I still agree with Icone. For us to help you accurately we need to see your code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.