Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27212

How to get multiple instances of the same object?

$
0
0
Hello! I've been fooling around with some game coding lately, what I've been asking myself, and the internet is this:
Let's say I have a picturebox, which, in the game, acts like a cube.
I want to be able to 'spawn' in more cubes into my game, when I'm playing.
I can't just ctrl+c and ctrl+v, then I'd end up with like 300 pictureboxes ^^
Is their some way to 'spawn' in multiple instances of objects?
Thank you in advance.

Viewing all articles
Browse latest Browse all 27212


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>