Keys For Multiplayer Games

Jul 13, 2009

I am trying to make a two player game.Each player is able to move left and right, aim up and down, jump, and shoot.On some occasions when a number of keys are being pressed at once, some other keys wont register.For example, you can hold a key down to keep moving left, keep holding a key down to aim up(changing the angle), keep holding a key down to keep jumping, keep holding a key down to keep shooting. and there are TWO players at the same time:if both players are shooting, only one can aim down(press key to change angle). but it is fine if both trying to aim up ? Can the keyboard not handle too many keys at once?

View 1 Replies


ADVERTISEMENT

Developed A Multiplayer Games Using VB?

Mar 31, 2010

i have a question regarding how to developed a multiplayer games using VB. i am a student and beginner on VB world.i managed to create a simple Sudoku game using VB knowledge from the internet and some books.I am fan of Sudoku games published in newspaper everyday.but now i really interested on how to develop the multi-player version using the same coding. is it possible?

i tried to write a script on developed tic-tac-toe for multi-player based from a book using VB6 for an example but got many errors. how to develop a simple multiplayer for Sudoku? i'm using VB 2008 Express Edition.

View 1 Replies

API's In The Microsoft Flight Simulator X SDK About Multiplayer Chatbox Or Any Multiplayer Functions

Jun 2, 2011

I am making a program for Microsoft Flight Simulator X, and When you are in Multiplayer in most games there is a Chat room, or Chat Box. Do you think that there is any way I can reach maybe an API or possibly monitor the Screen so If someone types !Help in the chat box my bot would Respond like "Software by (whoever) other commands" stuff like that. But I cant seem to find any info about API's in the Microsoft Flight Simulator X SDK about Multiplayer Chatbox or any multiplayer functions in that matter.

View 2 Replies

Game Programming :: Detecting Whether One Of The Arrow Keys Is Pressed, All The Other Keys Seem To Be Detected Apart From The Arrow Keys?

Oct 21, 2008

I have a problem detecting whether one of the arrow keys is pressed, all the other keys seem to be detected apart from the arrow keys??? I have set key preview to True........ It detects the arrrow keys BUT ONLY if I have NO other controls on the form??? example..

Me.Text = e.keycode

It works, but then if I add a button for example, it stops.

View 3 Replies

Making A Chess Multiplayer Game

Jun 19, 2012

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?

View 2 Replies

Create A Multiplayer Game - Send Some Text

Jan 9, 2011

I'm trying to create a multiplayer game, but i don't know how to communicate between my programs, what I'm trying to send is some text, which my program can understand it. I searched for it and for making a chat application but found no working results...

View 10 Replies

VS 2008 - Make An Online Multiplayer Game?

Jul 17, 2011

I was looking at this example: Basic TCP Communication I was really amazed by this piece of code however it only works in WLAN. I was thinking if its possible to make the same program over internet not the same router but which can be connected to two different countries or any other place except the same network?

Actually I have created a very simple game called whack a mole. In which buttons appear and the user has to click it before it disappears. however I am trying to make it multiplayer over the internet even if i have to create a server from my PC. I dont know if its even possible. The other player should also get the same screen as the user who hosted the game just like real time.

View 4 Replies

Developing A Minesweeper Flags Game And The Multiplayer Version Is All Setup?

May 17, 2012

So I'm developing a minesweeper flags game and the multiplayer version is all set up, but the single player version is still under developement. It's important to refer that I'm using a DataGridView, and I'm applying r = tab1.CurrentCell.RowIndex + 1 and c = tab1.CurrentCell.ColumnIndex + 1 to see where the player clicks. What I want to do is to make the AI click any random cell when it's turn comes, but how do I do this.

View 1 Replies

Hot Keys VB 10 Express - Giving Auto Typer Hot Keys?

Jun 25, 2011

just wondering how i could give my auto typer hot keys, for example they press f1 to start the typer f2 to stop it.

[Code]...

View 4 Replies

VS 2010 Shortcut Keys (KeyUp) E.Keys Combinations?

Mar 25, 2011

I'm trying to create a shortcut which expands or collapses my treeview using the ctrl+alt+up-arrow or ctrl+alt+down-arrow:

If Keys.ControlKey And e.KeyCode = Keys.Alt And e.KeyCode = Keys.Down Then
mytreeview.ExpandAll()
End If

