Commit Graph

22 Commits (5aca9160265fe9f8a71cce6e647ce6c5f1a80959)

Author SHA1 Message Date
Yan Wittmann 00c051de02 Another performance change 2023-03-28 20:08:52 +02:00
Yan Wittmann 33ada24b84 Modified collision checking sprite selection once more 2023-03-28 20:01:09 +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
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
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 ac0b8dc2f5 Initial button logic 2023-03-27 12:51:44 +02:00
Yan Wittmann f2fab23b75 New collision system 2023-03-26 17:01:28 +02:00
Yan Wittmann 65c8a17543 Implemented framework for player controller and input handling 2023-03-26 12:46:41 +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