Commit Graph

24 Commits (9dfc487e9a5efc6efa223cd26db9563b66591c90)

Author SHA1 Message Date
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