[code].....

View 2 Replies

Loop Through A List Of The Keys That Are Available In The 'Keys' Enumeration?

Jan 13, 2011

How could I loop through a list of the keys that are available in the 'Keys' enumeration? It seems like it should be something easy to do, but I'm not having any luck finding a collection that I can loop through.

View 6 Replies

Dll For Card Games?

Feb 13, 2012

I have been looking for like 3 hours trying to find a dll or anything to make a simple cards game, but everything I find is oriented to C.

In this page A FreeCell game using Cards.dll - CodeProject� they talk about just what I want, but I cannot make it work in Visual Studio 2008 using Visual Basic.net, I don�t know if that has anything to do with the Vista OS I am using.

In the page I mention the author says "There are many good articles on the net on how to use the Cards dynamic link library" and I am sure the good articles are there, but my good luck has make me looping around the same nonsense results so I end up with nothing after 3 hours search.

The game I want to make is just something for a project we must do in class, how to start making a cards game fast and simple. If someone knows about a cards dll that works fine with vbnet, that someone would be my new hero.

View 2 Replies

How To Make Games

Aug 15, 2009

i'm just wondering if someone can help me make a game in visual basic 2008? can i get some exact code on how to make it.

View 6 Replies

.net Launcher App To Launch Games?

Jan 10, 2010

the thing is that i am creating a little launcher shell that will start on a lan-party computer full with games.all the things i am doing with it is for my own use only and will not be used for harmfull stuff. in the other topic i got the intention that they thought i was a cracker of hacker or something.im am just creating a launcher app that launches my games without the use of explorer.exe to be loaded with windows.i have done several things to try to load a game when i press a button but they always crash. when i start the games normally there is no problem.first i thought it needed the use of explorer.exe but when i tested my app with explorer.exe running i got the same result. so i think its my app that is causing the problem.

i have used this:

Process.Start("C:\Program Files (x86)\EA GAMES\Battlefield 2\BF2.exe")

and this:

Dim startInfo As System.Diagnostics.ProcessStartInfo
Dim pStart As New System.Diagnostics.Process
startInfo = New System.Diagnostics.ProcessStartInfo("C:\Program Files (x86)\Ubisoft\Related Designs\ANNO 1404\Anno4.exe")

[code].....

as for the people who replied in the other topic. the register files you have seen in my code was for activating the GameShell.exe to run as shell instead of the explorer.exe for the current user and for all users and to restore it to explorer.exe.

View 5 Replies

Draw String On 3D Games?

May 2, 2012

Like fraps, that Draw"FPS"usuallyyellow,andredWhen filming.[url]...

View 1 Replies

HotKeys In Fullscreen Games?

Mar 25, 2010

Now my question is, is it possible to use Hotkeys and ScreenCapture in a Fullscreen game?If so, how?What im acutaly trying to do is a program to take a screenshot ingame (for some reason, this game doesnt have an option to take screenshots ingame.. Bad Company 2)

View 7 Replies

Mod Mover - Detector For Games?

Jul 27, 2010

There's a game that I play, that can be modded. I create mods for it. But some people do not know how to apply the mods by themselves, and just explaining to one person takes about an hour alone.So what I'm wanting to do:Create a program that can add - remove - detect what mods are being used.We'll use'C:GameAddon' For an example target.What I'm wanting:Check Boxes that automatically check when the mod is already in the 'C:GameAddon' folder when the program starts up.and UnCheck'd if the addon isn't in there.

View 1 Replies

Put Some Advanced Games On Form?

Aug 16, 2009

Put some advanced Games on Form?

View 3 Replies

.net - Injecting Into Games (Similar To XFire)?

Apr 19, 2011

How does xFire place itself inside of games?

View 1 Replies

C# - Barcode Lookups For Games, Books, CDs?

May 15, 2011

I am looking to write my own media library and was wondering are there any free .Net APIs out there to identify a product based on a given barcode? As a secondary point are there .Net APIs to return cover art for books, CD, games etc based on a barcode.

View 3 Replies

Create Video Games In Program?

Jan 17, 2012

How to Create Video Games in VB.Net

