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.

Recommended Answers

All 3 Replies

That helped but I was looking for a way for the images to move on their own. I'll try to modify the example given from your link and see if I can make it work.

The only images that move on their own are GIFs, movie files, etc. The rest we have to write code. The example used a mouse but has the basics you need to know to make it move. I can't guess what events you will code here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.