Tutorial [Snake using BitBlt] NMs Game tutorial 0.5
This is a tutorial on how to make a BitBlt snake game. This is not the simplest way to do it. If you are completely new to game programming in VB. You should try to look at part 1 of my game programming tutorials. It is using pictureboxes, it is a little bit easier. If you have read that tutorial, this one should be easy. This one is not that much longer, but it is using one API call. But if you feel ready, I think we should just jump in to it. I am using VB6 in this example. But VB5 should do fine too.
Setting form properties:
When making games it is always easier to handle the coordinates of the screen in pixels than twips (twips is the default one). So start by changing the ScaleMode property of the form to Pixels. And if you don't know it from before, it is nice to know that in VB the coordinates of your form is (0,0) in the upper left corner. It is not easy to think this way of the coordinate system at once, but you will get used to it.