Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Questions for VB Programmers with Graphics/Input Experience
Hello, and in advance, thank you for helping with these questions.
But to the point:
In my game that I am making (and no, it's not one of those games people say they "are making", this one is actually towards the end of its preliminary development), I am using the Form_KeyDown for my input device. However, I can't figure out how to make it so that when a key is pressed, it doesn't stop for a while before it starts repeating. In the game, the character moves one tile, stops for a half a second, and only then proceeds to move rapidly. How can I eliminate this delay?
Also, I have a question about graphics. Sometime in the near future, when the game is finished, I will need to completely revamp the graphics. But I can't figure out how to make Visual Basic display images or pictureboxes, even ones that have gifs in them, transparently. There is always a white square in the background. Is there some special trick in the creation of the graphic to make it transparent in VB?
Thankful VB programmer
0 · ·