0
崩溃时启动在Linux(Ubuntu的12.04)一monogame比赛,我得到以下错误控制台Monogame的Linux上推出
Pastebin, formatting when pasted here wasn't worth fixing
当我拖延情况的发生,直到任何逻辑此错误不会发生一定数量的gameTime已经过去了,但gameTime的数量必然不断变化,并且时间太长。有什么办法可以解决这个错误信息吗?
代码:初始化
public class Husk : Game
{
public GraphicsDeviceManager graphics;
public SpriteBatch regBatch;
public World world;
public static Texture2D pixel;
string title;
public Husk(string Title = "") // :base() seems to make the required elapsed time lesser.
{
title = Title;
graphics = new GraphicsDeviceManager(this);
HuskLib.Content.content = this.Content;
}
protected override void Initialize()
{
regBatch = new SpriteBatch(graphics.GraphicsDevice);
Window.Title = title;
pixel = new Texture2D(graphics.GraphicsDevice, 1, 1);
pixel.SetData<Color>(new Color[1]{Color.White});
}
}
我使用的不是我的游戏内的任何线程
,可以通过外部Monogame做
我在我的游戏中没有使用任何线程,可能有一些在Monogame中完成。什么地方的源代码与这个错误有关? – 2012-07-08 23:25:12
初始化游戏变量的代码将是一个很好的开始的地方 – 2012-07-09 00:33:36
加入到文章 – 2012-07-09 00:42:44