i was wondering is it possible to scroll a seamless image in a picturebox forever? it would be sort of like a convaour belt, i hope you understnad what i mean. if it is possible how would i do this using bitblt? any help would be apreciated.
Printable View
i was wondering is it possible to scroll a seamless image in a picturebox forever? it would be sort of like a convaour belt, i hope you understnad what i mean. if it is possible how would i do this using bitblt? any help would be apreciated.
i also was wondering where can i get images with their masks that have frames for an animated character? for example an .bmp file that has like many frames of animation of some dude walking with its mask. i have one of this wizard walking but i need osmething better for my game. again any help is greatly apreciated
I've got an idea as to how you could do the first thing you mentioned (the conveyor belt). (I haven't tried it or anything). Place two pictureboxes of equal size on the screen, scalemode set to pixels. Then place an image on the picturebox (the p'box is its container). Set (for p'box2) AutoRedraw to true, Visible to False, and Appearance to Flat. Then make a BitBlt loop where youvbSrcInvert P'box2 on P'box1, and another loop (with a timer) where you move the image up the picturebox and once the height = -(Image1.top) then Image1.top = Image1.top + (Image1.top * 2) to start the loop over. There is another way to do it I've just thought of, so post a message back on the forum if the above doesn't work well.
thanks for the reply but by the time you replied i figuered out how to do it. thanks again though