|
-
Apr 12th, 2000, 10:08 AM
#1
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.
-
Apr 12th, 2000, 10:11 AM
#2
i also forgot to mention...
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
-
Apr 12th, 2000, 04:48 PM
#3
Fanatic Member
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.
-
Apr 13th, 2000, 09:26 AM
#4
thanks
thanks for the reply but by the time you replied i figuered out how to do it. thanks again though
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|