From 3c7fffa2d6ede55c2372f6a64bab79d0eb5f3e88 Mon Sep 17 00:00:00 2001 From: Ivan Shakhov Date: Wed, 1 Mar 2023 17:22:52 +0100 Subject: [PATCH] wip --- .../Dodge the Creeps with C#.csproj | 10 ++- mono/dodge_the_creeps/HUD.cs | 5 +- mono/dodge_the_creeps/HUD.tscn | 70 ++++++++----------- mono/dodge_the_creeps/Main.cs | 11 +-- mono/dodge_the_creeps/Main.tscn | 36 +++++----- mono/dodge_the_creeps/Mob.cs | 6 +- mono/dodge_the_creeps/Mob.tscn | 53 +++++++------- mono/dodge_the_creeps/Player.cs | 53 +++++--------- mono/dodge_the_creeps/Player.tscn | 69 ++++++++---------- .../art/House In a Forest Loop.ogg.import | 12 ++-- .../art/enemyFlyingAlt_1.png.import | 31 ++++---- .../art/enemyFlyingAlt_2.png.import | 31 ++++---- .../art/enemySwimming_1.png.import | 31 ++++---- .../art/enemySwimming_2.png.import | 31 ++++---- .../art/enemyWalking_1.png.import | 31 ++++---- .../art/enemyWalking_2.png.import | 31 ++++---- mono/dodge_the_creeps/art/gameover.wav.import | 7 +- .../art/playerGrey_up1.png.import | 31 ++++---- .../art/playerGrey_up2.png.import | 31 ++++---- .../art/playerGrey_walk1.png.import | 31 ++++---- .../art/playerGrey_walk2.png.import | 31 ++++---- .../fonts/Xolonium-Regular.tres | 6 ++ .../fonts/Xolonium-Regular.ttf.import | 33 +++++++++ mono/dodge_the_creeps/icon.png.import | 31 ++++---- mono/dodge_the_creeps/project.godot | 32 ++++++--- 25 files changed, 378 insertions(+), 366 deletions(-) create mode 100644 mono/dodge_the_creeps/fonts/Xolonium-Regular.tres create mode 100644 mono/dodge_the_creeps/fonts/Xolonium-Regular.ttf.import diff --git a/mono/dodge_the_creeps/Dodge the Creeps with C#.csproj b/mono/dodge_the_creeps/Dodge the Creeps with C#.csproj index e4b73e2a1e4..c6d380016ad 100644 --- a/mono/dodge_the_creeps/Dodge the Creeps with C#.csproj +++ b/mono/dodge_the_creeps/Dodge the Creeps with C#.csproj @@ -1,6 +1,12 @@ - + - net472 + net6.0 DodgeTheCreeps + + + + + + \ No newline at end of file diff --git a/mono/dodge_the_creeps/HUD.cs b/mono/dodge_the_creeps/HUD.cs index 3dea08598cf..60125e39887 100644 --- a/mono/dodge_the_creeps/HUD.cs +++ b/mono/dodge_the_creeps/HUD.cs @@ -3,7 +3,7 @@ public partial class HUD : CanvasLayer { [Signal] - public delegate void StartGame(); + public delegate void StartGameEventHandler(); public void ShowMessage(string text) { @@ -36,9 +36,10 @@ public void UpdateScore(int score) public void OnStartButtonPressed() { GetNode