Simon Lübeß
2a90374b5b
"Fix" warnings
2026-08-16 20:11:36 +02:00
Simon Lübeß
bca4281d84
Fixed ScriptGlue function discovery and slighty automated extension assignment
2026-04-11 09:38:43 +02:00
Simon Lübeß
c94ffbef64
Made release buildable
2025-08-24 16:54:26 +02:00
Simon Lübeß
d156618453
Fixed calling engine functions from scripts
...
- Removed mono references in generator
- Implemented StringView type in C#
2025-08-08 19:03:09 +02:00
Simon Lübeß
ed644b5b41
Better engine exception for scripting
2025-07-30 18:58:26 +02:00
Simon Lübeß
72e87ee9ad
Extending ScriptGlue now possible
2025-07-27 17:43:00 +02:00
Simon Lübeß
89bb4f4430
Removed C# code generation from beef-side script glue
2025-07-27 16:43:12 +02:00
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ß
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ß
49c3e93e08
Manage all Assets with ContentManager
2025-02-16 01:02:41 +01:00
Simon Lübeß
25e1c53a08
Allow resetting material variable
2025-02-14 15:34:33 +01:00
Simon Lübeß
24295731f3
Start of inheriting Materials, create material instance for getMaterial from scripts
2025-02-14 12:39:35 +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ß
df13aa8596
Refactored Scene serialization
2024-04-12 19:36:01 +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ß
1ca9746921
Fixed crash in Logger
2024-02-19 21:38: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ß
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ß
4538c38fd7
ScriptGlue error handling
2024-01-25 23:35:56 +01:00
Simon Lübeß
d8e4e8d028
ScriptCore: Added Parent property to Transform
2024-01-25 22:29:11 +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ß
c906fc9667
Properly destroy script instances
...
Now without memory leaks!
2024-01-18 21:29:11 +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ß
a302a26f80
Moved SerializationType and Object to separate files
2024-01-06 13:27:24 +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ß
abb119589c
Reload scripts in Play Mode!!!
...
- Dont serialize static fields
- Added some profiling to ScriptEngine
- Removed superseded ScriptFieldMaps
2023-12-24 01:33: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ß
945a0e5603
Fixed Half
2023-12-17 19:23:19 +01:00
Simon Lübeß
6a87d1ac09
ScriptCore: Use engine implementation of half to no longer rely on Half-Package
2023-12-17 18:47:07 +01:00
Simon Lübeß
b884ee8303
Moved Components to their respective namespaces
2023-12-15 14:53:10 +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