NeoforceControls / Neoforce-Mono

MonoGame Version Currently 3.2
33 stars 6 forks source link

Quickstart to the docs #3

Open romanov opened 10 years ago

romanov commented 10 years ago

Finally a working GUI for MonoGame! :+1: I think, project needs some wiki.

I have compiled Neoforce-Mono with MonoGame.Framework.dll and MonoGame.Framework.Net.dll for Windows Desktop (missing Gamer services in current Neoforce repo). I deleted GamePad check also (missing "Gamer" class in MonoGame).

Next:

  1. I have imported Neoforce into project with using TomShane.Neoforce.Controls;
  2. I have created a Manager private Manager manager; manager = new Manager(this, graphics, "Default");
  3. Added Manager's Initialize, and Update to the game.
  4. Little catch, instead Manager.Draw() manager.BeginDraw(gameTime); manager.EndDraw();
  5. Added Skin folder to the Content folder and checked path with debug.

Works like a charm.

Grimston commented 10 years ago

The GamerServices is from XNA/MonoGame, Which I believe are not finished in MonoGame and currently does not follow the XNA namespace.

I tested with a Windows OpenGL build and it worked fine. Might be differences between all the MonoGame project types.

romanov commented 10 years ago

GamerServices was found in Monogame.Net.dll. Still can't find "Gamer" class.

I'm working with 3.2 server builds

http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.gamerservices.gamer.aspx

Grimston commented 10 years ago

The gamer service in MonoGame is incomplete.

Make sure your not setting UseGuide to true.

romanov commented 10 years ago

I know about missing Gamer class inside MonoGame (provided link above). But how did you compiled the sourcecode with missing class? (i cant build it with your repo) I commented "gamer" to launch.