Commit Graph

1826 Commits

Author SHA1 Message Date
Christopher Whitley 72e4490ab9 Call RectangleF.Intersects to resolve recursion bug
When both params `a` and `b` are of type `RectangleF` just calling `Shape.Intersects` creates a infinite recursion bug.
2024-05-16 23:08:33 -04:00
Max Kopjev 4da8929311 Merge pull request #815 from LilithSilver/rename-wasbutton
Improve naming of WasKeyJustDown/Up and WasButtonJustDown/Up
2024-04-28 20:58:39 +03:00
Max Kopjev e6e26d28fc Merge branch 'develop' into rename-wasbutton 2024-04-28 20:58:25 +03:00
Max Kopjev 0dd85c7d80 Merge pull request #820 from LilithSilver/add-missing-getpressedkeys
Decrease allocation overhead on KeyboardStateExtended
2024-04-28 19:54:50 +03:00
jimmy b a166f34078 Fixes incorrect rendering of flipped animation tiles 2024-04-28 11:39:21 -05:00
Max Kopjev 0012e0e988 Merge pull request #840 from toore/feature-oriented-bounding-rectangle
Add oriented rectangle shape for improved collision detection
2024-04-28 19:26:47 +03:00
Max Kopjev a19b1e6881 Merge pull request #839 from safoster88/feature/check_for_undefined_layer
Check for undefined layer and throw on collision actor insertion
2024-04-28 16:08:59 +03:00
Andreas Torebring a342fedfd7 Calc coll vector for oriented rects 2024-04-15 22:14:50 +02:00
Andreas Torebring 377df89247 Calc coll vector for circle and oriented rect 2024-04-15 22:14:50 +02:00
Andreas Torebring bf1159d9f3 Properly intersect circle and oriented rect 2024-04-15 22:14:50 +02:00
Andreas Torebring 6a380e381b Rename to OrientedRectangle 2024-04-15 22:14:50 +02:00
Andreas Torebring 1d878727ec Add Intersects method for OBB 2024-04-15 22:14:50 +02:00
Andreas Torebring 9007c6bd55 Update dependencies 2024-04-15 22:14:50 +02:00
Andreas Torebring 0a2ce12134 Update circle and oriented bound box intersection 2024-04-15 22:14:50 +02:00
Andreas Torebring c1873c2dec Add ascii art to describe intersection tests 2024-04-15 22:14:50 +02:00
Andreas Torebring 82303e48b1 OrientedBoundedRectangle implements ShapeF
In that way the OrientedBoundedRectangle can take part of collision tests.
2024-04-15 22:14:50 +02:00
Andreas Torebring 135507e850 Be explicit about conversion of geometries
Conversion from circle to rectangle should not pass unnoted and be explicit.
2024-04-15 22:14:50 +02:00
Andreas Torebring b85f526275 Ignore Visual Studio cache 2024-04-15 22:14:50 +02:00
Andreas Torebring db807cd659 Add Points property to OrientedBoundingRectangle 2024-04-15 22:14:50 +02:00
Andreas Torebring 88a51a6f68 Add OrientedBoundingRectangle type 2024-04-15 22:14:50 +02:00
Max Kopjev bde79b8997 Merge pull request #819 from Asthegor/patch-1
Update PrimitiveDrawing.cs
2024-04-07 23:20:37 +03:00
Max Kopjev 68c0b3d736 Merge pull request #818 from KatDevsGames/pipeline-update-map-layer-tilemap-class
support type/class field in maps, layers, & tilemaps
2024-04-07 23:16:37 +03:00
Max Kopjev 9c0865a2ae Merge branch 'develop' into pipeline-update-map-layer-tilemap-class 2024-04-07 23:16:31 +03:00
Max Kopjev 37026922e1 Merge pull request #817 from KatDevsGames/pipeline-update-class-properties
add support for class (nested) properties
2024-04-07 23:15:13 +03:00
Max Kopjev ce0a1a2f8c Merge branch 'develop' into pipeline-update-class-properties 2024-04-07 23:12:01 +03:00
Max Kopjev 51aea6c84a Merge pull request #834 from Apllify/fix-hsl-lerp
Fixed HSL Lerp function
2024-04-07 21:19:19 +03:00
Stephen 6cc4b6cb96 Add test coverage 2024-02-17 13:25:11 +00:00
Stephen 8d95d49924 Check for undefined layer and throw on collision actor insertion 2024-02-17 13:15:56 +00:00
Max Kopjev 6acc822be1 Merge pull request #837 from craftworkgames/tweener_enchancing3
Tweener enchancing3
2024-01-22 19:12:29 +01:00
Gandifil 79a20706b1 Fix activator inside tweener. 2024-01-22 21:11:44 +03:00
Gandifil e93ec550c4 Add tweening tests 2024-01-22 21:11:30 +03:00
Max Kopjev c4f9b3cddc Merge pull request #836 from craftworkgames/tweener_enchancing2
Fix TweenTo
2024-01-22 18:26:28 +01:00
Gandifil 4383bb8113 Fix TweenTo 2024-01-22 20:26:00 +03:00
Max Kopjev bb8a70c607 Merge pull request #835 from craftworkgames/tweener_enchancing
Tweener enchanting
2024-01-22 18:11:09 +01:00
Gandifil a2e3aacb90 Add special TweenTo. 2024-01-22 20:10:34 +03:00
Gandifil f961461a67 Add ColorTween 2024-01-22 19:32:13 +03:00
Gandifil 60d2fdfd1e Move impls of linear tweening into special class. 2024-01-22 19:32:05 +03:00
Gandifil 3f44766bd4 Move extracting linear operations into special class. 2024-01-22 19:03:17 +03:00
Apllify c4e4ecb4d1 Fixed HSL lerp 2024-01-17 16:30:26 +01:00
Max Kopjev 801196c3f0 Merge pull request #833 from craftworkgames/rectanglef_serializer
Rectanglef serializer
2024-01-03 20:05:28 +01:00
Gandifil fd760e3e4f Add RectangleFJsonConverter for default serializer. 2024-01-03 22:04:44 +03:00
Gandifil 6b2efb7bf3 Add test for new serizalizer 2024-01-03 22:04:25 +03:00
Gandifil 430a8d524a Add serializer for RectangleF 2024-01-03 22:04:13 +03:00
Max Kopjev 232156b57a Merge pull request #832 from craftworkgames/revert-831-add_copy-constructor-listener
Revert "Add copy constructor for KeyboardListener."
2024-01-03 19:20:33 +01:00
Max Kopjev d1439587d9 Revert "Add copy constructor for KeyboardListener." 2024-01-03 21:19:50 +03:00
Max Kopjev 9393251fe3 Merge pull request #831 from craftworkgames/add_copy-constructor-listener
Add copy constructor for KeyboardListener.
2023-12-28 08:20:51 +01:00
Gandifil ebd181b073 Add copy constructor for KeyboardListener. 2023-12-28 09:43:06 +03:00
Max Kopjev 95cc5f4183 Merge pull request #829 from craftworkgames/fix_tiled_bigobject_tileset3
Add support of "Collection of Images" tileset type 3
2023-12-25 19:42:17 +01:00
Gandifil 64f21f2533 Fix CiCD 2023-12-25 21:39:54 +03:00
Max Kopjev 6b93cc8c25 Merge pull request #828 from craftworkgames/fix_tiled_bigobject_tileset2
Add support of "Collection of Images" tileset type 2
2023-12-25 19:26:33 +01:00