Working on a game and I made a separate class to handle the players enemies (Its a scrolling type 90s game). I know if I use picturebox and put it on form1 I can say for example....
enemy1.Left > 90;
My question is how would I do something like that with bitmap? I figured out how to put the image on form1, but I can't figure out how to make it move.
Onion13
31
Junior Poster in Training
Recommended Answers
Jump to PostThere are too many priors on this so I might not find an exact match. However:
https://social.msdn.microsoft.com/Forums/en-US/e7742040-1a16-4a35-89a7-d2cf2c750de4/moving-a-picture-using-mouse-inside-a-picturebox?forum=csharplanguage looks close enough.
All 3 Replies
rproffitt
2,580
"Nothing to see here."
Moderator
Onion13
31
Junior Poster in Training
rproffitt
2,580
"Nothing to see here."
Moderator
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.