Commit Graph
116 Commits
Author SHA1 Message Date
Simon Lübeß c94ffbef64 Made release buildable 2025-08-24 16:54:26 +02:00
Simon Lübeß b94b2afc55 Dev settings for using ScriptCore as either dll or csproj 2025-08-09 23:40:31 +02:00
Simon Lübeß ac0f4dade6 Updated Template for new dotnet runtime
- Added Submodule 'Xml-Beef'
- Use .slnx as solution-file
- Automatically set correct path to ScriptCore in Project files
2025-08-09 01:13:05 +02:00
Simon Lübeß 3f83c200f2 Secured struct layout 2025-08-08 19:09:59 +02:00
Simon Lübeß 74243cd285 Added Entity event OnCollisionEnter2D 2025-08-08 19:09:34 +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ß cc38236184 Try catch in C# Glue Functions called by engine, removed test ThrowException method 2025-08-03 12:00:35 +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ß 566d39d928 Fixed memory leak 2025-07-27 16:43:34 +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ß 10e8b3c282 Simplified serialization/deserialization of EngineObjects + added support for Assets (actually any EngineObject!) 2025-03-01 00:48:31 +01:00
Simon Lübeß b5088329f5 Texture inheritance for materials, also script access 2025-03-01 00:03:38 +01:00
Simon Lübeß 0236130df1 Fixed crashes due to wrong use of append allocations 2025-02-24 23:00:09 +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ß 2f0505241f Append allocation and generics fixes 2025-01-31 13:17:12 +01:00
Simon Lübeß b2806d9460 Reprocess, load and hot swap changed assets using new asset pipeline 2024-06-02 00:39:22 +02:00
Simon Lübeß f30bcb2f89 Slightly improved text renderer 2024-04-14 23:56:09 +02:00
Simon Lübeß a3de5ddc9c Serialization: Support sharing object references 2024-04-13 00:50: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ß d81471419d Refactored script instance serialization and now the refactoring is finally finished... 2024-04-10 14:42:07 +02:00
Simon Lübeß f05cf721e8 Almost done refactoring ScriptEngine 2024-04-10 13:50:12 +02:00
Simon Lübeß 777f52ab49 ScriptEngine refactoring 2024-03-31 12:36:22 +02:00
Simon Lübeß abcacc84a9 Refactored ScriptEngine 2024-03-31 11:55:39 +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ß d4d6cc8e38 Fixed OnCollisionEnter/Leave callbacks 2024-01-26 12:41:37 +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ß 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