Simon Lübeß
08846a0c0b
Added EngineResult glue type, some cleanup
2025-07-26 21:03:10 +02:00
Simon Lübeß
28311165ad
ScriptEngine work and cleanup
2025-07-18 12:40:44 +02:00
Simon Lübeß
271286fb7e
Remove mono from Glue functions
2025-07-17 20:07:19 +02:00
Simon Lübeß
f77b153512
Fixed DLL-Import for ImGui.NET
2025-07-17 15:13:21 +02:00
Simon Lübeß
f7bcff5337
Script glue works!
2025-07-17 15:07:06 +02:00
Simon Lübeß
0a53ff48f9
More generating script glue
2025-07-17 10:16:58 +02:00
Simon Lübeß
edfcfd3b20
Start of using CoreCLR and automatic scriptglue generation
2025-07-14 22:14:41 +02:00
Simon Lübeß
b5088329f5
Texture inheritance for materials, also script access
2025-03-01 00:03:38 +01:00
Simon Lübeß
25e1c53a08
Allow resetting material variable
2025-02-14 15:34:33 +01:00
Simon Lübeß
aaed4199d3
Interact with Materials from scripts
2025-02-14 11:54:07 +01:00
Simon Lübeß
f30bcb2f89
Slightly improved text renderer
2024-04-14 23:56:09 +02:00
Simon Lübeß
949ab4ebb0
ScriptEngine: Serialize static fields
2024-04-13 00:10:35 +02:00
Simon Lübeß
d28426478b
Font renderer improvements + component for scripting
2024-03-17 20:29:52 +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ß
0a822dcd79
ScriptCore: Added Transform.WorldTransform
2024-02-19 21:39:07 +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ß
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ß
d8e4e8d028
ScriptCore: Added Parent property to Transform
2024-01-25 22:29:11 +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ß
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ß
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ß
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ß
2f86f751a4
Serialize Enums (and maybe Entitiy/Component refs)
2023-12-25 21:46:19 +01:00
Simon Lübeß
acefbb58bd
Serialize/Deserialize simple classes
2023-12-25 20:08:48 +01:00
Simon Lübeß
d0f0a34247
Start of Script Instance deserialization
...
- Also deserialize when stopping the game to restore pre play state
- Fixed ancient bug where ClearDictionaryAndDeleteKeys falsly deletes the dictionary
- Added ClearDictionaryAndDeleteValues helper mixin
2023-12-24 01:30:01 +01:00
Simon Lübeß
c9116812b4
Serialize Data
2023-12-23 00:44:04 +01:00
Simon Lübeß
e69e1b5526
Show Buttons in entity editor
...
- ScriptEngine: Added HasCustomAttribute- extension method
- ScriptEngine: Added Application class
2023-12-12 13:38:29 +01:00
Simon Lübeß
bedbc696c3
ScriptCore: Added UUID.CreateNew
2023-12-10 12:50:11 +01:00
Simon Lübeß
2a4eac814b
ScriptGlue: Changed signature of Entity_GetScriptInstance
2023-11-18 01:59:10 +01:00
Simon Lübeß
754c149493
Entity Creation and Destruction from scripts
...
- ScriptEngine: Allow destroying scripts during runtime
- Scripting:
- Create new entities using Constructors
- Added Destroy functions for Entities
- Added SetScript/RemoveScript functions for Entities
- Allow adding multiple components at once
- Added Is-Method
- Mono Wrapper: Added Array-Functions
- WorldEnumerator: Fixed crash due to dangling list pointer after entity creation
- Scene:
- Basic create Rigidbodies during runtime
- Start of entity copying (For runtime use)
- Added DestroyEntityDeferred
- SceneSerializer:
- Added option to assign new IDs to entities
2023-09-15 23:22:27 +02:00
Simon Lübeß
7bffd01401
Rigidbody2D Get/Set Linear and Angular Velocity
2023-09-05 23:15:33 +02:00
Simon Lübeß
2f58f0e142
Renamed RigidBody2D to Rigidbody2D
...
+ Math.normalize(Quaternion)
+ Position and Rotation properties for Rigidbody2D
+ use In, Out on beef side in ScriptGlue
2023-09-03 19:42:50 +02:00
Simon Lübeß
3affb8a32f
Scripting: Added Set and GetPosition to Rigidbody2D
...
+ Vectors: Hide swizzles in Debugger + Generate ToString
2023-08-21 13:20:12 +02:00
Simon Lübeß
3e55a1614a
Shader like vectors for C# Scripting
2023-07-20 17:48:28 +02:00
Simon Lübeß
e8505f6bdb
Scripting: FindEntityWithName and get script instance
...
+ Some C# UUID stuff
+ Added some Mono functions
+ ScriptEngine:
+ ID -> ScriptInstance map in ScriptEngine
+ GetManagedInstance
+ Fixed Scene not visible after loading a new scene
+ Renamed OnViewportResize to SetViewportSize for Scene and SceneRenderer
2023-07-17 20:27:18 +02:00
Simon Lübeß
5855b13873
Wer weiß, was ich alles so gemacht hatte...
...
- Fixed crash caused by early ScriptEngine shutdown
2023-05-30 16:50:22 +02:00
Simon Lübeß
4fd9a924a0
Added basic component access in Scripts
2023-03-29 16:32:46 +02:00
Simon Lübeß
e60d74fccd
Basic entity scripting
2023-03-29 13:33:34 +02:00