Make The Bullet Dissapear From The Form After It Collides?
Jun 14, 2012
I'm making a space invaders type game. Everything is working except I'm not sure how to make the bullet dissapear from the form after it collides so it doesn't hit the second enemy line. I tried dispose, hide and enabled = false and visible = false. If I dispose I can't shoot again. Hiding it means it will still collide with the second enemy line it's just invisible. Also, my bullets only shoot as low as the lowest wave of enemies. So after I kill enemies it's like it's still colliding with an invisible enemy. After like 30 seconds the I guess "invisible" enemies glide all the way down the page and I can shoot as high as I can after that. I published and compressed my game into a rar if you want to see what I'm talking about and I will include the code. I've tried for like 3 days to get this to work.
[code]...
View 7 Replies
ADVERTISEMENT
May 4, 2011
I want my form to never dissapear unless instructed to do so by code. I build a desktop gadget that stays there even when multiple other windows are open, but if the "Show Desktop" button is clicked on the taskbar it will dissapear completely (until another window, whatever that might be, is opened, in which case it pops up again).Take Windows Gadgets as an example. If you click "show desktop" they do not dissapear, they are stuck to the desktop and are constant, and only dissapear when you click the exit button on the gadget. Is there a similar method i can implement for my own form so that it never dissapears?
View 11 Replies
May 13, 2009
Can you give the example of source code to make bullet in richtextbox?
View 1 Replies
Jun 9, 2011
how to make 45 angle shoot or 45 angle movement of bullet in vb.net
View 1 Replies
Jan 5, 2010
I have a simple DataGridView that I fill in with data from a SQL server source. The query is fairly simple and after the grid gets populated I manually add several new columns and then iterate through each row and fill in the columns with appropriate data. all that works well. but now when i click on a column header to arrange the data the data in the columns that were manually added disappears. is that suppose
View 1 Replies
Mar 21, 2012
how I could have an object bounce back when it collides with an rectangle shape. There are multiple rectangle shapes and I don't want to do it all seperately for each one.
View 1 Replies
Nov 28, 2009
I can add a bullet in word document through vb.net by using applybulletDefault() method but how can i remove it in next line??
View 1 Replies
Mar 15, 2011
I need to allow hard returns and bullet points in all Textbox area field.
View 2 Replies
Jul 25, 2009
I need to create a custom label. I need to put a triangle shape into the label as a bullet point. I want to be able to click on the label and have the triangle spin. For example is the base case the label will look like this (I am using a ">" and a "V" to represent the triangle shape):
> "Caption"
When I click on it, I want the label to look like this:
V "Caption"
I need to have a space between the triangle and the first letter of the caption.
View 7 Replies
Sep 20, 2009
I have a rtb and I need the user to be able to switch between bullet styles. How would i do this. I can not figure this out, i do not even see a bullet style properties.
View 4 Replies
Mar 6, 2008
So for my final project in my Visual Basic.net class I am making a airplane game quite similar to Space Invaders.I think I have a good idea as to how to get the bullet from the planes to shoot. However, I was wondering where exactly the bullet picture box is going to be placed. I don't understand it. Is it going to be under the picture box of the plane or what?
View 17 Replies
Mar 15, 2011
I need to allow hard returns and bullet points in all Text fields
View 1 Replies
Apr 15, 2009
How can i create bullet points in a Rich Text Box?
View 1 Replies
Nov 11, 2011
when a tank cannon shoots, what I want is make the shell come out on the tip of its cannon. The same thing when the cannon is facing on a different angle.I only know the rotation thing but not these trigonometric function I am looking for.
View 3 Replies
Nov 17, 2011
I have read that VB .NET in earlier versions limited the FORM size to that of the development machine screen resolution.I am hoping that there is a way in the current VB 2010 to get around that.However in my attempts to make the form larger, it always resets itself to the screen height on my develoment machine.Is there a way to get around this and have the person be able to use a scroll bar to move down?The data I wish to show actually has two screens worth of information but the stuff in the scroll down section would be used on a limitied basis so scrolling will be useful rather than having to recreat the screen to show less data at one time.
View 2 Replies
Jul 9, 2010
How can I make the main form grey out/translucent black when a new form opens on top?
View 8 Replies
Oct 24, 2009
I have a form with a text box in a toolstrip. I would like to make the width of the textbox relative to the form size when the form is resized. The following code works fine except when you click the restore button from a maximized state.
[Code]...
View 6 Replies
Jul 25, 2011
Is there a better way to make a form with multiple buttons opening different things than having a form that has lots group boxes for each tab. So in the begining each box will be invisible and when you click the button the corresponding group box will become visible. Is there any other way?It will be like a background image and it'll have buttons that will mask it with invisible buttons. when the button is clicked it will open the corresponding group box.
View 5 Replies
Mar 28, 2009
I'm making a program like PostIt! Well, i want to make a model form, and copy that form as many times i want.I think it works with something like frmPostit1 = frmModel.clone()
View 2 Replies
Jun 12, 2012
I have 3 PictureBoxes on a form that are tiled on top of each other. the form has a minimum vaule of (502, 416) and a maximum of (502, 1080). because the user can select from a MenuStrip to display '1', '2' 0r '3' PictureBoxes at once '3' being the bottom and '1' being the top PictureBox. What i need is when the user drags down the form it snaps to the next PictureBoxes position, so it goes down in blocks this is what i have so far which is pretty far from working.
If Me.Height <= (1079) Then
Me.Height = (732)
ElseIf Me.Height <= (732) Then
Me.Height = (424)
ElseIf
End If
I also thought i might be able to figure it out if i new how to create a variable like this
If Me.Height <= (1079 to 733) Then
Me.Height = (732)
I know that it isn't the correct syntax but it's kind of the idea If you can make sense from my not so good description and point me in the right direction/code example i will be most grateful :)
View 1 Replies
Nov 24, 2009
i want to make a a form when i send items in form as like as my desktop
View 3 Replies
Jun 9, 2011
I need to make a save button. The user will work in main form. User also has Settings in the MenuStrip, when the user clicks Settings a new form will open. There user has ability to make changes that will affect the Main form. This is the code:
If CheckBox1.Checked = True Then
bib.Panel2.Hide()
End If
This is the change that the user will be able to do that will affect the Main form, but I'm not really sure how to make that the CheckBox1 will be saved when the user clicks it and the clicks OK button. I also want to know how to make a cancel button.
View 8 Replies
Apr 30, 2011
I would like to make a form that prints the same size as a Legal Form, (8 1/2" x 14") When I check on the internet I see that the pixels can very at 75dpi the form is 637 x 1050 pixels. But at 300dpi the form is 2550 x 4200. Do I have to build the form as per the dpi ratio? I cannot make the form greater than 1612 x 1212. I have tried serching the internet for ways of expanding the form to greater pixels in the height than 1212. I am running Verion 7 of Windows and I am using Visual Basic 2010 Express.
View 5 Replies
Apr 25, 2009
Im using 2 forms
How Would i make a login form that will save my data to form 2 like i sign into form1 and it saves like my username/email and password from form1 to form2
View 3 Replies
Nov 21, 2009
How would i make so when the user resizes the form the controls on the form resizes to what ever(ex: form become full screen textbox is full screen.
View 2 Replies
May 28, 2010
How to make a form as bottom most form in vb.Net 2008
View 1 Replies
Aug 6, 2009
How can I Make the contents of a form resize with the form?
View 2 Replies
Jun 5, 2010
How can I make the second form (same size as the first) open exactly where the first form was?So Form1 is hidden, and form2 is shown in exactly the location form1 was in.
View 2 Replies
May 8, 2009
I want my login screen to open over my editor! Example MS word how they have the tips screen over top and you press the close button if you don't want it there.
View 3 Replies
Dec 7, 2009
I'm trying to make a simple game, but i have a question.i have a minimum damage and maximum damage lbl boxes on 1 form and i have a button if clicked it opens a 2nd form with buttons that deal "damage" when clicked
1. Attack (a regular attack that would deal the damage from form 1)
2. another attack ( this deals damage from form1 + 8)
3. another attack ( deals 30% damage for 4 attacks [so 4 attacks that deals 30% damage each])
4. another attack ( this one is great. it deals damage of 2 times of minimum damage to maximum damage and a third label box lblAP (attack power) which each 2 points of attack power you have it adds 1 more damage.)
i can do that math i just have no clue how to bring the info from form 1 to form 2.
View 12 Replies