VB6
Windows 7
Using BitBlt to move an image which is my map. The idea is to have my character centered (probably animated, but centered nonetheless) and have the map move so that it appears that the character is traveling. I have the character BitBlt covered. My issue is this...
This is what it looks like at the start:
![Name: good.jpg
Views: 36
Size: 24.2 KB]()
And this is what it looks like when I move it using BitBlt:
![Name: bad.jpg
Views: 31
Size: 18.5 KB]()
I am adding 1 to the ByVal X As Long, ByVal Y As Long API call to move the map.
I've attempted
-----Refreshing the final PictureBox
-----Loading the buffer image straight into the final PictureBox
-------------This has resulted in flashing, which the entire purpose of BitBlt is to get rid of that
-----Refreshing the final PictureBox
-----Using PaintPicture
-------------This results the same as the second image above
All of my PictureBoxes have AutoRedraw set to True except my final PictureBox.
Feel free to ask questions if you need help in helping me answer mine.
Windows 7
Using BitBlt to move an image which is my map. The idea is to have my character centered (probably animated, but centered nonetheless) and have the map move so that it appears that the character is traveling. I have the character BitBlt covered. My issue is this...
This is what it looks like at the start:
And this is what it looks like when I move it using BitBlt:
I am adding 1 to the ByVal X As Long, ByVal Y As Long API call to move the map.
I've attempted
-----Refreshing the final PictureBox
-----Loading the buffer image straight into the final PictureBox
-------------This has resulted in flashing, which the entire purpose of BitBlt is to get rid of that
-----Refreshing the final PictureBox
-----Using PaintPicture
-------------This results the same as the second image above
All of my PictureBoxes have AutoRedraw set to True except my final PictureBox.
Feel free to ask questions if you need help in helping me answer mine.