Making Solitaire Game In VB
Jun 29, 2010would like to make a solitaire game in visual basic however do not know where to start. Could someone please give me some direction and help as to how to build this?
View 5 Replieswould like to make a solitaire game in visual basic however do not know where to start. Could someone please give me some direction and help as to how to build this?
View 5 RepliesHow to move a card in a solitaire game using vb.net 2008?is there anyone who can help me out here?its just that im a beginner and i want to know more about vb.net when it comes to games specillay in cards like solitaire...
View 8 RepliesHave attached the code so far and would like to be able to rotate my car sprite through 360 degrees and have it move in diagonal fashion.
View 19 RepliesRecently I had the urge to make my own 2d game editor and I don't know where to start and I have searched the web but my results were not
View 5 RepliesI am making a Game Trainer in vb.net, this is the current code I have.
Imports System.Runtime.InteropServices Public Class Form1
[Code]...
I can read from the memory address fine, but when I try to write to it nothing happens, no errors and the value does not get written. What am I doing wrong?
Alright, well im making a launcher for a game i play. and i want to make it so it says how many users are online. and im not sure how to code that out??
View 25 RepliesI am working on a game using Visual Basic.NET and XNA. I am having trouble making the map scroll with the player. I can move the map at a square at a time(32x32) but I don't like the way it looks. I want to move at a fluid rate if possible. I want the player to be able to walk half-way through a square then see a half-square to either direction your moving. IE: Walking left, walk half-way through a square then to the far left of the map see half of the next square going to be drawn. But I don't want just half-way, I want to be able to just have fluid movement where you can walk to an 1/8th of the square and see the next 1/8th on the other side of screen if possible... To open this project and view you must have Windows Phone SDK installed can get it from Microsofts website......Note:Only up and down movement have been added into the game.
View 2 RepliesI can currently make a dialog1 pop up, then the user clicks "Yes" for dialog1, then dialog2 pops up, and if the user clicks "no" instead of "yes", dialog2 reappears again. I've got a headache now, but I will re-look over my code to see if there are logic errors.
I originally had dialog2 and form1 (the form1 was acting as dialog1). But The thing was that I do not how to give properties of a dialog to a form (i.e. not make the user be able to click other windows while this form is open) IF I could have code that says Me.bringtofront (which I have tried) didn't work though. If I apply this command to a form I get an error:
code: Form1.showdialog()
error: Please make form1 not visible. something a long those lines. But what I don't understand is form1 was never open.
What do the standard lines of code do?:
Me.DialogResult = System.Windows.Forms.DialogResult.OK
Me.DialogResult = System.Windows.Forms.DialogResult.Cancel
I'm making a blackjack game for class. It's been better programming in VB than it has in C#, but I don't know how to link button subs (BTN_Deal_Click or BTN_Deal; I can't decide which one will work) to one another. For example, after the code in BTN_Deal has been run, the program is supposed to wait for the user to click either the Hit or the Stand button.
[Code]...
I am trying to make a Chess multiplayer game in Visual Basic. Its a two player which will be played in a normal way and not even over LAN. So far, I am done designing the board.
My logic is: First, on clicking any square, the click event handler will check whether a piece resides on that square. If not, then it checks if a piece is to be moved to that square. If both are negative, then it does nothing.
Now, the problem with this is, how do I code the click events? Also, I have represented the board using a 2dimensional array. But how do I update the positions after every move? And how do I check whether legal move is being executed? One more thing I want to add is whenever a piece is clicked, the possible legal squares should be highlighted.
For this, what I did was, for every click event on any square it checked if there was a piece. If there was a piece, then it highlighted all possible moves for that piece using If-Else-If logic, but it turned out to be too cumbersome and too long. And another problem which arose was, how do I know that if the user clicks an empty square to move the piece there?
I am using Visual studios 2010, And what I am trying to do is make a card game, and I have some ideas for how to put a lot of it together however I am having trouble getting started with making the cards to begin with.So I need something to call to represent the cards with numerical values with ace being 1 and king being 13.
View 4 RepliesI am currently in the process of making a snake game using VB.NET... I was just wanting to gather ideas on how to do the body of the snake..Currently I have a class called SnakeBody which contains the following code:
[Code]...
I guess what I am asking is if Dim body As PictureBox a logical thing to put in my class. As in, I am not sure if that is the correct thing to do? To create the actual body of the snake I will have an array of these SnakeBody objects. If `'Dim body As PictureBox is valid How do I reproduce the same picturebox everytime my snake eats something?
I just started a snake game. This is what I have so far:
View 2 RepliesWell the thing is im making a tool for a game(No hack)the display is like this Name : [here a text box] Time : [Here can be laber or textbox] [start] [stop] [reset] in the first textbox the user who is using the program have to put a player name and in time when they click start in the second textbox or labe it should start countingdown from 1 hour 1:00:00.Stop only stop the time but let the time where it was and reset to reset the time.so when the time get to 0 something should pop up with the name of the player that the user put in the text box like MsgBox Frolox's time has finish or something like that but it have to appear in top of everything.
View 16 RepliesWhere should i start? any tutorials out there? I only know the basics of VB and how to works.
View 5 RepliesI'm doing a pacman game and im stuck on how to make the pellets. This is the code i have so far.I was thinking of maybe making a picturebox for every pellet and then make an if statement that if pacman goes on a pellet it disappears and he gains a point. But this would be a VEERRRYYYY large if statement and im sure there is a better way to do it.
View 3 RepliesI am making a crosshair(for a game) which needs to be absolutely topmost!//. This can only be done if the form's topmost property is true, and the next second false, and then true...etc..
But is there a possibililty to make sure your form is absolutely topmost.. Or make another program/application not topmost so that yours is.
My questions is only about the topmost not about the rest of the application because I have made everything already.
Uhm, I am making a Launcher for a Game Called Cabal, and it will be for Private Servers. The thing is, that it is so easy to Hack/cheat on Pservers, and because the files for Cabal we use are old, we dont have good protection against hackers. One of the things is, that when a player presses CTRL+***+*** or something, they acivate a GM command, which is only allowed for GM's. I need to prevent that, and I also need to prevent people from using Cheat Engine. I am also planning on using Update Funcion, so if a player tries to change the CabalMain, so the Version will change (Which must not happen. If they change it to a specifik version, they can use GM commands)If there is any Anti-Hack out there, which is free, please link it. I have google'd for 1 hour. And more, and just did not find anything.
[Code]...
im making a random number guessing game type thing, i have the main thing done, but I was just wondering, how could I get it to show the integer rndnumber in the message box that comes up? I think its something like &= or something, but I havn't even been using VB for a week, so im can't figure it out. Here is my script:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If RadioButton1.Checked = True Then[code]......
I have this question. I am making an game launcher kind of thingy for my pc. I want to show all the games i own, and when you press it, it launches. But there is this admin pannel to add games,
but how should i save the data? Since i must be able to add as mutch games as i want. How should i do that?
I was thinking about making an interactive computer survival game, such as the Rainbow Survival levels in Little Big Planet. I was wondering if there was a tool i could use to create the objects, such as the character, explosives, bombs, and point bubbles. i know how to make all the objects move, i just don't know how to create them to begin with, is there a certain tool in Visual Basic 2008 i could use?
View 4 Repliesis there a tutorial for making a Text Based Game In Visual Basic?
View 2 RepliesI have created a game and I would like to make it so that you can play over the internet. The game is Blackjack and I need some help and advice on how I can get people to play it over the internet.
View 7 RepliesIm using Visual Basic 2008.Okay I got all the design, and everything set up, even the hangman body parts coming on the screen and stuff. So my problem is creating the BLANKS, the underscores "_", and replacing them with a letter...
I was thinking creating Lables which i have no idea how to dynamically. Then giving each label name the letters they belong to, and everytime the user gets the rigth letter they get replaced.
I've not really got a lot of experience making any games, but currently I've only made small basic games which involve, moving picture boxes with Case (KeyDown) events and timers etc, I've noticed a few problems such as, flickering and jittery movements as it += on to Top or left. Especially when I try it on other computers it varies and is sometimes really bad. I've heard from my lecturer that you can use other things in VB.NET such as GDI+ or GDK or whatever, I'm not really sure, but would someone be able to explain to me what other ones there are for VB.NET or the best method for me to do to move on to more effective ways of creating a graphical interface.
View 2 RepliesI want a picbox to move across a screen then back to where it started (for a space invader game:
the following code is what I have for this task.
Code:
Private Sub AlienMovement_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AlienMovement.Tick
If Alien1.Location.X > 20 Then
[Code]....
I can't make it < because thats not logical, can't make it = becasue that doesn't work, can't make it > becasue then it will only bounce back once. Is there another variable I could use?
I have been making an rpg that i have been programing to be event driven, so the last step at this point is the items... i tryed using dictionary to store all the items but this kinda failed(Im not shure if dictionary is good idea for something like this any way). well i know how to hard code the items but i dont want to do this(Event Drivien is better). So any ideas on how i could store the items?
View 5 Repliesim makign a game that reads text files off of an ftp server. everything is working great. except for the fact that i cant read more then the first line of the players text file. how would i use substring to, for example, look for 'inventory' and get all the info under 'inventory' and above the next title?
View 4 RepliesI am making a hangman style game in VB 2008 Express. I am a beginner and instead of making any graphic related content (i.e. the hang man), I am using a 3 strike system. So far, I am just about finished. Only problem is whenever I choose a letter that is incorrect, it adds 1 to the strike label. The problem is, the second time I choose an incorrect letter, the "1" does not change to 2! The line is as fallowed:
strikelbl.Text = +1
Im making an auto-clicker, for a video game. And i have the design down, and the coding, except i have one problem, I made it so F1, starts the clicking, F2 is supposed to stop it... but it doesnt, i dont get any error messages or anything?
Heres the code.
Public Class Form1
Declare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
[CODE]...