
03-05-2012, 08:43 PM
|
|
Newcomer
|
|
Join Date: Mar 2012
Posts: 1
|
|
Any Suggestions?
|
So I have to make a game in VB as a final for a programming class I am taking. I already have almost all of the code done, but there is just one problem I have. I am using a timer to have objects at random appear in a random y position each time. I create a new picturebox each time through code. I already have all this coded, so don't worry. My question is on making it move. I know the syntax and all that stuff and how to move it to a location, but how do I make it move there in a timer? I have the syntax down for like moving the arrow keys and stuff, which works, but I don't know how to do it in a timer. I've tried loops and other things, but it doesn't do anything and usually just stalls the program or freezes it. Any ideas? Thanks so much, it would be great if you supplied some code, but it's fine if you think you are helping me with homework too much. Again, I'm not asking you to create the whole program, just that small syntax. Thanks 
|
|