Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15728

Drawing an image, then copying it on screen many times for tile effect

$
0
0
Hello,

I am trying to draw an image and tile it across the screen, giving it the effect of drawing copies of itself.

I came across a sample on here

http://www.vbforums.com/showthread.p...eps-flickering

that shows how to stop flickering, and coincidentally also has an image that copies itself while it moves, looking like a tiled image.

How do I get an image (either an image or a picturebox, I don't care which), to achieve this result?

I have tried moving the picturebox to the left , ie

Code:

Timer1_timer
picturebox.left=picturebox.left+5
picturebox.autoredraw=true

trying to force it to draw itself again at every new
interval, but that doesn't do what I am trying to do.

Could anyone help please? Thank you.

Viewing all articles
Browse latest Browse all 15728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>