I realize that this is a very popular subject, especially amongst budding developers. The drive to create games may be the reason you started working with Visual Basic in the first place. After stepping through a few samples and getting the hang of working with user controls on a form, it may be very tempting to start to throw some PictureBoxes and a Timer on a Form and start to implement some game logic. Seems easy enough, right?

To some extent, this is a true statement.You could start to do this and it would be easy enough at first. But when you begin to try to calculate collision and animate or rotate your sprites, you may start to run into some difficulty. And attempts to circumvent the problems often lead to even worse issues.This can cause an endless spiral of misery which could leave you thinking VB just isnt meant to make games!

The initial problem that most people face is the desire to use a PictureBox (or any other control) as the logical Sprite container for the elements in the game. It makes sense since the control appears to provide a lot of the required functionality already and its easy to extend it with more properties as needed.

The issue though is that Windows Forms Controls are designed to be drawn statically that is, they arent meant to move around in real-time. You can of course move them at run-time, but this is normally an on-demand operation (something which occurs because the user just took an action like clicking a button or menu item). Attempting to move controls in real-time puts a heavy strain on your application and can cause poor performance quickly.[code]....

View 1 Replies

Draw Directly On Screen And Get FPS In Games?

May 2, 2009

I'm trying to draw directly on my screen using these code and API's[code]...

View 2 Replies

How To Detect Installed Games On A System

Nov 26, 2009

I am writing a application where i need to know which games are installed on a system.I have 3 ways by which i think i can detect the games

1: Scan specific parts of registry and look for key names that match with a List of Publishers. The list is manually maintained.

2: Scan the hard disk for and do same as in step 1

3: run the program in background and check for programs in memory that use a large portion of memory(which games always do) and if they use Direct X ( Which all games do except for some) then its a game.

Now i have been thinking about it and first and second method seems to be in need of a updated database ie list of publishers to make out if a particular program is game.

View 1 Replies

Loading The Windows Vista Games

Feb 13, 2009

how do i get my program to load the windows built in games? I.E at the click of a button Solitaire loads up i have tryed a couple of ways but nothing so far has come even close to working.

View 2 Replies

Opening .SWF Games In VB And Making Commands?

Feb 9, 2010

ive wondered if you can open .SWF Games on VB and make it do a command. For Instance: Right Click > Play :

View 5 Replies

Read A Games Log File As It Is Running?

Sep 9, 2011

I'm trying to read a log file for a game so I can extract certant info from it and track my stats as the game is running, but I keep getting access denied error for the log file. I would also like to have the log read only after it has been changed but the event handler never fires. I'm assuming it has to do with the access error. Can someone give me an example of how to watch a text file that's in use by another program and read it after it changes. The code I have works if I open the file in notpad, change it then save it but not when the game is running. I did it once before for the same game but lost my code and there are other programs that parse the log file so I know it can be done.

View 1 Replies

Simulating Multiple Games In Background

Sep 6, 2011

I'm trying my hand at a little football simulator, along the same lines as Football Manager (except for Australian football but that's not really the point). Right now I have a code that will simulate a match in a background worker thread and then output all of the statistics and such to a text file. It's all good for simulating one game at a time but I want to do multiple games simultaneously!

This is because, like in Football Manager, I want to have multiple leagues setup so there will be lots of games that need simulating and to do them one at a time would be pretty slow. To sim the games I have a "Match Engine" module which has a metric load of variables and different procedures in it for kicking and marking the ball etc. I'm not sure how I could somehow duplicate all of these variables and procedures at runtime and run them simultaneously in different threads.

View 12 Replies

Taking Screenshot From Games By Using VB 2010?

Apr 18, 2012

I made a program that take screenshots but it doesn't take screenshot from 3d games what is the code :( and here is my code

[Code]...

my program is bigger than this too much :D but these are the important codes :D

View 3 Replies

Using .net To See Xbox Live To See Achivements, Games?

Sep 10, 2010

Okay so I posted this thread before but apparently people did not understand what i wanted, they thought I wanted to code for the xbox. Basically I want to be able to be able to see someone's games, achievements, friends etc. after they verify their account with me in VB.Net. How would I got about doing this? I know there is some way since I've seen applications on the iPhone for xbox live stuff.

View 9 Replies

Way To Add New Games (not Repeating With Button1 Then Button2 E?

Jun 17, 2012

Imports System.Diagnostics
Public Class Form1
Dim game1 As Boolean

[code]....

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved