Last edited Oct 18, 2011 at 4:59 PM by indiefreaks, version 3


onekgstudio Apr 26, 2012 at 7:38 AM 
Code issue: The sample code had "Scale = Vector2(600f,50f);" but it should have been just "Vector2(1f,1f)," I believe this is a multiplier on the scaling factor, so you can use the above OR just leave that line out.

onekgstudio Apr 26, 2012 at 7:34 AM 
@Boinst you might want to recheck the asset name to see if it's a mismatch.

Boinst Apr 25, 2012 at 2:09 PM 
In this tutorial, setting up a gameTitleImage = new Image("Textures/Title"), using an Image instantiated this way causes a NullReferenceException at application.Run(). The callstack is here:
I'm working around this by omitting the image, but if anyone knows what the problem is, I'd love to fix it.

clody Mar 23, 2012 at 11:51 AM 
oki.. you can use instead
public RootMainMenu() : base(true, true, SessionManager.GetIdentifiedPlayer(LogicalPlayerIndex.One).Input)

clody Mar 23, 2012 at 10:28 AM 
I tried with sunburn-pro v2.0.18.7 and igf v0.9.2.0-win-binaries and Visual Studio whows error:

Member 'Indiefreaks.Xna.Sessions.SessionManager.GetIdentifiedPlayer(Indiefreaks.Xna.Logic.LogicalPlayerIndex)' cannot be accessed with an instance reference; qualify it with a type name instead