Game Programming :: Change Mouse Cursor?

Apr 5, 2008

I'm making a map engine for another game I'm working on.... I would like to make my mouse cursor be a 32X32 pixel rectangle. This would make it easier to place my tiles which are all 32x32.

View 4 Replies


ADVERTISEMENT

Game Programming :: Get Mouse Coordinates When Click On A Mouse Button Inside A Listbox?

May 24, 2008

I was wondering if there is anyway I can get mouse coordinates when I click on a mouse button inside a listbox? I know how to do it in the form but when I click inside a listbox nothing happens.

View 9 Replies

Game Programming :: Object Detect By Cursor

Oct 13, 2008

(Visual Studio 2008 - Visual Basic 2008 - 3.5 .Net Framework) I have few objects on my form and i would to like scan objects' names by my cursor. I wish to get name of object, which is under my cursor. (only one object is under cursor, and form)..

View 2 Replies

Game Programming :: Object Detect By Cursor?

Jun 7, 2011

I have few objects on my form and i would to like scan objects' names by my cursor. Bad english, so again: I wish to get name of object, which is under my cursor. (only one object is under cursor, and form)

View 1 Replies

Game Programming :: Picture Box Not Following Mouse

Dec 15, 2010

I am making a game where a car picture box has to follow a mouse. to start the game you click the car but when i click the car the car moves down away from the cursor. then it starts following the cursor but is still about 2 cm below the cursor and a little to the side.

[code]...

View 3 Replies

Game Programming :: Image Rotate To Follow Mouse Position?

Sep 13, 2011

In a game i am making, as the mouse cursor i have crosshairs (like those in FPS games) and i would like an image box to change images as the mouse moves so that it appears that the character in the picturebox is following the mouse cursor.

i thought i would do something along the lines of first finding out which side of the picture box its on (left or right) then finding out exactly where with some maths equations and then assigning 1 of 60 pictures so that it appears that the picture is rotating.

View 1 Replies

Game Programming :: Use Mouse Hover Event For Getting The Same Image Back After Hovering?

Nov 20, 2009

I am using VB 2008 Express. I am creating minesweeper game with picture boxes. I want a box in the grid to glow & I have created Different images form that. I want that whenever we hover over the box , it glows & I have used the visible property. I have set the property as false of all the glow boxes.

[Code]...

View 1 Replies

Change Mouse Cursor To A Different?

Apr 28, 2009

Im trying to change the mouse courser to a different, I know that you can just go in the control panel and go change it

View 6 Replies

How To Change The Mouse Cursor

Mar 3, 2009

I would like to change the image used for the mouse cursor with a personal picturehow can i do thiswhich kind of exstension the peacture must have in order to be use as mouse cursor?

View 2 Replies

Game Programming :: Change Computer Name From Shell

Nov 13, 2011

I am having issues with changing the computer name from shell. Below is the code.

[Code]...

View 1 Replies

Catch Mouse Cursor Change?

Nov 30, 2009

I want to catch mouse cursor change event in vb.net. for example, If i place the cursor in textbox then the cursor will change as IBeam. I want to capture when the cursor changes using vb.net.

View 1 Replies

Change Mouse Cursor Outside Form?

Oct 23, 2009

I have a program that reads pixel colors in other applications, I've got the program working correctly but trying to hovor your mouse over a single pixel on the screen using the standard mouse "Arrow" pointer is a little difficult. I've created a custom cursor that is a cross hair of sorts that makes it easier to target specific pixels, is there a way to change the mouse curse to a specified cursor when the mouse is NOT over the controlling form?

[code]...

View 3 Replies

Change The Mouse Cursor In Another Application?

Jun 13, 2011

I have an application (OziExplorer) which I launch from my application. The OziExplorer API allows my application to intercept mouse single and double click operations. To make the integration of my application with OziExplorer easier for the user, I'dlike to be able to change the OziExplorer mouse icon, from my applicationto match the tool they have chosen in my application. Is this possible?

View 5 Replies

IDE :: Change The Speed Of The Mouse Cursor?

Sep 23, 2009

Currently doing a project on an EOG mouse (eyes controlling the movement of the cursor) and I need to move the mouse in different speeds, so far I've only managed to write the codes to move it in one speed. Need some help here to move it in a few different speeds, both fast and slow.

[code]...

View 6 Replies

VS 2008 Vb Change Mouse Cursor?

Jul 10, 2009

how can i change the mouse cursor to a Icon i want

View 4 Replies

Game Programming - Class Change - Add An Undo Option

Apr 11, 2008

I have a map editor program for the rpg game engine I made and am trying to add an undo option into it. The map is stored in a class so i made a array of the class then added this code for when the map is changed [Code] but when i do this all the maps in the array get changed when the player edits the map.

View 4 Replies

C# - Subclassing The Flash OCX To Change The Mouse Cursor?

Aug 5, 2009

I'm listening for the WM_SETCURSOR messages and setting the cursor there, it works most times, but not always. I've seen two other cases that I need to catch:

WM_PAINT: At least after a WM_LBUTTONDOWN the cursor is painted somehow without calling WM_SETCURSOR... WM_CAPTURECHANGED: Happening sometimes when the mouse is down and moving it.

