What would you do to make a precise collision code ?? Like if you don't want the invader to die if the bullet only enters any corner of the Picturebox1 but doesn't really touch the drawing. =X
@zizeeo VB Pro should be able to open the project from VB Express without complication. I will double check to see if there isn't something wrong with the file. Anyway, the code used should be in your Inbox by now.
@zizeeo No problem. Make a private sub checkhit and add the code. If you need to check your work with what is created in these tutorials, the code is downloadable at the SchoolFreeware website.
@zizeeo Hello, are you using VB 2010? If not, the project file will not be compatible for any other version. I sent the code via YouTube Personal Message.
Instead of the Smiley face and Triangle I Did A Vader Mask and X- Wing
Thumbs Up
SuperVideopeeps 1 month ago
In fact you don't have to use invader.left+invader.width, you can simply use invader.right or invader.bottom it's the same but more simple.
Lacihun1 5 months ago 2
@Lacihun1 Really?
Thanks gets a bit confusing when using the method the video explained!
cyrusemerson 3 months ago
@cyrusemerson
But you have to be carefull using invader.right and invader.bottom because the are readonly values.
Lacihun1 3 months ago
@Lacihun1 oh okay thanks
cyrusemerson 3 months ago
What would you do to make a precise collision code ?? Like if you don't want the invader to die if the bullet only enters any corner of the Picturebox1 but doesn't really touch the drawing. =X
xXOpkillerXx 8 months ago
Amazing tutorials thank you.
oXIdizzyIXo 8 months ago
Comment removed
linkinl1 10 months ago
how can u be talking like this forever!
i would hav a sore mouth if i do this
hypershadicsiddhu 11 months ago
Thanks
basenajitu 11 months ago
I have VB 2010 Pro.
zizeeo 1 year ago
@zizeeo VB Pro should be able to open the project from VB Express without complication. I will double check to see if there isn't something wrong with the file. Anyway, the code used should be in your Inbox by now.
SchoolFreeware 1 year ago
@SchoolFreeware OK thank you.
zizeeo 1 year ago
Sorry to ask for help again but it says "checkhit()" is not declared.
zizeeo 1 year ago
@zizeeo No problem. Make a private sub checkhit and add the code. If you need to check your work with what is created in these tutorials, the code is downloadable at the SchoolFreeware website.
SchoolFreeware 1 year ago
@SchoolFreeware I downloaded it and it says it cannot be opened.
zizeeo 1 year ago
@zizeeo Hello, are you using VB 2010? If not, the project file will not be compatible for any other version. I sent the code via YouTube Personal Message.
SchoolFreeware 1 year ago
nice but i wish i had visual basic for mac :(
Govas777 1 year ago
@Govas777 There is RealBasic for Mac. it is like Visual Basic but is not free.
SchoolFreeware 1 year ago