FightDesign's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 11 (0.01 per day)
- Joined:
- 30-April 11
- Profile Views:
- 319
- Last Active:
Jun 04 2012 06:30 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Weird mouse position when drawing a custom cursor
Posted 4 Jun 2012
Problem solved.
never call this:
class Drawer : Microsoft.Xna.Framework.Game
In any other class but the main game.
And use
{ get; set; }
With necessary variables. -
In Topic: Mouse Offset Problem
Posted 2 Jun 2012
frostyraver, on 22 April 2011 - 06:32 AM, said:
Kilorn, on 22 April 2011 - 05:29 AM, said:Good job figuring that one out, frostyraver. Can you explain what was causing the problem to happen so that others that might run into this issue might be able to know of a solution before it becomes as big of a problem for them as it has been for you over the past few weeks?
Sure thing! I know alot of people would probably ripout there hair on this one.
On your Game1.cs that's the main entry to your game correct?
Now if you were to make, say a, Level.cs file for all your level held data, now we need to access the game1.cs varibles, for what ever reason.
Now to do this you would declare it up top:
// Load the player into the level public Game_Data Game_Data { get { return game_data; } } Game_Data game_data ;
You probably seen something like this for pointing different files to one another, but then this will make it a NULL values, so how do we load up what we need?
In the Level.cs file [code]public Game_Level(IServiceProvider provider)
Part, it'll look SIMILAR not the SAME but yeah I had this in the Game_level so when it loaded the game1.cs file it would have a HISSYFIT and off center my mouse, because I THINK we're trying to draw 2 game1.cs's.
So it's best to have just 1 and refer to the level file.
Could also be a chance i'm retarded, that's a high chance as well haha.
If someone can explain that better please do so. Or point those to a tutorial on that type of thing
I have the same problem as the thread owner.
The mouse position is weird, but when i open a new
project to test it, it's fine... so i have no idea
what's the problem with my current project.
I didn't understand a thing from this "solution". -
In Topic: Weird mouse position when drawing a custom cursor
Posted 2 Jun 2012
DanielLeone, on 02 June 2012 - 05:44 AM, said:Don't know FlightDesign,
I can only suggest putting breakpoints in, and looking at the values of Mouse.GetState().
You could try looking at some the other topics like this, I think there are a few (look at the related topics, at the direct bottom of this page).
Sorry I couldn't really help you, but I thought I would give you something any way.
Thanks,
Daniel,
Uhmm, even if i check if the position is diffrent, it wouldn't change anything cause it gotta work.
And i saw a topic just like mine, however, the solution wasn't clear.
Here's a topic smilar to mine:
http://www.dreaminco...offset-problem/
However, the solution is still not clear. -
In Topic: Control added to a panel doesn't show
Posted 27 Dec 2011
Problem solved, please delete the thread.
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
|
|


Find Topics
Find Posts
View Reputation Given


|
Comments
FightDesign has no profile comments yet. Why not say hello?