full rename
rename of folder, subfolders and main.py
@@ -1,3 +1,3 @@
|
|||||||
.vs
|
.vs
|
||||||
pygame test/pygame test/saves/
|
light_and_dark/light_and_dark/saves/
|
||||||
**/__pycache__/
|
**/__pycache__/
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<Solution>
|
||||||
|
<Project Path="light_and_dark/light_and_dark.pyproj" Type="888888a0-9f3d-457c-b088-3a5042f75d52" Id="e4b51f4c-e0be-4f9e-8a8e-d814a78b30c5">
|
||||||
|
<Build Project="false" />
|
||||||
|
</Project>
|
||||||
|
</Solution>
|
||||||
|
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 702 B |
|
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 680 B |
|
Before Width: | Height: | Size: 695 B After Width: | Height: | Size: 695 B |
|
Before Width: | Height: | Size: 879 B After Width: | Height: | Size: 879 B |
@@ -9,7 +9,7 @@ A 2D platformer built with **Pygame**. You switch between two forms — **Light*
|
|||||||
## Running the game
|
## 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`.
|
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`.
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"room_id": "room_05.json",
|
"room_id": "room_reward_01.json",
|
||||||
"chest_pos": [520, 330],
|
"chest_pos": [520, 330],
|
||||||
"ability_pos": [820, 210],
|
"ability_pos": [820, 210],
|
||||||
"chest_coins": [30, 30]
|
"chest_coins": [30, 30]
|
||||||
|
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
|
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 327 B |
|
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |
|
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 319 B |
|
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 313 B After Width: | Height: | Size: 313 B |
|
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 212 B |
|
Before Width: | Height: | Size: 392 B After Width: | Height: | Size: 392 B |
|
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 614 B |
|
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 306 B |
|
Before Width: | Height: | Size: 257 B After Width: | Height: | Size: 257 B |
|
Before Width: | Height: | Size: 219 B After Width: | Height: | Size: 219 B |
|
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
|
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 305 B |
|
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 250 B |
|
Before Width: | Height: | Size: 150 B After Width: | Height: | Size: 150 B |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 128 B |
|
Before Width: | Height: | Size: 135 B After Width: | Height: | Size: 135 B |
|
Before Width: | Height: | Size: 136 B After Width: | Height: | Size: 136 B |
@@ -4,13 +4,13 @@
|
|||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>e4b51f4c-e0be-4f9e-8a8e-d814a78b30c5</ProjectGuid>
|
<ProjectGuid>e4b51f4c-e0be-4f9e-8a8e-d814a78b30c5</ProjectGuid>
|
||||||
<ProjectHome>.</ProjectHome>
|
<ProjectHome>.</ProjectHome>
|
||||||
<StartupFile>pygame_test.py</StartupFile>
|
<StartupFile>main.py</StartupFile>
|
||||||
<SearchPath>
|
<SearchPath>
|
||||||
</SearchPath>
|
</SearchPath>
|
||||||
<WorkingDirectory>.</WorkingDirectory>
|
<WorkingDirectory>.</WorkingDirectory>
|
||||||
<OutputPath>.</OutputPath>
|
<OutputPath>.</OutputPath>
|
||||||
<Name>pygame test</Name>
|
<Name>light_and_dark</Name>
|
||||||
<RootNamespace>pygame test</RootNamespace>
|
<RootNamespace>light_and_dark</RootNamespace>
|
||||||
<TestFramework>unittest</TestFramework>
|
<TestFramework>unittest</TestFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
|
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="pygame_test.py" />
|
<Compile Include="main.py" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" />
|
||||||
<!-- Uncomment the CoreCompile target to enable the Build command in
|
<!-- Uncomment the CoreCompile target to enable the Build command in
|
||||||
@@ -38,7 +38,7 @@ LOOT_BOB_AMP = 3 # pixels
|
|||||||
LOOT_BOB_SPEED = 2.2 # radians/sec-ish feel
|
LOOT_BOB_SPEED = 2.2 # radians/sec-ish feel
|
||||||
|
|
||||||
# --- Reward room setup ---
|
# --- Reward room setup ---
|
||||||
REWARD_ROOM_ID = "room_05.json"
|
REWARD_ROOM_ID = "room_reward_01.json"
|
||||||
REWARD_CHEST_POS = (520, 330)
|
REWARD_CHEST_POS = (520, 330)
|
||||||
REWARD_ABILITY_POS = (820, 210)
|
REWARD_ABILITY_POS = (820, 210)
|
||||||
REWARD_CHEST_COINS = (30, 30) # light, dark
|
REWARD_CHEST_COINS = (30, 30) # light, dark
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"saved_at": "2026-09-28T09:46:05",
|
||||||
|
"player": {
|
||||||
|
"room_id": "room_02.json",
|
||||||
|
"x": -45,
|
||||||
|
"y": 360,
|
||||||
|
"health": 10,
|
||||||
|
"charge": 100.0,
|
||||||
|
"shade": false,
|
||||||
|
"coins_light": 23,
|
||||||
|
"coins_dark": 2,
|
||||||
|
"has_ranged": false,
|
||||||
|
"reward_chest_opened": false,
|
||||||
|
"equipment": {}
|
||||||
|
},
|
||||||
|
"inventory": [],
|
||||||
|
"quests": {
|
||||||
|
"active": {},
|
||||||
|
"completed_one_time": [],
|
||||||
|
"tokens": 0
|
||||||
|
},
|
||||||
|
"boss_diary": {
|
||||||
|
"slotted": {}
|
||||||
|
},
|
||||||
|
"defeated_bosses": [],
|
||||||
|
"broken_doors": []
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
<Solution>
|
|
||||||
<Project Path="pygame test/pygame test.pyproj" Type="888888a0-9f3d-457c-b088-3a5042f75d52" Id="e4b51f4c-e0be-4f9e-8a8e-d814a78b30c5">
|
|
||||||
<Build Project="false" />
|
|
||||||
</Project>
|
|
||||||
</Solution>
|
|
||||||