mirror of
https://github.com/BreizhHardware/project_sanic.git
synced 2026-05-09 08:15:51 +02:00
[PR #29] [MERGED] Dev felix #29
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BreizhHardware/project_sanic#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BreizhHardware/project_sanic/pull/29
Author: @BreizhHardware
Created: 4/7/2025
Status: ✅ Merged
Merged: 4/7/2025
Merged by: @ClementHVT
Base:
dev← Head:dev_felix📝 Commits (2)
e67d64dFeat(Exit Video) - Implement video playback on exit collision; add functionality to play a video and return to the menu, and update requirements for moviepy support3866a0bFeat(Level Design) - Update platform and enemy configurations in JSON files; modify platform IDs, positions, and textures, and add new enemy types with behaviors.📊 Changes
20 files changed (+286 additions, -161 deletions)
View changed files
➕
assets/map/checkpoints/checkpoint.png(+0 -0)➕
assets/map/checkpoints/checkpoint_uncheck.png(+0 -0)➕
assets/map/exit/Zeldo Motus.mp4(+0 -0)➕
assets/sound/cinematic_voice.mp3(+0 -0)📝
map/levels/2.json(+120 -78)📝
map/levels/3.json(+7 -7)📝
requirements.txt(+8 -1)📝
src/Database/CheckpointDB.py(+0 -2)📝
src/Database/LevelDB.py(+0 -2)📝
src/Entity/Checkpoint.py(+27 -4)📝
src/Entity/Enemy.py(+3 -7)📝
src/Entity/Entity.py(+12 -4)📝
src/Entity/Exit.py(+40 -6)📝
src/Entity/Player.py(+7 -6)📝
src/Map/Editor/EditorSprites.py(+0 -1)📝
src/Map/Editor/LevelEditor.py(+41 -25)📝
src/Map/parser.py(+16 -9)📝
src/game.py(+5 -6)📝
src/handler.py(+0 -3)➕
temp_audio.mp3(+0 -0)📄 Description
This pull request includes significant updates to various game levels, entities, and database operations. The changes focus on enhancing level design, improving entity behavior, and cleaning up the codebase by removing unnecessary print statements.
Level Design Improvements:
map/levels/2.jsonto adjust platform positions, textures, and add new enemies and platforms.map/levels/3.json, and adjusted exit and spawn point coordinates. [1] [2] [3] [4]Entity Enhancements:
src/Entity/Checkpoint.pyto load textures dynamically and update the checkpoint appearance upon activation. [1] [2]src/Entity/Exit.pyto play a video and return to the menu upon player exit. [1] [2]src/Entity/Entity.py.Database Operations:
src/Database/CheckpointDB.pyandsrc/Database/LevelDB.pyto clean up the code. [1] [2] [3] [4]Code Cleanup:
src/Entity/Enemy.py,src/Entity/Player.py, andsrc/Map/Editor/EditorSprites.py. [1] [2] [3] [4] [5] [6]Level Editor Enhancements:
update_hitboxestosrc/Map/Editor/LevelEditor.pyto update collision boxes for all sprites.save_levelmethod to include additional enemy data and adjusted player spawn point logic. [1] [2] [3]🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.