Visual Basic Express 2010 Tutorial 37 Hit Detection - EZInvaders Part 6 Game
Uploader Comments (SchoolFreeware)
All Comments (19)
-
Instead of the Smiley face and Triangle I Did A Vader Mask and X- Wing
Thumbs Up
-
@Lacihun1 oh okay thanks
-
But you have to be carefull using invader.right and invader.bottom because the are readonly values.
-
@Lacihun1 Really?
Thanks gets a bit confusing when using the method the video explained!
-
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.
-
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
-
Amazing tutorials thank you.
-
how can u be talking like this forever!
i would hav a sore mouth if i do this
-
Thanks
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
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