VS 2010 Creating A Lan Game
Mar 22, 2012
i would like to get some ideas on how to connect computers to play a LAN game.. the deadline for this project will be on the 27th of march so.The game that i'll be making is a counter-strike-like 2d game.. is it possible that i can finish this project before its deadline?
View 9 Replies
ADVERTISEMENT
Apr 26, 2012
I'm having a little trouble creating a game of pairs as a project.Basically I've got to the point where I can start a game, layout a bunch of cards in a grid, 6x6, and then have a way of matching the pairs together. First of all I used a For loop to assign the cards into a two dimensional array. They are pictureboxes however so when a user clicks on 2 cards, checking them to see if they match has become confusing. I've tried to stuff like this for example but it's not working: [code] This doesn't work because it can't compare the picture boxes stored to the array slot. Is there any clever person with a way around this? Or that can think of a way to compare them. The pictureboxes kinda need to stay like there though :/
View 2 Replies
Aug 9, 2011
I'm trying to create a small game in VB2010. The gameplay is as follows:
civilians would walk/stand in a room/street and suddenly an evil character would pop from the ground/wall. This evil character would suddenly vanishes too. So, the player has to shoot it to kill the character. The evil character, civilians, etc. would be random. Also, there would be sound effects too. That is the popping up of the evil character, it's voice, the civilians voice, etc. I'm trying to make it as simple as possible but without degrading the quality of the game play. I think, I could somewhat create the graphics for the characters, scenes, etc. and can get the sound effects recorded.
So, the difficult part is,[ ] how could I make it a smoother for playing the game ?
[ ] what would be the best way to do animations ?
[ ] Creating a GIF and placing it in the picturebox and moving it ?
[x]how to play the music in background and at the same time play sound effects on certain instance ?
View 2 Replies
May 21, 2010
I am trying to create a card game on microsoft visual studio 2008. But i am finding it tricky to get the right codes for the generating button. The button wiill display three random playing card suites and when all three match the user is declared the winner.
View 5 Replies
Nov 18, 2011
I want to make a program that enables a game to have more than one instance running, where it would otherwise be unable to be done. How should I go about this? A sandbox? Hack?
View 3 Replies
Jun 4, 2010
I've already coded the IRC Client, but what would be the code to make the app overlay in the fullscreen DirectX game ? And i've already tried to the TopMost function.
View 37 Replies
Nov 13, 2010
i am creating a tic-tac-toe game, but i need to do it without the IEnumerator variable. how can i do that?
Code:
Private Sub newGameButton_Click(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles newGameButton.Click
[code]....
View 4 Replies
May 20, 2009
I'm very new to visual basic and I am trying to create a tic tac toe game. I have it working all except a message to say the game has ended in a draw.I just can't work out what to put where. I have looked through the various questions and answers on the forum but can't seem to get any of the coding to work for me.[code]Can anyone point me to what code to use to declare a draw and where should I put it?
View 7 Replies
Jun 25, 2008
Recently I have been wanting to learn a bit more about Visual Basic and I've decided that I want to test my abilities by Making a Card game. The card game uses a customized deck of around 140 card. The Cards are all buildings which you need to place down by discarding a specific amount of cards in yoiur hand. The Objective of the game is to get 12 buildings built and get the most points. Many cards will be layed down at some point in the game.The way I think I will be creating the game is by Creating a Class for the Deck which will use a class for the Card. I would like the Card Class to somehow create a picture box of the cards image on the form which will hold all the other cards being displayed.
View 3 Replies
Jun 14, 2009
creating an interactive overlay over a game (such as the way xfire lets you chat with people ingame).
View 1 Replies
Jun 1, 2010
i'm creating a game for a college assignment based on Yahtzee, and so far everythings going smoothly but i've run into a hitch! Basically, after each roll of the dice i want to be able to retrieve the number of the dice wich apeared in each picture box. But how would i go around retrieving that type of data from a picturebox?
View 6 Replies
Nov 2, 2010
To clarify - I'm building a simple game in visual basic and I'm trying to create a simple file to record and display the "Best Score" from each game. Actually there are four levels in this game (each one is on a different form) - I'm trying to save the best score from each level to display in a separate Game Stats form. Therefore I creating a datatable on one form, but then trying to get all my other forms to access it.
But now I get a new DBNull error message in part of code not of my making - NewGameDataSet.Designer.vb
Error Message = "The value for column 'BestScoreEasy' in table 'GameTable' is DBNull."
Does this mean I need another New Statement somewhere?
View 3 Replies
May 7, 2012
I am creating a type of pacman game, I have entered the code for everything else, but I am struggling with the code for the high score,[code]
View 2 Replies
Oct 8, 2011
I am currently creating the classic Pong game in VB.Net. I have a few questions regarding angle of approach and rebound.
For example if the ball hits the wall at roughly a 30 degree angle then it should roughly bounce off the wall at ~30 degrees. This is my first query, how would I achieve this as I cannot figure out how. It is currently bouncing the ball off the wall by altering ballXspeed and ballYspeed by 5 or -5.
My second query is that of the ball hitting the paddle, if the ball is to hit to top 0% - 5% of the paddle it will bounce off at a different angle opposed to if the ball hit the paddle in the 15% - 20% zone of the paddle.
Here is my code in its entirety:
Public Class Form1
Dim ballXSpeed As Single
Dim ballYSpeed As Single
[CODE]...
I understand that you cannot do the work for me and I don't expect you to. Would it be possible for help with the pseudo-logic or a particular area. I forgot to mention that the ball currently bounces off the paddles at a random angle.
Hence:
ballXSpeed = -5
ballYSpeed = New Random(DateTime.Now.Millisecond).Next(-10, 10)
View 1 Replies
Jun 17, 2011
How do I go about doing this? I have currently made this code, but sometimes points are created on the boundaries of this picture box, which I do not want. I want all new random points to be within the bounds of this large playarea (picturebox). Foodarea is my big picturebox which i want all fruit to spawn WITHIN not outside on it's edges.
[Code]...
View 12 Replies
May 21, 2010
we were asked to create a game.Me and my friend decided to go ahead and make the game 'Snake' (I think you all know this one)Since we never had any teaching on how to do it we looked already made games and used the same code (we found this one on a Youtube tutorial so I think it was alright to copy it).We picked it because it seemed pretty easy and we can tell what each thing does in the code.I also like fooling around so I changed all he values and stuff so I understood better what was going on.The game goes great but sometimes when the snakehead touches the food it doesn't 'eat' it and I don't know why :This is the part of the code that takes care of eating the food.(PictureBox2 is the snakehead, PictureBox15 is the food)
[code]...
I just don't know why does happens. The PictureBox2 touches PictureBox15 but nothing of what I typed above happens.
View 6 Replies
Nov 30, 2008
Basically i am creating a Hangman program using VB 2008 Express edition and need some help.I would like some help on when a user is entering a letter for the word how can i make it so for example if the target word is "MAX" and they enter "M" i would like the lblstatus to update as "M--" obviously i would want it to be able to do it with all 3 letters.
View 2 Replies
Jan 13, 2010
I am creating a "Who wants to be a millionaire" game. Lets say I have 100 questions in a listbox. How can i randomally select a question by clicking a button.
View 11 Replies
Apr 7, 2011
I am trying to do a game application similar to chess, where i need to move the game peaces(graphics) over another graphics which is the game board. using the mouse. How can I do multiple layers of graphics and control their movement(without using direct x, i know nothing about it)? Note: I have visual basic 2010 express, windows xp home
View 1 Replies
Feb 23, 2009
I am creating a user tool for a game I am playing (NOT a hacking tool, it simply shows information about my own character). I have a template of what I need to do with the data I recieve, here is the code, it is coded in PHP
function decode_style($r) {
//get gender
$gender_array = array('Male', 'Female', 'Male 2','Female 2','Male 3', 'Female 3');
$style['Gender'] = $gender_array[round($r / hexdec(4000000))];
//GET AURA
[CODE]...
Ok, I understand PHP a bit (As you know one programming language you can understand just about any) and this is what I have created from this
Dim Style As Decimal
Dim Rank, RRank As Decimal
Dim Gender, RGender As Decimal
Dim Aura, RAura As Decimal
[CODE]...
As you can see, it is receiving a single piece of data from a remote SQL server, I then need to run this data through the above calculations (Seen in the PHP file) although the answers I'm getting are incorrect.
Here are some simple instructions I got in what goes on between values:
gender :
PHP
[CODE]...
aura:
PHP
[CODE]...
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
Jul 24, 2009
I am creating a tycoon game where you start at the bottom and go up the business ladder. At the end of the year, the player can either, stay with him current job, get another job or go it alone. I would like to know how I can make the player either a 'job offer' or 'share offer' when they own their own business.
View 4 Replies
Dec 20, 2009
I'm seeking guidance on the following project: I am trying to create a "game" to teach engineers how to operate a pollution control device. The first version of the game was built in Excel using VBA, but I'd like to move to a portable app running on a USB flash drive. I'm comfortable relearning VB (I learned VB and C++ about 13 years ago but haven't used them since), but I'm not interested in trying to learn a new language (eg, Flash).
What I need to know is whether it's possible to create an executable that doesn't need to be installed on the computer but can run from a USB flash drive(ie, a portable application.) The game will have a GUI with limited user controls -- textboxes, comboboxes,sliders, tab control -- and some simple calculations behind the scenes.Can I expect the users will have a specific .NET framework installed?
View 6 Replies
May 22, 2011
I would like to write on a game window while I am ingame, Like steam or xfire for some basic functions.Anyway I can do this by calling Graphics.FromHwnd() In rapid succession and then it looks really flickery. The game is using DirectX, is there a way to sort of "Inject" something to be drawn into the paint event ? even if this is not possible with vb.net I can do C# or C++ if I know how.
View 2 Replies
Apr 7, 2011
I'm planning on a very basic game created in VB.Net WinForms and a web server(shared) which will host PHP and MySQL.I think, I can create this basic game with no problems. But my headache is with the communication part In the db(MySQL db in the web server), there'll be usernames and password listed in a table. When my vb app is opened, it would ask for the username and password. The user enters his username and password. This data is compared with the data in the db. If a match is found, then the game starts and the user can play the game. At the end of game, it will ask for the confirmation to send highscores to the webserver. When confirmed by the user, the highscore will be send to the webserver, which will be then stored in the MySQL db.
The game will be a simple one just like Tic-Tac-Toe or a text based game.What all things do you recommend for the development/communication part of this game ?
View 2 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
May 23, 2010
Where should i start? any tutorials out there? I only know the basics of VB and how to works.
View 5 Replies
May 13, 2011
I am trying to make my design box for the Concentration game in VB 2010. And do not know what kind of box to use, to show the cards that flip over.
View 4 Replies
Apr 7, 2012
I try to make a little bot for a game that i play. But i don't know how to make a functie that click on a resources (looks like this: [URL]
View 1 Replies
Mar 13, 2012
I am required to make a game of concentration, whereby cards are shown for x amount of seconds and then truned over. The user then needs to remember where the cards were and pick two at a time in order to win points - whilst being timed.
Any pointers on where to start, or how to make a 2D control array of pictureboxes that can display the cards into a grid of (10x10) pictureboxes randomly?
View 8 Replies