From 17d4e9cdf3d4198daee5d72b35ccc292dff98b64 Mon Sep 17 00:00:00 2001 From: Halica Date: Mon, 28 Sep 2026 09:47:18 +0200 Subject: [PATCH] full rename rename of folder, subfolders and main.py --- .gitignore | 2 +- light_and_dark.slnx | 5 ++++ {pygame test => light_and_dark}/Player_01.png | Bin .../Player_01_idle1.png | Bin .../Player_01_idle2.png | Bin {pygame test => light_and_dark}/Player_02.png | Bin {pygame test => light_and_dark}/README.md | 2 +- {pygame test => light_and_dark}/ROADMAP.md | 0 .../data/config/animation.json | 0 .../data/config/coin_drops.json | 0 .../data/config/colors.json | 0 .../data/config/game_config.json | 0 .../data/config/npc.json | 0 .../data/config/physics.json | 0 .../data/config/ranged.json | 0 .../data/config/reward_room.json | 2 +- .../data/config/ui_layout.json | 0 .../data/drops/enemy_drops.json | 0 .../data/enemies/enemy_types.json | 0 .../data/items/armor.json | 0 .../data/items/necklaces.json | 0 .../data/items/rarities.json | 0 .../data/items/sets.json | 0 .../data/objects/objects.json | 0 .../sprites/abilities/Ranged_projectile.png | Bin .../sprites/abilities/Tether_dark_ability.png | Bin .../abilities/Tether_dark_ability_edge.png | Bin .../abilities/Tether_light_ability.png | Bin .../abilities/Tether_light_ability_edge.png | Bin .../data/sprites/objects/lamp_1.png | Bin .../data/sprites/tokens/Boss1_token.png | Bin .../ui/icons/abilities/RealityBreak_dark.png | Bin .../ui/icons/abilities/RealityBreak_light.png | Bin .../ui/icons/abilities/Shatterstep_dark.png | Bin .../ui/icons/abilities/Shatterstep_light.png | Bin .../data/ui/icons/abilities/Tether_dark.png | Bin .../data/ui/icons/abilities/Tether_light.png | Bin .../data/ui/icons/coins/coin_dark.png | Bin .../data/ui/icons/coins/coin_light.png | Bin .../data/ui/icons/slots/chestplate.png | Bin .../data/ui/icons/slots/helmet.png | Bin .../data/ui/icons/slots/necklace.png | Bin .../data/ui/icons/slots/pants.png | Bin .../data/world/rooms/room_01.json | 0 .../data/world/rooms/room_02.json | 0 .../data/world/rooms/room_07.json | 0 .../data/world/rooms/room_boss_01.json | 0 .../world/rooms/room_boss_refight_01.json | 0 .../data/world/rooms/room_reward_01.json | 0 .../world/rooms/room_town_gloomreach.json | 0 .../level_editor_v43.html | 0 .../light_and_dark.pyproj | 8 ++--- .../pygame_test.py => light_and_dark/main.py | 2 +- {pygame test => light_and_dark}/notes.txt | 0 light_and_dark/saves/save 1.json | 28 ++++++++++++++++++ pygame test.slnx | 5 ---- .../__pycache__/pygame_test.cpython-312.pyc | Bin 333006 -> 0 bytes 57 files changed, 41 insertions(+), 13 deletions(-) create mode 100644 light_and_dark.slnx rename {pygame test => light_and_dark}/Player_01.png (100%) rename {pygame test => light_and_dark}/Player_01_idle1.png (100%) rename {pygame test => light_and_dark}/Player_01_idle2.png (100%) rename {pygame test => light_and_dark}/Player_02.png (100%) rename {pygame test => light_and_dark}/README.md (99%) rename {pygame test => light_and_dark}/ROADMAP.md (100%) rename {pygame test => light_and_dark}/data/config/animation.json (100%) rename {pygame test => light_and_dark}/data/config/coin_drops.json (100%) rename {pygame test => light_and_dark}/data/config/colors.json (100%) rename {pygame test => light_and_dark}/data/config/game_config.json (100%) rename {pygame test => light_and_dark}/data/config/npc.json (100%) rename {pygame test => light_and_dark}/data/config/physics.json (100%) rename {pygame test => light_and_dark}/data/config/ranged.json (100%) rename {pygame test => light_and_dark}/data/config/reward_room.json (70%) rename {pygame test => light_and_dark}/data/config/ui_layout.json (100%) rename {pygame test => light_and_dark}/data/drops/enemy_drops.json (100%) rename {pygame test => light_and_dark}/data/enemies/enemy_types.json (100%) rename {pygame test => light_and_dark}/data/items/armor.json (100%) rename {pygame test => light_and_dark}/data/items/necklaces.json (100%) rename {pygame test => light_and_dark}/data/items/rarities.json (100%) rename {pygame test => light_and_dark}/data/items/sets.json (100%) rename {pygame test => light_and_dark}/data/objects/objects.json (100%) rename {pygame test => light_and_dark}/data/sprites/abilities/Ranged_projectile.png (100%) rename {pygame test => light_and_dark}/data/sprites/abilities/Tether_dark_ability.png (100%) rename {pygame test => light_and_dark}/data/sprites/abilities/Tether_dark_ability_edge.png (100%) rename {pygame test => light_and_dark}/data/sprites/abilities/Tether_light_ability.png (100%) rename {pygame test => light_and_dark}/data/sprites/abilities/Tether_light_ability_edge.png (100%) rename {pygame test => light_and_dark}/data/sprites/objects/lamp_1.png (100%) rename {pygame test => light_and_dark}/data/sprites/tokens/Boss1_token.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/abilities/RealityBreak_dark.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/abilities/RealityBreak_light.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/abilities/Shatterstep_dark.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/abilities/Shatterstep_light.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/abilities/Tether_dark.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/abilities/Tether_light.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/coins/coin_dark.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/coins/coin_light.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/slots/chestplate.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/slots/helmet.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/slots/necklace.png (100%) rename {pygame test => light_and_dark}/data/ui/icons/slots/pants.png (100%) rename {pygame test => light_and_dark}/data/world/rooms/room_01.json (100%) rename {pygame test => light_and_dark}/data/world/rooms/room_02.json (100%) rename {pygame test => light_and_dark}/data/world/rooms/room_07.json (100%) rename {pygame test => light_and_dark}/data/world/rooms/room_boss_01.json (100%) rename {pygame test => light_and_dark}/data/world/rooms/room_boss_refight_01.json (100%) rename {pygame test => light_and_dark}/data/world/rooms/room_reward_01.json (100%) rename {pygame test => light_and_dark}/data/world/rooms/room_town_gloomreach.json (100%) rename {pygame test => light_and_dark}/level_editor_v43.html (100%) rename pygame test/pygame test.pyproj => light_and_dark/light_and_dark.pyproj (89%) rename pygame test/pygame_test.py => light_and_dark/main.py (99%) rename {pygame test => light_and_dark}/notes.txt (100%) create mode 100644 light_and_dark/saves/save 1.json delete mode 100644 pygame test.slnx delete mode 100644 pygame test/__pycache__/pygame_test.cpython-312.pyc diff --git a/.gitignore b/.gitignore index 95df8e6..ab9a33b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .vs -pygame test/pygame test/saves/ +light_and_dark/light_and_dark/saves/ **/__pycache__/ \ No newline at end of file diff --git a/light_and_dark.slnx b/light_and_dark.slnx new file mode 100644 index 0000000..c2e3f8d --- /dev/null +++ b/light_and_dark.slnx @@ -0,0 +1,5 @@ + + + + + diff --git a/pygame test/Player_01.png b/light_and_dark/Player_01.png similarity index 100% rename from pygame test/Player_01.png rename to light_and_dark/Player_01.png diff --git a/pygame test/Player_01_idle1.png b/light_and_dark/Player_01_idle1.png similarity index 100% rename from pygame test/Player_01_idle1.png rename to light_and_dark/Player_01_idle1.png diff --git a/pygame test/Player_01_idle2.png b/light_and_dark/Player_01_idle2.png similarity index 100% rename from pygame test/Player_01_idle2.png rename to light_and_dark/Player_01_idle2.png diff --git a/pygame test/Player_02.png b/light_and_dark/Player_02.png similarity index 100% rename from pygame test/Player_02.png rename to light_and_dark/Player_02.png diff --git a/pygame test/README.md b/light_and_dark/README.md similarity index 99% rename from pygame test/README.md rename to light_and_dark/README.md index 3481400..a9cad94 100644 --- a/pygame test/README.md +++ b/light_and_dark/README.md @@ -9,7 +9,7 @@ A 2D platformer built with **Pygame**. You switch between two forms — **Light* ## Running the game ``` -python pygame_test.py +python main.py ``` Requires Python 3.10+ and `pygame`. Game data (rooms, items, sets, enemies, drops) lives in `data/`. Rooms are edited with the included browser tool: `level_editor_v43.html`. diff --git a/pygame test/ROADMAP.md b/light_and_dark/ROADMAP.md similarity index 100% rename from pygame test/ROADMAP.md rename to light_and_dark/ROADMAP.md diff --git a/pygame test/data/config/animation.json b/light_and_dark/data/config/animation.json similarity index 100% rename from pygame test/data/config/animation.json rename to light_and_dark/data/config/animation.json diff --git a/pygame test/data/config/coin_drops.json b/light_and_dark/data/config/coin_drops.json similarity index 100% rename from pygame test/data/config/coin_drops.json rename to light_and_dark/data/config/coin_drops.json diff --git a/pygame test/data/config/colors.json b/light_and_dark/data/config/colors.json similarity index 100% rename from pygame test/data/config/colors.json rename to light_and_dark/data/config/colors.json diff --git a/pygame test/data/config/game_config.json b/light_and_dark/data/config/game_config.json similarity index 100% rename from pygame test/data/config/game_config.json rename to light_and_dark/data/config/game_config.json diff --git a/pygame test/data/config/npc.json b/light_and_dark/data/config/npc.json similarity index 100% rename from pygame test/data/config/npc.json rename to light_and_dark/data/config/npc.json diff --git a/pygame test/data/config/physics.json b/light_and_dark/data/config/physics.json similarity index 100% rename from pygame test/data/config/physics.json rename to light_and_dark/data/config/physics.json diff --git a/pygame test/data/config/ranged.json b/light_and_dark/data/config/ranged.json similarity index 100% rename from pygame test/data/config/ranged.json rename to light_and_dark/data/config/ranged.json diff --git a/pygame test/data/config/reward_room.json b/light_and_dark/data/config/reward_room.json similarity index 70% rename from pygame test/data/config/reward_room.json rename to light_and_dark/data/config/reward_room.json index 44c8c85..f7c4e4c 100644 --- a/pygame test/data/config/reward_room.json +++ b/light_and_dark/data/config/reward_room.json @@ -1,5 +1,5 @@ { - "room_id": "room_05.json", + "room_id": "room_reward_01.json", "chest_pos": [520, 330], "ability_pos": [820, 210], "chest_coins": [30, 30] diff --git a/pygame test/data/config/ui_layout.json b/light_and_dark/data/config/ui_layout.json similarity index 100% rename from pygame test/data/config/ui_layout.json rename to light_and_dark/data/config/ui_layout.json diff --git a/pygame test/data/drops/enemy_drops.json b/light_and_dark/data/drops/enemy_drops.json similarity index 100% rename from pygame test/data/drops/enemy_drops.json rename to light_and_dark/data/drops/enemy_drops.json diff --git a/pygame test/data/enemies/enemy_types.json b/light_and_dark/data/enemies/enemy_types.json similarity index 100% rename from pygame test/data/enemies/enemy_types.json rename to light_and_dark/data/enemies/enemy_types.json diff --git a/pygame test/data/items/armor.json b/light_and_dark/data/items/armor.json similarity index 100% rename from pygame test/data/items/armor.json rename to light_and_dark/data/items/armor.json diff --git a/pygame test/data/items/necklaces.json b/light_and_dark/data/items/necklaces.json similarity index 100% rename from pygame test/data/items/necklaces.json rename to light_and_dark/data/items/necklaces.json diff --git a/pygame test/data/items/rarities.json b/light_and_dark/data/items/rarities.json similarity index 100% rename from pygame test/data/items/rarities.json rename to light_and_dark/data/items/rarities.json diff --git a/pygame test/data/items/sets.json b/light_and_dark/data/items/sets.json similarity index 100% rename from pygame test/data/items/sets.json rename to light_and_dark/data/items/sets.json diff --git a/pygame test/data/objects/objects.json b/light_and_dark/data/objects/objects.json similarity index 100% rename from pygame test/data/objects/objects.json rename to light_and_dark/data/objects/objects.json diff --git a/pygame test/data/sprites/abilities/Ranged_projectile.png b/light_and_dark/data/sprites/abilities/Ranged_projectile.png similarity index 100% rename from pygame test/data/sprites/abilities/Ranged_projectile.png rename to light_and_dark/data/sprites/abilities/Ranged_projectile.png diff --git a/pygame test/data/sprites/abilities/Tether_dark_ability.png b/light_and_dark/data/sprites/abilities/Tether_dark_ability.png similarity index 100% rename from pygame test/data/sprites/abilities/Tether_dark_ability.png rename to light_and_dark/data/sprites/abilities/Tether_dark_ability.png diff --git a/pygame test/data/sprites/abilities/Tether_dark_ability_edge.png b/light_and_dark/data/sprites/abilities/Tether_dark_ability_edge.png similarity index 100% rename from pygame test/data/sprites/abilities/Tether_dark_ability_edge.png rename to light_and_dark/data/sprites/abilities/Tether_dark_ability_edge.png diff --git a/pygame test/data/sprites/abilities/Tether_light_ability.png b/light_and_dark/data/sprites/abilities/Tether_light_ability.png similarity index 100% rename from pygame test/data/sprites/abilities/Tether_light_ability.png rename to light_and_dark/data/sprites/abilities/Tether_light_ability.png diff --git a/pygame test/data/sprites/abilities/Tether_light_ability_edge.png b/light_and_dark/data/sprites/abilities/Tether_light_ability_edge.png similarity index 100% rename from pygame test/data/sprites/abilities/Tether_light_ability_edge.png rename to light_and_dark/data/sprites/abilities/Tether_light_ability_edge.png diff --git a/pygame test/data/sprites/objects/lamp_1.png b/light_and_dark/data/sprites/objects/lamp_1.png similarity index 100% rename from pygame test/data/sprites/objects/lamp_1.png rename to light_and_dark/data/sprites/objects/lamp_1.png diff --git a/pygame test/data/sprites/tokens/Boss1_token.png b/light_and_dark/data/sprites/tokens/Boss1_token.png similarity index 100% rename from pygame test/data/sprites/tokens/Boss1_token.png rename to light_and_dark/data/sprites/tokens/Boss1_token.png diff --git a/pygame test/data/ui/icons/abilities/RealityBreak_dark.png b/light_and_dark/data/ui/icons/abilities/RealityBreak_dark.png similarity index 100% rename from pygame test/data/ui/icons/abilities/RealityBreak_dark.png rename to light_and_dark/data/ui/icons/abilities/RealityBreak_dark.png diff --git a/pygame test/data/ui/icons/abilities/RealityBreak_light.png b/light_and_dark/data/ui/icons/abilities/RealityBreak_light.png similarity index 100% rename from pygame test/data/ui/icons/abilities/RealityBreak_light.png rename to light_and_dark/data/ui/icons/abilities/RealityBreak_light.png diff --git a/pygame test/data/ui/icons/abilities/Shatterstep_dark.png b/light_and_dark/data/ui/icons/abilities/Shatterstep_dark.png similarity index 100% rename from pygame test/data/ui/icons/abilities/Shatterstep_dark.png rename to light_and_dark/data/ui/icons/abilities/Shatterstep_dark.png diff --git a/pygame test/data/ui/icons/abilities/Shatterstep_light.png b/light_and_dark/data/ui/icons/abilities/Shatterstep_light.png similarity index 100% rename from pygame test/data/ui/icons/abilities/Shatterstep_light.png rename to light_and_dark/data/ui/icons/abilities/Shatterstep_light.png diff --git a/pygame test/data/ui/icons/abilities/Tether_dark.png b/light_and_dark/data/ui/icons/abilities/Tether_dark.png similarity index 100% rename from pygame test/data/ui/icons/abilities/Tether_dark.png rename to light_and_dark/data/ui/icons/abilities/Tether_dark.png diff --git a/pygame test/data/ui/icons/abilities/Tether_light.png b/light_and_dark/data/ui/icons/abilities/Tether_light.png similarity index 100% rename from pygame test/data/ui/icons/abilities/Tether_light.png rename to light_and_dark/data/ui/icons/abilities/Tether_light.png diff --git a/pygame test/data/ui/icons/coins/coin_dark.png b/light_and_dark/data/ui/icons/coins/coin_dark.png similarity index 100% rename from pygame test/data/ui/icons/coins/coin_dark.png rename to light_and_dark/data/ui/icons/coins/coin_dark.png diff --git a/pygame test/data/ui/icons/coins/coin_light.png b/light_and_dark/data/ui/icons/coins/coin_light.png similarity index 100% rename from pygame test/data/ui/icons/coins/coin_light.png rename to light_and_dark/data/ui/icons/coins/coin_light.png diff --git a/pygame test/data/ui/icons/slots/chestplate.png b/light_and_dark/data/ui/icons/slots/chestplate.png similarity index 100% rename from pygame test/data/ui/icons/slots/chestplate.png rename to light_and_dark/data/ui/icons/slots/chestplate.png diff --git a/pygame test/data/ui/icons/slots/helmet.png b/light_and_dark/data/ui/icons/slots/helmet.png similarity index 100% rename from pygame test/data/ui/icons/slots/helmet.png rename to light_and_dark/data/ui/icons/slots/helmet.png diff --git a/pygame test/data/ui/icons/slots/necklace.png b/light_and_dark/data/ui/icons/slots/necklace.png similarity index 100% rename from pygame test/data/ui/icons/slots/necklace.png rename to light_and_dark/data/ui/icons/slots/necklace.png diff --git a/pygame test/data/ui/icons/slots/pants.png b/light_and_dark/data/ui/icons/slots/pants.png similarity index 100% rename from pygame test/data/ui/icons/slots/pants.png rename to light_and_dark/data/ui/icons/slots/pants.png diff --git a/pygame test/data/world/rooms/room_01.json b/light_and_dark/data/world/rooms/room_01.json similarity index 100% rename from pygame test/data/world/rooms/room_01.json rename to light_and_dark/data/world/rooms/room_01.json diff --git a/pygame test/data/world/rooms/room_02.json b/light_and_dark/data/world/rooms/room_02.json similarity index 100% rename from pygame test/data/world/rooms/room_02.json rename to light_and_dark/data/world/rooms/room_02.json diff --git a/pygame test/data/world/rooms/room_07.json b/light_and_dark/data/world/rooms/room_07.json similarity index 100% rename from pygame test/data/world/rooms/room_07.json rename to light_and_dark/data/world/rooms/room_07.json diff --git a/pygame test/data/world/rooms/room_boss_01.json b/light_and_dark/data/world/rooms/room_boss_01.json similarity index 100% rename from pygame test/data/world/rooms/room_boss_01.json rename to light_and_dark/data/world/rooms/room_boss_01.json diff --git a/pygame test/data/world/rooms/room_boss_refight_01.json b/light_and_dark/data/world/rooms/room_boss_refight_01.json similarity index 100% rename from pygame test/data/world/rooms/room_boss_refight_01.json rename to light_and_dark/data/world/rooms/room_boss_refight_01.json diff --git a/pygame test/data/world/rooms/room_reward_01.json b/light_and_dark/data/world/rooms/room_reward_01.json similarity index 100% rename from pygame test/data/world/rooms/room_reward_01.json rename to light_and_dark/data/world/rooms/room_reward_01.json diff --git a/pygame test/data/world/rooms/room_town_gloomreach.json b/light_and_dark/data/world/rooms/room_town_gloomreach.json similarity index 100% rename from pygame test/data/world/rooms/room_town_gloomreach.json rename to light_and_dark/data/world/rooms/room_town_gloomreach.json diff --git a/pygame test/level_editor_v43.html b/light_and_dark/level_editor_v43.html similarity index 100% rename from pygame test/level_editor_v43.html rename to light_and_dark/level_editor_v43.html diff --git a/pygame test/pygame test.pyproj b/light_and_dark/light_and_dark.pyproj similarity index 89% rename from pygame test/pygame test.pyproj rename to light_and_dark/light_and_dark.pyproj index 18b98ba..77001ac 100644 --- a/pygame test/pygame test.pyproj +++ b/light_and_dark/light_and_dark.pyproj @@ -4,13 +4,13 @@ 2.0 e4b51f4c-e0be-4f9e-8a8e-d814a78b30c5 . - pygame_test.py + main.py . . - pygame test - pygame test + light_and_dark + light_and_dark unittest @@ -22,7 +22,7 @@ false - +