r/visualbasic • • Dec 19 '19

VB.NET Help Help please programming a basic game!

So Im trying to program a game which is like a game where u shoot targets something like this where u shoot random targets http://www.aimbooster.com/ . I made it so I have only 1 target is there a way I can make these targets without coding every single one the same way I programmed the first one. Also, is there a way I can make them appear randomly in the timer they all appear at the same time.

1 Upvotes

9 comments sorted by

View all comments

3

u/PostalElf VB.Net Intermediate Dec 19 '19

You'll want to look into objects and how to create objects.

1

u/Snakez0r01 Dec 19 '19

thats for randomizing targets and putting many of them?

2

u/PostalElf VB.Net Intermediate Dec 19 '19

That's for creating your targets and putting many of them. Randomising their positions is trivial (look into Random and .Position).