Simon Lübeß
38fc1f63b3
Small script engine improvements
...
- Fixed script class name not visible in Component Editor
- Retain user assembly file system watcher (fixed deletion while handling events)
- Fixed crash when a scritp constains a List or Array (by ignoring them for now)
- Fixed Typo in Genericinst
- Scene: Invoke OnCreate for copied entity scripts
2023-10-28 21:48:43 +02:00
Simon Lübeß
688046fcf9
Scripting: Create Rigidbodies and Colliders during runtime
2023-09-21 15:10:20 +02:00
Simon Lübeß
446dc2ca2a
Scripting: Basic copying of entities during runtime + Reference Components using UUID
2023-09-21 14:23:00 +02: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ß
cd333f4f02
EditVector: Allow Disabling individual components
...
+ Disable XY-Angle when Entity has Rigidbody2D Component (This is something for future me, I couldn't figure it out...)
+ Start of handling of non trivial tranform nesting and rotations on XY axes
+ TranformComponent.RotationEuler: Normalize quaternion before converison
2023-09-05 23:14:51 +02:00
Simon Lübeß
d7201299c7
Fixed physics only simulation
...
+ Don't run scripts in physics only mode
+ Don't initialize scritps in physics only mode
+ Don't setup physics callbacks in physics only mode
2023-08-14 22:38:55 +02:00
Simon Lübeß
74b17c8599
2D Polygon Collider
2023-08-13 12:03:06 +02:00
Simon Lübeß
4e5d3cfd64
Add OnCollisionLeave2D
2023-08-10 22:07:58 +02:00
Simon Lübeß
b28ca14e15
Updated Box2D
2023-08-10 20:38:49 +02:00
Simon Lübeß
aafcc41286
Invoke on collision enter + start of attach child colliders to rigidbody
...
+ Changed default Namespace of ScriptCore to GlitchyEngine
+ Implicit Casts float2 <-> b2Vec2
+ Entity constructor internal
+ Renamed RigidBody2D to Rigidbody2D (notice the B)
+ Basic Debug Draw actual 2D Colliders
+ Added Entity::GetParentWithComponent
2023-08-10 19:55:45 +02:00
Simon Lübeß
803fd7f8ba
Fixed crash when ScriptComponent has no Instance in Play Mode
2023-07-31 16:36:02 +02:00
Simon Lübeß
37197cbdf1
Allow dragging and dropping of Entities in editor
...
+ New Dictionary Helpers
+ Made ImGui Payloads safer
+ Start of Component drag'n'drop
2023-07-24 23:17:00 +02:00
Simon Lübeß
cd1562f372
Basic Script reloading
...
+ ScriptComponent now saves script name instead of direct ScriptClass reference
+ Added ClearDictionaryAndDeleteKeys helper
+ Moved ScriptFieldType to separate file
+ _ScriptFieldMap now uses String as Key
2023-07-18 22:06:34 +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ß
1641bafd06
Don't instantiate scripts for Editor + ScriptComponent Serialzation + Don't crash when scene loading failed
2023-07-17 01:27:58 +02:00
Simon Lübeß
f4607a6210
Script default values after init, Fix memory leak, Copy Script values on Play
2023-05-31 14:38:07 +02:00
Simon Lübeß
6a59deb9e2
Weiß ich nicht, ist Monate her...
2023-05-30 16:54:57 +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ß
ef5e4ba64f
Fixed ScriptClass leaking
2023-03-30 15:13:21 +02:00
Simon Lübeß
e60d74fccd
Basic entity scripting
2023-03-29 13:33:34 +02:00
Simon Lübeß
d54cdf43ee
Simulation mode and pause/resume
2023-03-24 23:50:46 +01:00
Simon Lübeß
f16fbc3984
Separated window for game and editor
2023-03-24 22:48:55 +01:00
Simon Lübeß
184480243f
Collider rendering
2023-03-24 19:13:32 +01:00
Simon Lübeß
fc1875ed96
Added Line batch rendering
2023-03-24 12:54:46 +01:00
Simon Lübeß
2ba4b68e09
Split up sprite and circle renderer component
2023-03-19 12:19:22 +01:00
Simon Lübeß
edcec02e94
Fixed AssetHandle serialization
...
- Serialize MeshComponents
- Fixed handling renamed files
2023-03-19 01:04:32 +01:00
Simon Lübeß
c164aeecaa
Copy scene when entering play mode
2023-03-18 23:30:57 +01:00
Simon Lübeß
b22f73a156
Handles barely work now, mostly no crashes
2023-03-16 17:57:23 +01:00
Simon Lübeß
c22d122921
Start of asset handles
2023-03-13 20:35:30 +01:00
Simon Lübeß
4589030da6
Load effects via content manager + virtual InitContentManager in App
2023-01-08 00:17:04 +01:00
Simon Lübeß
3da60355df
Model and Material loading via content manager
2023-01-07 12:15:14 +01:00
Simon Lübeß
dffd43a36f
RenderAPI changes and removed Context parameter from Effect and Material
2022-11-27 17:18:16 +01:00
Simon Lübeß
8f22cbb8bc
Fixed circle rendering and added 2D circle collider
2022-11-26 12:17:31 +01:00
Simon Lübeß
0155a38ae6
UUID
2022-11-16 13:09:26 +01:00
Simon Lübeß
a42544f171
2D Physics
2022-10-08 16:56:15 +02:00
Simon Lübeß
202083930a
Play Button
2022-10-06 16:33:33 +02:00
Simon Lübeß
bff4418b84
Content browser
2022-07-25 17:03:28 +02:00
Simon Lübeß
e41645e12a
Composit Target and gamma correct rendering
2022-05-31 22:41:20 +02:00
Simon Lübeß
8db2ce1d05
Mouse picking
2022-05-30 14:06:52 +02:00
Simon Lübeß
d212576719
Render EntityIDs (breaks post processing)
2022-05-28 15:42:48 +02:00
Simon Lübeß
28f1fad464
RenderTargetGroup GetData, Shader uint support
2022-05-25 22:00:11 +02:00
Simon Lübeß
4cd0bff91d
Fixed editorcamera stuttering, Added editor icons
2022-05-18 14:12:26 +02:00
Simon Lübeß
5d8a4ad3a7
Editor camera and Editor/Runtime scene update separation
2022-05-17 19:06:28 +02:00
Simon Lübeß
62bb5baac9
Gizmo improvements
2022-05-15 14:36:07 +02:00
Simon Lübeß
3956080520
Start of serializaation
...
- Allow enumerating over unregistered components
- Refactored Editor a bit
2022-05-14 23:01:08 +02:00
Simon Lübeß
b1a1268319
Terrible postprocessing and start of Editor GUI for lights
2022-05-11 22:49:36 +02:00
Simon Lübeß
56e92a7d67
Added Lights
2022-05-11 11:39:59 +02:00
Simon Lübeß
2817c5b1a1
Start of 3d renderer integration
2022-05-04 18:38:59 +02:00
Simon Lübeß
e685b4fbba
Added DirectXTK to GlitchyEngineHelper
2022-04-13 00:00:41 +02:00
Simon Lübeß
863c264001
UI Tweaks, ChildEnumerator, ComponentAdded-Handlers
2022-04-12 00:48:20 +02:00