Even doing all this the cursor sometimes flickers and the original one can be seen in some cases (eg: the instant when you roll over some object that sets the cursor to something else). I've been trying to look for some other patterns or messages but didn't see anything that would solve this problem.

View 2 Replies

Change Mouse Cursor When Program Runs

May 23, 2011

I want the cursor to change when moving over pictures. Can it be done prorammatically? The solutions offered in the forum do not function. Changing the cursor in the property window of a picture is refused.

View 6 Replies

Make A TreeNode Change Cursor When Mouse Hovers Over It?

Jul 15, 2010

I have created a menu using a treeview to launch forms when the user clicks on a node. To complete the look-and-feel, I have set up the nodes to look like hyperlinks. I'd like to have the cursor change to a hand (like the one you see when you hover over a link) when the user hovers over a node, however so far I've only been able to have the cursor change on hovering inside the treeview, as opposed to over a node. As far as I can tell, a TreeNode doesn't have events such as MouseEnter, so I can't have them handle the events themselves.

I am attempting to use this function to loop through the nodes and check the Bounds property of the TreeNode against the Point property of the cursor, but so far the If block always evaluates to false, meaning that the cursor never changes.[code]...

View 2 Replies

Game Programming :: Error - 'ReDim' Cannot Change The Number Of Dimensions Of An Array

May 4, 2008

The code below is the entire class that has the error in it... the errored code is highlighted in red. The error is,'ReDim' cannot change the number of dimensions of an array.

Code:
Public Class clsMap
Dim SR As System.IO.StreamReader
Public Width As Integer
Public Height As Integer

[code]....

View 1 Replies

Richboxtext - How To Change Mouse Cursor To 'Hand' On Underlined Text

Jun 8, 2012

Let assume below will be my richtextbox. This is what I have so far:

[U]Title name 1[/U]
Some text. Some more text.

[U]Title name 2[/U]
Some text. Some more text.

What I am willing to do now is: Only when you mouse over on underlined text - mouse cursor changes to 'Hand' Then you can click on it and message box appears with underlined text. How do I do these two things?

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

(GAME)rotate Image Facing Mouse Cursor, Move Image From Point A To Point B?

Jun 21, 2010

i want to work on a shooting game,and i already have a code for the rotation of the image but i have a few problemFirst problem(for the tank /ship): i want the image to AUTOMATICALLY rotate facing the mouse cursor,i know how to rotate but but i dont know how to convert the location of the mouse to an angle that the image will face,,

View 1 Replies

Game Programming :: Make A Game In VB In Which Character Can Move Around, Jump, And Kill Things?

Apr 2, 2008

im trying to make a game in visual basic in which your character can move around, jump, and kill things. I can get the picture box with the character to move and everything is fine. but i did run into one problem. when the character moves over a tree (or something) you can see the gray backround of the character as i made in paint. how do i make the backround of the picturebox transparent?

View 4 Replies

Game Programming :: Adding Score To Rock Paper Scissor Game?

Oct 3, 2011

Im new to VB. how do I get to add the score.my code is

[Code]...

View 6 Replies

Game Programming :: Prevent Users Typing In Random Letters In A Text Box-Scrabble Game?

May 4, 2011

I have created a scrabble game that generates random letters. For the user to type in a word using the random letters they have to type it in a text box.

I want my program to prevent users from typing in letters that are not provided in the text box and to allow them to type in the random letters that are provided.

View 4 Replies

Game Programming :: Spinning Reel - Fruit Machine Game For Windows Mobile Device

Feb 16, 2011

I'm trying to make a simple fruit machine game for windows mobile device.

I can create the game easily enough and flip through pictures in a picture box to display the correct symbol.. but what I'd like to do is do a proper spinning reel, but have no idea where to even start.

What I have is a list of images in an imagelist (or individual files) - what I'd like is them attached to each other and moving downwards, preferably as though it were going around a drum but just them moving would be a start.

View 7 Replies

Game Programming :: Transparant Images - Make A Game Which Basiclly Lets You Shoot Ducks

Feb 1, 2010

I am trying to make a game which basiclly lets you shoot ducks. i have a picture as a background (set as form image) i then have picturebox's with ducks flying flying around you shoot them the disapear etc.

My problem is the image. i have a picture of a duck and a blue square round it. and i would liketo make it transparant because birds dont fly with blue squares.

Below is an image to illistrate my problem

I have tried adding transparent background, transparant key etc

View 2 Replies

Game Programming :: Pig Dice Game - When Program Runs - Never Goes To Computer's Turn And Does Not Update Users Score Either

Apr 18, 2012

On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.

Code:
Public Class Form1
Dim Myturn As Integer
Dim Computerturn As Integer

[CODE]...

View 6 Replies

Game Programming :: Changing Field Size A Game Should Restart

Apr 30, 2011

Upon changing the field size a game should restart. Upon trying to do so I see the previous grid (e.g. 10x10) displayed on top of the new one (e.g. 4x4). How would I prevent this and indeed start the game fresh?

View 10 Replies







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