From 63b0cfa6805d5feac70f871800a84a6f121b9c5d Mon Sep 17 00:00:00 2001 From: Ludovic 'Archivist' Lagouardette Date: Tue, 30 Sep 2025 10:32:16 +0200 Subject: [PATCH] small update --- Expansion1/ExampleInputComponent.cs | 1 + assets/Ship.png | Bin 0 -> 1347 bytes 2 files changed, 1 insertion(+) create mode 100644 assets/Ship.png diff --git a/Expansion1/ExampleInputComponent.cs b/Expansion1/ExampleInputComponent.cs index 23ccac2..75a489b 100644 --- a/Expansion1/ExampleInputComponent.cs +++ b/Expansion1/ExampleInputComponent.cs @@ -30,6 +30,7 @@ namespace Smoll.Ex1 transform.transform.position += Raylib.IsKeyDown(KeyboardKey.Down) * speedPixelPerSecond * deltaTimeSeconds * Complex.ImaginaryOne; transform.transform.position -= Raylib.IsKeyDown(KeyboardKey.Left) * speedPixelPerSecond * deltaTimeSeconds; transform.transform.position += Raylib.IsKeyDown(KeyboardKey.Right) * speedPixelPerSecond * deltaTimeSeconds; + transform.transform.angle -= Raylib.IsKeyDown(KeyboardKey.K) * angularSpeedTurnPerSecond * 2 * float.Pi * deltaTimeSeconds; transform.transform.angle += Raylib.IsKeyDown(KeyboardKey.L) * angularSpeedTurnPerSecond * 2 * float.Pi * deltaTimeSeconds; } } diff --git a/assets/Ship.png b/assets/Ship.png new file mode 100644 index 0000000000000000000000000000000000000000..35d5d407c608f601a9bb816edc4f0e5459f4593c GIT binary patch literal 1347 zcmV-J1-$x+P)QL9l^7dqsWX(BAT9(q z6)Q3;XCWP!otqX!>8jwScG;yATy)cgi&83`QWthn$_UazOVybA2Uc1&8ue*@eeaf& z-V7=lqgc9`1CN)#cfapD-}!z5yu|+uamDrx08IcK0ObIp0Jg8#Mp3*0;A;SX0{9)k z2SDDbGvT^o@2&x;0Z#C`#ag~>s+q=8F-sR=x1Emy$;>EKmO5T~COM_8<4qzR?7JxloZnrzt z*Vku9qfs?8Gh_Gl^`%YIq!w6$g=-l=hj!vrl#+rlfNudD0`LO)RFHO6QBjd=Zf-U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