Commit Graph
833 Commits
Author SHA1 Message Date
Simon Lübeß f5f32eecb2 Vector documentation 2024-02-19 18:17:45 +01:00
Simon Lübeß b84ce5e482 File filter for open and save scene 2024-02-18 00:51:53 +01:00
Simon Lübeß 1340b06af5 Basic asset thumbnails 2024-02-18 00:48:09 +01:00
Simon Lübeß 3b584f2c78 Editor: Show name of script class in script component header 2024-02-17 23:43:39 +01:00
Simon Lübeß 886c4a71dd Editor: Changed color for ImGui MenuBars 2024-02-17 23:32:47 +01:00
Simon Lübeß 86b09c173b Print pretty names and support LabelAttribute for enum cases 2024-02-17 23:32:21 +01:00
Simon Lübeß a07ea3276c ScriptCore: Added LabelAttribute 2024-02-17 23:06:55 +01:00
Simon Lübeß 3c0302b06c Editor: Show pretty script field names 2024-02-17 22:53:58 +01:00
Simon Lübeß 59aaec572b Render 2D with depth, reverse depth of camera projection
dirty fix in Renderer...
2024-02-16 17:31:32 +01:00
Simon Lübeß 0321bd91c4 3D Renderer: inverted depth buffer 2024-02-16 16:14:14 +01:00
Simon Lübeß 2ab4a7d70b Set debug names for directx textures and views in render target group 2024-02-16 16:07:10 +01:00
Simon Lübeß aba7448fe6 Improved collapsing region for PolygonCollider2D vertices 2024-01-30 23:57:07 +01:00
Simon Lübeß 4830fd289e ComponentWindow finalized
ScriptCore:
- ActivatorExtension: Fixed creation of default value or null class
- ImGuiExtension: added DragUIntX / DoubleX and CheckboxX
2024-01-30 23:40:58 +01:00
Simon Lübeß 09f7dfce90 FloatX to Numerics.VectorX converision operators 2024-01-30 23:36:35 +01:00
Simon Lübeß f86d1aa79e Improved UI of component edit window
- Also fixed some errors in list and dictionary editors
2024-01-29 19:46:52 +01:00
Simon Lübeß bae8b84d35 ScriptCore: Added some Random functions 2024-01-27 19:52:42 +01:00
Simon Lübeß 394ec2b9b2 ScriptCore: Added TryGetComponent for entities
also added NullableAttributes for better static null analysis
2024-01-27 19:47:30 +01:00
Simon Lübeß 8ff35d3967 ScriptCore: Added more properties to components
- Added CircleRenderer
- Transform: Added Rotation, RotationEuler, RotationAxisAngle and Scale
- RigidBody: Added BodyType and GravityScale
- Added ColorRGBA
2024-01-27 19:46:37 +01:00
Simon Lübeß bc535ddc26 Get/Set FixedRotation in play mode 2024-01-26 12:51:29 +01:00
Simon Lübeß d4d6cc8e38 Fixed OnCollisionEnter/Leave callbacks 2024-01-26 12:41:37 +01:00
Simon Lübeß 2399196a3a Fixed Collision2D using wrong entities for rigidbodies 2024-01-25 23:36:29 +01:00
Simon Lübeß 4538c38fd7 ScriptGlue error handling 2024-01-25 23:35:56 +01:00
Simon Lübeß 525bb050ef ScriptEngine cleanup 2024-01-25 23:35:40 +01:00
Simon Lübeß d8e4e8d028 ScriptCore: Added Parent property to Transform 2024-01-25 22:29:11 +01:00
Simon Lübeß 3815b70f06 Content Browser: Context menu item to copy path and identifier of assets 2024-01-25 22:28:02 +01:00
Simon Lübeß 7026be1c90 2D Physics and script improvements
- fixed time step
- Fixed crash caused by physics script callback being registered in simulation mode
- Moved 2D Physics config to file
- Finally gave up on the attempt to keep X and Y rotation when applying new Z-rotation from 2D rigidbody to transform and now I can sleep well
- Streamlined starting and stopping of scenes
- Scripts: execute all inits and OnCreates before OnUpdate
2024-01-22 23:19:55 +01:00
Simon Lübeß 7f40ae038a Removed Atan2 from script glue 2024-01-20 21:24:43 +01:00
Simon Lübeß 02be6d8eb7 Log: Also log filename and line number of caller 2024-01-20 21:23:34 +01:00
Simon Lübeß 55eef017e7 AssetBrowser: Bad way to open scripts in Visual Studio 2024-01-20 21:23:01 +01:00
Simon Lübeß 04a0cecf3c Fixed script play mode info 2024-01-18 21:41:18 +01:00
Simon Lübeß c906fc9667 Properly destroy script instances
Now without memory leaks!
2024-01-18 21:29:11 +01:00
Simon Lübeß 9befd9e910 ScriptCore: Added trigonometric functions to Math
I don't know why it claims I changed the entire file...
2024-01-16 13:32:46 +01:00
Simon Lübeß 60b45828c2 ScriptGlue: Added Camera component and throwing mono exceptions from beef 2024-01-15 01:22:52 +01:00
Simon Lübeß ceb4241216 ScriptGlue: Added Log.Exception
- Also pushed missing List Editor fix
2024-01-15 01:21:56 +01:00
Simon Lübeß 49db3a28c8 Fixed deserialization of generic types 2024-01-15 01:18:13 +01:00
Simon Lübeß 19d70c94e6 Added UUID.Zero 2024-01-15 01:16:30 +01:00
Simon Lübeß ba68eb7428 Editor: Show name of open scene in window title 2024-01-12 15:41:56 +01:00
Simon Lübeß 827f3bb564 EntityHierarchyWindow: Dragging entites no longer selects them 2024-01-12 15:32:21 +01:00
Simon Lübeß 6c910ab03b Editor: Prevent saving while in not in edit mode 2024-01-12 00:31:10 +01:00
Simon Lübeß 55b4be05c2 ScriptCore: Properly use nullable 2024-01-12 00:17:40 +01:00
Simon Lübeß 3d0c010139 EntityHierarchyWindow: Fixed right click deselecting entities 2024-01-11 23:36:00 +01:00
Simon Lübeß 91cef7ad4b Added checkbox to enable and disable polygon collider vertex handles 2024-01-11 22:55:40 +01:00
Simon Lübeß 7cdc398494 Added basic decimal editor 2024-01-11 22:55:18 +01:00
Simon Lübeß 99a12a118c Fixed Script data for entity copying 2024-01-09 13:41:54 +01:00
Simon Lübeß b93e081e0a Fixed URL of Submodule Box2D 2024-01-08 14:37:14 +01:00
Simon Lübeß 86139f870c ScriptCore: Cleanup and refactoring
A bit of nullable stuff
2024-01-07 23:56:44 +01:00
Simon Lübeß bfc9d4a0a5 Save and Load script data from files 2024-01-07 18:35:33 +01:00
Simon Lübeß a302a26f80 Moved SerializationType and Object to separate files 2024-01-06 13:27:24 +01:00
Simon Lübeß 9a09a1d878 ScriptCore: Escape sequence for char editor 2024-01-06 13:17:23 +01:00
Simon Lübeß 31e7edcc9c ScriptCore: Open newly created dictionary entry 2024-01-06 13:16:36 +01:00