Eigene Kampfstile je Gegner (Faustkampf, Axt-Champions), schnelleres Laden
Stand von main 975b62f0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -132,6 +132,7 @@ namespace GladiatorIdle
|
||||
_sb = new SpriteBatch(GraphicsDevice);
|
||||
_fx = new BasicEffect(GraphicsDevice) { TextureEnabled = true, VertexColorEnabled = true, LightingEnabled = false, World = Matrix.Identity };
|
||||
Assets.Init(GraphicsDevice);
|
||||
Gfx.Model3D.PreloadAll(); // alle Figuren im Hintergrund vorbereiten
|
||||
_settings = new SettingsOverlay(ToggleFullscreen)
|
||||
{
|
||||
ApplyGraphics = () => ApplyFrameLimit(),
|
||||
@@ -645,6 +646,8 @@ namespace GladiatorIdle
|
||||
protected override void Draw(GameTime gameTime)
|
||||
{
|
||||
_drawWatch.Restart();
|
||||
if (_frames == 0 && DevShot.Active)
|
||||
DevShot.Log($"timing: first frame {(DateTime.Now - System.Diagnostics.Process.GetCurrentProcess().StartTime).TotalMilliseconds:0} ms after start");
|
||||
bool capturing = _capture != null;
|
||||
var gd = GraphicsDevice;
|
||||
int w = gd.PresentationParameters.BackBufferWidth, h = gd.PresentationParameters.BackBufferHeight;
|
||||
|
||||
Reference in New Issue
Block a user