Commit Graph
100 Commits
Author SHA1 Message Date
Simon Lübeß 1279dc0a66 Implemented Copy for physics components 2024-03-28 22:40:53 +01:00
Simon Lübeß 9cee44f4d2 ScriptCore: Fixed error when deserializing list of strings 2024-03-22 10:15:24 +01:00
Simon Lübeß c6c47d0c0e ScriptCore: Implemented Pick-Method and ThreadSafeRandom 2024-03-22 10:14:38 +01:00
Simon Lübeß f8b6c50cda ScriptCore: Type.GetSimpleName and GetPrettyName 2024-03-22 10:13:16 +01:00
Simon Lübeß 94fc620662 EntityEditor: Refactored type dropdown 2024-03-22 10:12:55 +01:00
Simon Lübeß d357f44a39 Jump to correct line when opening script file from log 2024-03-22 10:05:00 +01:00
Simon Lübeß da59fd87f2 Removed sandbox project from workspace 2024-03-17 20:30:51 +01:00
Simon Lübeß d28426478b Font renderer improvements + component for scripting 2024-03-17 20:29:52 +01:00
Simon Lübeß 930d289565 Improved copying of components 2024-03-17 20:28:41 +01:00
Simon Lübeß a2c7bf7d06 Ensure generating unique Entity IDs 2024-03-17 20:25:38 +01:00
Simon Lübeß 84204aed46 No longer crash when selected entity disappears 2024-03-17 20:10:48 +01:00
Simon Lübeß 2dd826fc36 Made entity hierarchy more compact 2024-03-17 18:08:39 +01:00
Simon Lübeß 96609a6c31 FontRenderer: Basic Rich Text processing and lazy text building 2024-03-16 23:35:12 +01:00
Simon Lübeß f9ea705e77 Enum extension for SetFlag and ClearFlag 2024-03-16 23:34:10 +01:00
Simon Lübeß e703452b94 Start of text renderer component
- UC, LC, IC, RC tags
2024-03-14 22:17:57 +01:00
Simon Lübeß a87820c7da Use text height for entity visibility toggle 2024-03-10 15:21:25 +01:00
Simon Lübeß 27c433aba2 Moved play buttons into main menu 2024-03-10 15:16:55 +01:00
Simon Lübeß fc475eb468 Save and copy editor flags with scene. Replaced EditorComponent with DontSafe-flag 2024-03-10 13:11:53 +01:00
Simon Lübeß 72bd152999 Refactor 2024-03-10 13:01:05 +01:00
Simon Lübeß 8d92822845 Added EditorFlags: Hide entities in hierarchy and editor scene
- Also some Style changes
2024-03-10 12:21:20 +01:00
Simon Lübeß 5ca5404f72 Moved template copying from EditorLayer to Project 2024-03-09 20:53:27 +01:00
Simon Lübeß 9ea27a64e8 Modified template and improved template creation 2024-03-09 20:35:21 +01:00
Simon Lübeß 4e9a6b54f3 Friendship ended with VISUAL STUDIO, Now RIDER is my best friend 2024-03-09 20:33:26 +01:00
Simon Lübeß 09624e4e59 ScriptCore: Added NumberFormatAttribute 2024-03-09 01:00:59 +01:00
Simon Lübeß 5dbe1d7e50 ScriptCore: Color structs 2024-03-02 14:19:24 +01:00
Simon Lübeß ba246dd638 ScriptCore: Fixed some nullable warnings 2024-03-02 14:19:02 +01:00
Simon Lübeß caaa7646ef ScriptCore: matrix generator 2024-03-02 13:54:34 +01:00
Simon Lübeß 0a8d83ffb6 Changed Transform Update order 2024-02-26 13:47:29 +01:00
Simon Lübeß 19ee9bee89 Tooltips for Script Editor 2024-02-26 13:46:32 +01:00
Simon Lübeß aa29207e72 Show ImGui DemoWindow in EditorLayer 2024-02-26 13:40:00 +01:00
Simon Lübeß 0a822dcd79 ScriptCore: Added Transform.WorldTransform 2024-02-19 21:39:07 +01:00
Simon Lübeß 1ca9746921 Fixed crash in Logger 2024-02-19 21:38:35 +01:00
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
Simon Lübeß 5d9973a791 ScriptCore: Add Entry for dictionaries 2024-01-06 13:12:50 +01:00
Simon Lübeß 13baf2f4bc ScriptCore: Show Custom Editor
Implemented basic Dictionary editor
2024-01-05 15:46:54 +01:00
Simon Lübeß 9da675e4bb Use delegates for custom serializers 2024-01-05 14:34:11 +01:00
Simon Lübeß a5e767df01 Enabled nullable for ScriptCore 2024-01-05 14:33:50 +01:00
Simon Lübeß 3de861110e Custom Serializers
- Dictionary serializer
2024-01-05 13:37:58 +01:00
Simon Lübeß 16f4dd349b Serialize and Deserialize Lists and 1D-Arrays 2024-01-01 13:03:34 +01:00
Simon Lübeß c111fff32b ScriptCore: Added extension Type.IsAssignableTo 2024-01-01 13:02:50 +01:00
Simon Lübeß 19fb969718 ScriptCore: Added custom debug display for UUID 2024-01-01 13:02:34 +01:00
Simon Lübeß e5f2da66a9 ScriptCore Fixed CreateInstanceSafe(Type type, params object[] args) 2024-01-01 13:02:15 +01:00
Simon Lübeß 418aa71241 ScriptCore: Fixed adding element to arrays 2023-12-31 17:22:04 +01:00
Simon Lübeß beb696ee5d Added basic ArrayEditor 2023-12-31 17:10:17 +01:00
Simon Lübeß ed3884e30e ScriptCore: Made creation of class instance safer 2023-12-31 17:05:27 +01:00
Simon Lübeß bd72a67d29 Fixed List add/remove element buttons not working 2023-12-31 17:01:23 +01:00
Simon Lübeß 9e222daeb2 ScriptCore: Fixed deserialization of null values 2023-12-28 23:05:49 +01:00
Simon Lübeß 34ddfc11f7 Update Submodule DirectX 2023-12-28 22:56:29 +01:00
Simon Lübeß 5051829753 Split up, clean up and internalize EntitySerializer 2023-12-28 22:50:24 +01:00
Simon Lübeß 2fc45a50e0 ScriptCore: Fixed component and entity reference serialization 2023-12-28 22:40:59 +01:00
Simon Lübeß 2e82f24fd7 Initialize ScriptGlue whenever ScriptEngine loads assemblies 2023-12-26 02:01:14 +01:00