Make A 2D Game In VB?
Nov 1, 2010
I'm trying to make a 2D game in VB. As a first step I'm going to make a playing field (a form) on which I will put a character. The character should be able to move up, down, left, and right when you press the arrow keys. How do I start off with this and what should I start off with learning?
I already know the basics in how to make normal apps with buttons, text boxes, labels and so on but I don't quite get how I should start off with something like this.Also I wonder about XNA and VB.Net. Can you use them together or is XNA only for C#? I found some stuff while googling suggesting that XNA for VB.Net had been released.
View 1 Replies
ADVERTISEMENT
Apr 2, 2008
im trying to make a game in visual basic in which your character can move around, jump, and kill things. I can get the picture box with the character to move and everything is fine. but i did run into one problem. when the character moves over a tree (or something) you can see the gray backround of the character as i made in paint. how do i make the backround of the picturebox transparent?
View 4 Replies
Feb 1, 2010
I am trying to make a game which basiclly lets you shoot ducks. i have a picture as a background (set as form image) i then have picturebox's with ducks flying flying around you shoot them the disapear etc.
My problem is the image. i have a picture of a duck and a blue square round it. and i would liketo make it transparant because birds dont fly with blue squares.
Below is an image to illistrate my problem
I have tried adding transparent background, transparant key etc
View 2 Replies
May 19, 2011
I'm doing a project for school. I'm trying to make a game similar to the Impossible game. I need a square (picturebox) to jump but I want gravity to effect it.
View 1 Replies
Apr 19, 2012
I need to make a matching card game in VB 2010. i have generated my cards but now need to show the cards for 10 secs then change the cards to (AppPath & "Cards ed.png"). then when a user clicks on the card the card will flip over.*How would i set a timer to turn all my cards into*(AppPath & "Cards ed.png") after 10 secsbut still have the values from the array and when i click the cards they flip over (from red card to numbered card)
Code:
Private Sub Place()
Dim Counter As Integer = 1
For Row As Integer = 1 To Int_Grid_Size
[CODE]..........................
View 2 Replies
Jan 5, 2011
When my picHero enter a room where a picEnemy exists I should make the picEnemy follows picHero no matter how it moves up, down, right, left and as picHero is moving 5 px i want to make the picEnemy moves 4 px. I've tried to do use a condition as
Code:
if(picEnemy.location.X <> picHero.location.X) then
location = new point (picEnemy.location.X+4, picEnemy.location.Y)
picEnemy.location = location
endif
Also for the Y axis, but it didn't work.
View 18 Replies
Dec 19, 2011
i'm trying to make a hangman game yet i'm getting errors in these parts:
System.Text.RegularExpressions.Regex.ism...rgx, that it is not part of system .text ( more than
one case of this error) and also the rgx bit is claiming to need a '<' for an xml tag.those errors
and quickly run it on their vb? this is because i do not have vb on my computer.[code...]
View 1 Replies
Dec 1, 2011
I am making a simple blackjack game for school.It involves using object arrays and for next loops.I have 5 labels for the player, and 5 labels for the dealer. I have both their totals displayed on the form. I also have a deal, hit and stand button. I also need to follow the rules of if the dealer >= to 17 they must stand and if the dealer is < 17 they must hit. Does anybody have any suggestions on how i can code the dealers turn.I already made it so the player clicks hit and when he/she is done clicks stand. This is my stand button so far:
lblTotalDealer.Show()
lblD1.Show()
Dim itemarray2() As Label = {lblD1, lblD2, lblD3, lblD4, lblD5}
[code].....
View 14 Replies
Aug 27, 2009
i have zero programming knowledge and wanting to learn programming from seeing people making bots for online games, i always seek the knowledge if things and wonder how they do them, even though its pretty useless motive lol i just want to know what knowledge needed to making bot for online game am learning know VB.net 2008 got visual basic step by step book for 2008, i was searching for online game hackers forums and hear them type things like hooks, packets sniffers , etc , so what things do i need to learn beside visual basic 2008 to make bots for online game? i wonder how can i connect my program to other programs
View 1 Replies
Aug 16, 2009
How could I start making a Go game? I just need some logic for it, and maybe some code, and then I can do the rest. How can you tell if an area is enclosed, which areas on the board are full, etc.? I also need ideas on how to find infinite capture/retrieve cycles.
View 7 Replies
Mar 25, 2011
I want to make a chess game in vb.
View 8 Replies
May 10, 2012
How do i make a menu for a game on vb.net
View 1 Replies
Apr 24, 2010
ive tried playing with the code, references, settings, resources but cannot get this code to work Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Startgame.Click Dim ss As String = Startgame("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft",
[Code]...
View 13 Replies
Oct 10, 2009
I want to make an ingame menu. When you open a game a menu will pop up with a hotkey. I don't need you to do the work for me I just need a sample of a ingame menu with a hot toggle (ie: the menu doesnt need an interface, a black square that pops up with key).
View 7 Replies
Feb 15, 2010
How would I make a 3D game (With Blender models), in Visual Basic, with a chat, and you can see other people?(Like see other people walking around, and if someone pulled out for example a sword, you would see that)
View 4 Replies
Jun 17, 2011
Is there a way to make a health variable that, when hit, you lose health?
View 3 Replies
Apr 3, 2010
I just downloaded VB 2008 but i have a question, can you make a D3D Menu for in-game with VB 2008?
View 5 Replies
Jan 25, 2010
I was wanting to make a little game. You press a start button, and a picture moves into different spaces. If you can hit stop when the picture is in a certain spot, then you win. How do i make it so when i press the stop button, it will check to see if the picture is in the location (180, 307)?
This is what i have:
CODE:
View 4 Replies
Apr 18, 2012
i need to make a matching card game in VB 2010. i have generated my cards but now need to show the cards for 10 secs then change the cards to (AppPath & "Cards ed.png"). then when a user clicks on the card the card will flip over.How would i set a timer to turn all my cards into (AppPath & "Cards ed.png") after 10 secs but still have the values from the array and when i click the cards they flip over (from red card to numbered card)[code]
View 2 Replies
Apr 5, 2010
I'm trying to make a patcher/launcher for a game. I want it to happen like this. When the user press's the PLAY button, I want it to check if the files are up to date. If they are, then it will run the exe (it will be in the same directory). If I updated a file, say Sound.x, I want it to download it with a progress bar showing. But the thing is, I looked around and I have no idea how to check if the file is up to date or not.
View 11 Replies
Aug 12, 2009
Im gonna make a program to a webbrowser game. There is a captcha, there with pictures of cars. i need to compare these two pictures and i want the result of equalnes in PERCENT. So if the picture are 75% equal then it click on the picture.
View 1 Replies
Jan 10, 2010
i am currently trying to make an invaders-like game with visual basic 2010.I've managed to make one alien (picturebox16) dissapear when the coordinates of the arrow (picturebox1) kinda matches the coordinates of the 16th alien, however, the second alien(above it) doesnt dissapear(picturebox4)?
View 2 Replies
Mar 20, 2009
I have have to make and design a game in visual basic 2008 for college i also started colleage late... i dont kow how to start my game. the way the game is blackjack (21)
View 1 Replies
Feb 4, 2011
I'm in the process of designing a game, how can i make the game tick over in time?
First thought would be a timer but is this the correct way?
Also I'm looking at building this game in WPF, By memory WPF does not have the timer control, what would you do then?
View 5 Replies
Mar 2, 2010
I have two "Game of Life" programs. One uses a list of points that represent the live cells, and the other uses a fixed-size grid. The one using the list of points can zoom in and out, is much more elegant in coding, and has an unlimited size grid. However, it needs to search for points in the list, and the more points in the list, the more time it takes
View 5 Replies
Dec 19, 2009
Im New To VB and i was wondeing how do you make a picture box bounce from the sides of the form.
View 8 Replies
Jul 8, 2010
I am making a game in vb.net and was wondering how to make question box eg. if a person clicks on a button he gets a message boxs which asks him a question he has to answer. the msgbox should have a text box or something for input and if their answer is the same as the one i have specfied then the message box says correct. if not then says it is wrong.
View 6 Replies
Jan 8, 2010
I'm trying to make a manabar that will drain, using this code
Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Start()
End Sub
[Code]...
View 7 Replies
Aug 13, 2009
something like this
pctObject.horizontalPosition += 5
I just dont know the right syntax
View 2 Replies
Sep 2, 2011
I am very much a beginner to VB.net and I'm still flicking through tutorials, learning basic stuff however I need to make a program fast and need help with it. I need to know how to make the form open a game save,whether that be for PC, Xbox or anything else.
View 3 Replies