Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 17 Apr 2008
Online Last Active Today, 02:55 PM

Posts I've Made

In Topic: Farseer Physics move body

27 August 2012 - 08:42 AM

Perhaps you have pixels mixed up with meters? Farseer uses Meters/Kilos/Seconds.

In Topic: [XNA, mouse lag]: I found a fix for mouse lag, but it can't be the only one...

23 February 2009 - 05:34 PM

After looking around a bit I found this solution:

using System;
using System.Drawing;
using System.Windows.Forms;


/// <summary>
/// This is the main class for the game
/// </summary>
public class Main : Microsoft.Xna.Framework.Game
public Main()
Bitmap cur = new Bitmap(@"C:\Documents and Settings\Opt7ons\Desktop\cur.bmp", true);
Graphics g = Graphics.FromImage(cur);
IntPtr ptr = cur.GetHicon();
Cursor c = new Cursor(ptr);
Form.FromHandle(this.Window.Handle).Cursor = c;
this.IsMouseVisible = true;

From: http://forums.xna.com/forums/p/5131/26901.aspx