Hiya!!
I'm quite new to VB.NET and to prove to my friend that I can use it, I am trying to go against what he said about not making games with it! Anyways, getting to the point, it's a simple breakout game using PictureBoxes for the bat and the ball, which I have programmed correctly, and a button for a brick to hit. This is where the problem lies! I have a button for the brick, and a timer which checks periodically for collisions between the ball and the brick. This works fine, but I want to add more bricks (as abviously a breakout game with one brick is kinda lame).. but this would mean adding a new timer for every brick etc, etc... is there any way around this?? My friend said uttered something about object parents and I know how they work in GML (a programming language I am actually good at), but I didn't think VB.NET had an equivalent other than containers like the tab containers etc...
Anywho sorry about the whole essay I've got going on up there and hopefully I posted this in the right place in the forum!! Please reply if you have any suggestions which don't involve flaming me or making a new timer for each brick
-Javawag
I'm quite new to VB.NET and to prove to my friend that I can use it, I am trying to go against what he said about not making games with it! Anyways, getting to the point, it's a simple breakout game using PictureBoxes for the bat and the ball, which I have programmed correctly, and a button for a brick to hit. This is where the problem lies! I have a button for the brick, and a timer which checks periodically for collisions between the ball and the brick. This works fine, but I want to add more bricks (as abviously a breakout game with one brick is kinda lame).. but this would mean adding a new timer for every brick etc, etc... is there any way around this?? My friend said uttered something about object parents and I know how they work in GML (a programming language I am actually good at), but I didn't think VB.NET had an equivalent other than containers like the tab containers etc...
Anywho sorry about the whole essay I've got going on up there and hopefully I posted this in the right place in the forum!! Please reply if you have any suggestions which don't involve flaming me or making a new timer for each brick
-Javawag