Image in PictureBox

orufet
07-09-2001, 09:39 PM
I have an image in a picture box, and the image is bigger than the screen. My idea is to make a racing game where the car doesn't actually move, but the Picture does. How should I go about doing this?

Jacob Sheehy
http://www.sheehy.ca

Multitasking - screwing up several things at once

Ad1
07-10-2001, 02:19 AM
if you think about how you would move the car then just turn the car and move the background in an opposite direction as in when they press the left key move the background right, you'll have to keep an eye open for the edge of the background and either stop it moving or stick another image next to it before it appears on screen.
You may bve better using a picturebox than an image as you will get less flicker

orufet
07-10-2001, 09:46 AM
Okay, thanks.....but when I move the background, am I moving the picture box, or the image inside the picture box?

Jacob Sheehy
http://www.sheehy.ca

Multitasking - screwing up several things at once

Ad1
07-10-2001, 09:56 AM
move the picturebox

orufet
07-10-2001, 11:03 AM
thanks

Jacob Sheehy
http://www.sheehy.ca

Multitasking - screwing up several things at once

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum