VS 2010 Draw On Game?

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


ADVERTISEMENT

VS 2008 Creating Draw In Tic Tac Toe Game

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

Game Programming :: DirectX Draw To Surface And Then Copy From It

Jul 8, 2010

I programmed with Bitblt in VB6 for about 5-6 years and now I switched to DirectX and VB.net. When I would make games in VB6, I would draw out the entire level into layers that were saved into memory on DC's.In DirectX however, I'm looking for the equivalent of that but cant find any examples around.I use a viewport system to follow the player along in the map, I copy only what is in the viewport over to the users screen.Image attached to better visualize what i mean.

View 3 Replies

VS 2010 Game Multi-Client - Program That Enables A Game To Have More Than One Instance Running

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

VS 2010 In-Game IRC Client For FullScreen DirectX Game

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

VB 2010 Move The Game Peaces (graphics) Over Another Graphics Which Is The Game Board

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

Game Programming :: Make A Matching Card Game In VB 2010 - Show Cards For 10 Secs Then Change Cards To (AppPath & "Cards Ed.png")

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

VB 2010 - How To Draw Parabola

Jan 22, 2011

I'm writing a little program for school to calculate a few parabolic characteristics. But I wanna draw a parabola..

View 11 Replies

VS 2010 Draw X And Y Co-ordinate?

Jul 11, 2010

drawing x and y co-ordinate for the bar chat i have...here is the code i have for bar chat in the button click event..

[Code]...

View 2 Replies

VS 2010 Draw Text Using XNA 4.0 On 2010?

Sep 24, 2011

I'm just struggling to find tutorials about drawing text using XNA 4.0 in VB.net 2010. I have tried the code from here: [URL] but it does not seem to work. I think that was written for XNA 2.0 though.

View 24 Replies

VS 2010 Draw Rectangle Outside Of Form?

Oct 14, 2010

How to do it?

View 8 Replies

Draw Org Chart Using MS Visio 2010 Manual?

Apr 26, 2012

i have an application running on VS2010 and i'm using sql server 2008 r2. "Employee" table holds employees bio data, i can draw org chart using MS visio 2010 manual,i need to draw the org chart in Visio format from the VB.net application.

View 1 Replies

VS 2010 Draw A Line And Calculate The Angle?

Oct 20, 2011

I Have created a program (see below) that enables you to use you cam. You then draw a line and calculate the angle. The purpose is that I do alot of work with remote control cars and need to acuratley set toe and camber angles, it takes to long with the "old" method So I am creating this little program. ok, so, lets see what I want to do. Well, the first thing I would like to do is draw a line from top to bottom of my picture box dead center of left to right, this is dead center of the cam so the bottom of your item should be posistioned to meet the bottom of the centre line. I then draw a line from bottom to top of the objects angle. I then use the dead center line and the line I drew to calculate the angle.

[Code]...

View 19 Replies

VS 2010 How To Draw Textbox Like Text Box In MS Word

Mar 27, 2012

I want to know the solution to build about customs textbox like as textbox in MS word and It can set vertical alignment in property.

View 2 Replies

VS 2010 Draw A Simple Floor Plan On Webpage?

Jun 15, 2012

I need to show a simple layout of machine location on my webpage. Anyone can give me idea how do i go about this.The layout will show the location of machine and status of machine. Beside using table, any other idea? The machine will link to database and show the status of machine.

View 3 Replies

VS 2010 Draw Characters Or Strings In A Bitmap (fill It)?

Jul 19, 2011

I was wondering how to draw characters/string on a bitmap.For example: I have created a new Bitmap with resolution of 200x200. Now using Graphics.DrawString(), I have to draw text. I can draw text. But my question is, I want to fill it the image with that string.Say, the text be "abc".So, the output would look like this for 200x200 bitmap (assumption):

[Code]...

View 5 Replies

VS 2010 Graphics - Line Draw - Colour Change

Apr 22, 2012

I am currently drawing a line with Graphics. Drawline. Once this is drawn, under certain circumstances I want to change the colour of it. When the line is drawn, does it become an object that I can then refer, or do I simply draw a new line over the original in a different colour

View 10 Replies

VS 2010 Painting When To Draw/erase Snap Lines?

Oct 6, 2010

I have started to work some more on my 'shape editor'. If you're not familiar with it,ust imagine the Visual Studio form designer: a 'canvas' (the form) with a bunch of 'shapes' (the controls) that can be selected, moved, resized, etc. I have just finished implementing snapping between shapes and the canvas boundaries. But now I am having some slight issues with painting the snap lines.Just FYI: this is what I mean by snap lines:The blue lines that indicate that the 'buttons' are snapped to each other, and a purple line indicating that button1 is snapped to the boundary.

My shape editor is based loosely on jmcilhinney's 'manipulating GDI+ drawings' codebank entry, and a central idea in that post is to only draw what is necessary. In other words, when I move a shape I could re-draw the entire canvas, but it is much faster and smoother to only re-draw the old and the new location of the shape. Since nothing else has changed, I don't need to draw the rest. So, I simply invalidate the old bounds and the new bounds, and even with a lot of shapes all moving simultaneously it still feels very smooth.

View 13 Replies

VS 2010 Pre-Draw/Pre-Rendering Controls On A Form Before It Appears?

Nov 18, 2011

How would I Pre-Draw/Pre-Rendering Controls on a form before it appears? Is this possible??

View 10 Replies

VS 2010 Waiting For A Screen Re-draw To Finish Before Continuing?

Oct 16, 2011

I'm writing a simple program that takes a screenshot of tab1 of the GUI, then takes a screenshot of tab2, then tab3, etc. I've got the screenshot code down pat, but the problem with my current code is that it's taking the screenshot of each tab before the screen has a chance to fully redraw, so the resulting images are screwed up.Is there a way to get the program to wait for each tab (and all the controls in it) to be fully visible before each screenshot is taken?I'd like to avoid using a timer for this, as the screen redraw speed will vary depending on the user's computer, and the contents of each tab, etc.[code]

View 2 Replies

Get DataGridView To Draw The Way A Professional Control Should Draw?

Apr 26, 2010

I need to get the DataGridView to perform the way it should perform. I'm new to the .NET environment, but I learn fairly quickly. However, I find it difficult to decipher themassive black box of the DataGridView control enough to make it do anything other than what it already does--Draw very slowly.

View 3 Replies

VS 2010 - Draw A Bar Chart Based On The Five Values Getting From The User Via Textbox?

Jul 11, 2010

I trying to draw a bar chart based on the five values getting from the user via textbox...When i run this program no error is occured, but the chat is drawn...Can anyone please help me out in this regard.

here is the code i have so far

[code]...

View 7 Replies

VS 2010 Making A Screenshot Program But Unable To Draw The Rectangle?

Nov 22, 2011

I'm currently working on a screenshot program, much like Gyazo and I've come across a problem.

[code]...

Now, it draws perfectly when I drag left to down (vice versa), but when I try and drag the opposite way (this is when I get negative x and y values), it doesn't seem to draw the rectangle.I've tried fixing it but with no luck at all, it just messes it up :c

View 2 Replies

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

VS 2010 VB Game Via Internet?

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

Draw Lines On Charts With Mouse Movements In Visual Basic 2010

Apr 13, 2011

I display a Chart with several graphic lines on it. What I want to do is draw a line (using the mouse) overtop or below the chart such that it can be seen on the chart. The mouse line draw code is below. What is required is either make
the line always be on top or make the chart transparent. I don't know how to do either and I don't know if it is possible in Visual Basic 2010 as it was in VB2.

Private Sub frmComDashBrdGraph_MouseDown(ByVal sender As System.Object, _
ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown
If e.Button = Windows.Forms.MouseButtons.Left Then

[Code].....

View 9 Replies

VS 2010 - Draw Two Sets Of Dots Using HatchBrushes To Create VS2010-like Interface

Aug 13, 2010

This is a followup to this thread, where I'm trying to draw two sets of dots using HatchBrushes to create VS2010-like interface. If you take a look at the zoomed image of the IDE background (blue with dark and light blue dots): that is what I'm trying to draw using GDI+. In the previous thread ForumAccount find the correct HashStyle to use (Percent20), but there is a problem: I need to draw two sets of these hatchstyles: once with a slightly darker color and once with a slightly lighter color, at an offset of one pixel downwards.

[Code]...

View 4 Replies

Make An Invaders-like Game With VB 2010?

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

VS 2010 Where To Get Started Making A Game

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

Make Design Box For The Concentration Game In VB 2010?

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







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