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
Simon Lübeß
a4c311c2e4
Implemented Entity and Component Drop-Targets and added Name property for entities
...
- Also fixed non generic GetComponent
- Use UUID as Drag-Drop value for entities
- Removed unused methods from ComponentEditWindow
- Started a marginally type-safe version of ImGui.Payload
2023-12-26 02:00:44 +01:00
Simon Lübeß
4fa6384544
Fixed ScriptCore post build script to enable hot reloading for ScriptCore
2023-12-26 00:42:09 +01:00
Simon Lübeß
2f86f751a4
Serialize Enums (and maybe Entitiy/Component refs)
2023-12-25 21:46:19 +01:00
Simon Lübeß
215e1f6500
Catch Activator exceptions
2023-12-25 20:25:55 +01:00