VS 2008 Creating An Interactive Overlay Over A Game?
Jun 14, 2009creating an interactive overlay over a game (such as the way xfire lets you chat with people ingame).
View 1 Repliescreating an interactive overlay over a game (such as the way xfire lets you chat with people ingame).
View 1 RepliesI 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 RepliesI am creating an Interactive map which displays the facilities when the user clicks on the Checkbox, such as toilets. It will display all the toilet locations via PictureBoxes. I want to do this without having to write all this code?
Private Sub chkCash_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkCash.CheckedChanged
If chkToilet.Checked And RadioButton1.Checked Then
[CODE]...
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 Replieswe 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.
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 RepliesI 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 RepliesI 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 RepliesI 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]...
I have a web application on a Windows 2008 server. The web application opens another application interactively.The issue: If I am logged into the server, the web application runs without any problem. If I log-off, and try to use the web application, I get an error "Buffer cannot be null."If I log myself back into the server,go to another computer and try the web app, it will work fine.What security setting is causing this?
View 3 RepliesI am trying to sort my report on the values in a column. The underlying query consists of a director colum a movietitle column and a rating column, for every movie a director has directed there is a record which off course shows the rating in the ratingcolumn In my report I have grouped by Director and created two other columns which are called: Nr of Films and averageRating. in the design view i used two functions to accomplish this. the first is: count('the field of the rating') and sum('the field of the rating')/count('the field of the rating'). This is working... but now I would like to sort the column, Nr of Films. I think I have to do this with interactive sort of the textbox which holds the column name(i.e. Nr of Films)
View 2 RepliesI have a bit of an issue here. I made a "Colour picker" dialog in my program with which you can pick the colour at the mouse. It is a simple topmost form with an OnPaint handler used to draw a coloured border around the cursor:
It uses a transparency key to make the non-drawn parts of the form transparent.
It uses the following code to prevent the mouse from clicking through the screen:
Window.FromControl(Me).ExStyle(Window.ExStyles.Layered) = True
Window.FromControl(Me).ExStyle(Window.ExStyles.Transparent) = False
It sets Layered to True and Transparent to False. This works in Windows 7, but on a XP machine it fails. When moving the mouse the event does not go to the forms' event handler and you can just click through. For a screen region selector I simply made a screenshot, but I want the Colour Picker to remain updated. (just in case you want to get the colour of an animated control)
How can I get this to work on a Windows XP machine?
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 RepliesThe original code came from AutoItI just rewrote what was necessary for VB.NET and added the structures and throws. If successful the PID of the process started is returned, else an exception is thrown. No imports needed.
View 3 Repliesmake a openGL overlay so for an examplei play a game and when i click shift + tab then the game will fade and my application will be seen but without minimizing the game
View 3 RepliesI need to overlay a small bar along the top of the screen over a fullscreen DirectX game. I have searched for a while but I have not found any code examples for VB.NET 2008 (I've never used any previous version). How can I do this? Would this involve learning DirectX programming?
View 2 Repliesi 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]....
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 RepliesRecently 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 RepliesI'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 Repliesi'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 RepliesTo 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?
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 RepliesI 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)
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]...
In windows when you drag from explorer there is a custom "picture" when the items are dragged ... how can i do this in vb.net?
I know how to do drag drop but not with the picture...
also note: I DO NOT just want to change the cursor icon ... in explorer the drag picture can be bigger than 32x32 and i need it to be in my project also
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 ?
I've created a simple tool using a datagrid and adding functionality for cutting, pasting, deleting, adding rows, etc. The select users can create new, save, edit, delete from the database. Is there a better way to do this with some of the new technology from visual studio?
View 1 RepliesIve been thinking for awhile about this but I cant get my head around it, Ive been experimenting with physics of objects in visual basic and what (a boucing ball) and Ive been wanting to take it the step further,
View 1 RepliesIn doing mathematics, I need to enter many values from equations into an array or arrays. I want to be able to vary these value any time I run the program.
I would like to know how to do this while the program is running?
back in the days of Quich Basic, it was simple, ie
Dim array(9)
For I = 1 to 9
INPUT array(I)
Next I
The program stopped at each pass to let you enter values.
How can you do this in Viual Basic 2010 for example