3D-Arena (Duell, Hub, Freiheit, Erstellung, Bestenliste), Retiarius beidhändig, Waffen je Klasse, Einführung, Willkommen, weniger Reiter, Wirtschaft ohne Taberna, Kantenglättung, Leuchten, weiche Schatten, Gamepad, Absturz-Protokoll

Stand von main 20cd8ba2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-09 13:24:20 +01:00
parent a08764c505
commit e29db47b20
44 changed files with 2089 additions and 991 deletions

View File

@@ -48,9 +48,11 @@ namespace GladiatorIdle.Arena
sb.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, SamplerState.LinearClamp, null, null, null, ui);
if (_backdrop != null)
{
// langsames Heranfahren
float k = (1.08f + 0.03f * (float)Math.Sin(_t * 0.05)) * MathF.Max(Camera.W / _backdrop.Width, Camera.H / _backdrop.Height);
sb.Draw(_backdrop, new Vector2(Camera.W / 2, Camera.H / 2), null, new Color(0.62f, 0.58f, 0.54f), 0,
// langsames Heranfahren und Wandern (Ken Burns, etwa 40 s je Schwung); still bei "Effekte reduzieren"
double t = AppSettings.ReduceMotion ? 0 : _t;
float k = (1.1f + 0.04f * (float)Math.Sin(t * 0.16)) * MathF.Max(Camera.W / _backdrop.Width, Camera.H / _backdrop.Height);
var pan = new Vector2(38 * (float)Math.Sin(t * 0.11), 14 * (float)Math.Sin(t * 0.07 + 1));
sb.Draw(_backdrop, new Vector2(Camera.W / 2, Camera.H / 2) + pan, null, new Color(0.62f, 0.58f, 0.54f), 0,
new Vector2(_backdrop.Width / 2f, _backdrop.Height / 2f), k, SpriteEffects.None, 0);
}
D.Glow(sb, new Vector2(Camera.W / 2, Camera.H / 2), new Vector2(Camera.W * 0.9f, Camera.H * 1.2f), Color.Black * 0.35f);