Commit Graph

41 Commits (8651b44cf0d0b1aa582e02d71bbb48ba81851050)

Author SHA1 Message Date
Skyball2000 d18992de3f Revoked fixes previously thought necessary for box collisions 2023-03-29 18:22:44 +02:00
Skyball2000 4009e784cb Win screen 2023-03-29 18:07:52 +02:00
Skyball2000 22fb3a3c34 Added wall on left and right 2023-03-29 17:12:31 +02:00
Skyball2000 f6bf489500 Another fix for boxes 2023-03-29 16:48:09 +02:00
Skyball2000 e5a13c149a Potential fix for box stuck 2023-03-29 16:42:10 +02:00
Skyball2000 720d5b9b05 Added another fix for collision on boxes 2023-03-29 16:21:11 +02:00
Skyball2000 9acea09359 Fixed box glitch 2023-03-29 16:17:34 +02:00
Skyball2000 d006b0bc50 Added winning check 2023-03-29 16:08:12 +02:00
Erenando 5aca916026 Level design changes 2023-03-29 12:29:00 +02:00
Erenando 62726c6af8 Level design changes 2023-03-29 09:40:09 +02:00
Skyball2000 2280e81629 player animation will now update based on player input 2023-03-29 07:37:50 +02:00
Yan Wittmann 00c051de02 Another performance change 2023-03-28 20:08:52 +02:00
Yan Wittmann beea6b1ee8 Merge remote-tracking branch 'origin/main' into main
# Conflicts:
#	project/data/levels/level-01.csv
2023-03-28 20:01:23 +02:00
Yan Wittmann 33ada24b84 Modified collision checking sprite selection once more 2023-03-28 20:01:09 +02:00
Eren Saglam 6770e9495a spikes placement 2023-03-28 19:51:55 +02:00
Skyball2000 0b3ff79002 More optimisations 2023-03-28 19:46:54 +02:00
Yan Wittmann 01147960cb Removed code to set visibility of colliders and sprites, as it is no longer needed. 2023-03-28 19:39:26 +02:00
Yan Wittmann 9dfc487e9a Optimize PhysicsElementsHandler.py by checking collisions only with closest sprites.
Improve UiElement.py to cache and reuse scaled images for better performance.
2023-03-28 19:35:42 +02:00
Eren Saglam 01b8898405 Level 1-4 got changed a bit. Overall gravity has to be modified 2023-03-28 17:59:08 +02:00
Yan Wittmann 447ebdd5a8 Another attempt at optimization 2023-03-28 17:17:51 +02:00
Yan Wittmann 1a24f7c091 Fixed issue in box collision 2023-03-27 18:52:49 +02:00
Yan Wittmann 85a34b01d8 Added pushable boxes.
Added click event handler
2023-03-27 18:37:30 +02:00
Eren Saglam 575dc00ade Level 1 prototype is working 2023-03-27 18:07:21 +02:00
Yan Wittmann 7a5987b3d2 Performance improvements 2023-03-27 15:17:01 +02:00
Yan Wittmann 5db9b7c627 Minor performance improvement 2023-03-27 14:47:12 +02:00
Yan Wittmann f400b374fd Partial collision 2023-03-27 14:38:52 +02:00
Yan Wittmann 44d3ab01bf Optimization on level loading 2023-03-27 13:08:22 +02:00
Yan Wittmann ac0b8dc2f5 Initial button logic 2023-03-27 12:51:44 +02:00
Yan Wittmann e53c1084df Started writing new level creation 2023-03-27 11:46:03 +02:00
Yan Wittmann f2fab23b75 New collision system 2023-03-26 17:01:28 +02:00
Yan Wittmann cd8fa05c41 Added files for testing level loading and controller 2023-03-26 15:00:29 +02:00
Yan Wittmann 65c8a17543 Implemented framework for player controller and input handling 2023-03-26 12:46:41 +02:00
Yan Wittmann f1709229c5 Screen to world coordinate translation and click listeners 2023-03-26 11:13:34 +02:00
Yan Wittmann ec550683f8 Minor adjustments to physics 2023-03-26 10:40:17 +02:00
Yan Wittmann e6d34fcbf2 Interactions between elements in between layers 2023-03-26 10:05:23 +02:00
Yan Wittmann 72fd82c5a6 Generalized UI Elements 2023-03-26 09:51:11 +02:00
Yan Wittmann 8cbf623247 Made simulation even more satisfying 2023-03-25 18:27:54 +01:00
Yan Wittmann 88b3c4724c Fixed timing delta in physics calculation
(Big Push)
2023-03-25 18:19:03 +01:00
Yan Wittmann 30c153e555 Physics engine improvements 2023-03-25 18:14:47 +01:00
Yan Wittmann e3744241ea First implementation of physics 2023-03-25 17:18:43 +01:00
Yan Wittmann 73b22dca7d Started implementing framework 2023-03-25 15:41:32 +01:00