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ß
c1a87ed946
Separated Assets to Resources (Engine assets) and Assets (Project specific)
...
+ AssetHierarchy: Exposed RootNode
+ ContentBrowserWindow: Fixed Empty Folder not being Leaf-Node
+ TreeNode: Added IsParentOf, IsChildOf and IsInSubtree.
+ Fixed InternalDeleteTreeAndChildren for null trees
2023-07-30 20:30:06 +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ß
b53ed2d8f2
Made script deserialization more robust
2023-07-24 21:28:58 +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ß
66d66d3308
Serialize script fields in "array" + more forgiving deserialization
2023-07-17 04:04:01 +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ß
77c45db122
Replaced IntX by intX, Basic AssetViewer (can view Textures, kind of)
2023-07-01 00:15:01 +02:00
Simon Lübeß
9e1f648aa0
Transitioned from VectorX to floatX
...
And some trying to update Rigidbody when transform changes
2023-06-25 02:47:33 +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ß
5893cfb74a
Refactor
2023-03-25 13:04:02 +01: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ß
c3fb9bbd5d
More asset handles
2023-03-13 20:35:36 +01:00
Simon Lübeß
c22d122921
Start of asset handles
2023-03-13 20:35:30 +01:00
Simon Lübeß
2ce357cd12
Basic material serialisation
2023-03-05 16:38:50 +01:00
Simon Lübeß
d3d284256c
Fixed WorldEnumerator crashes if one of the components doesn't exist
2023-01-08 20:29:06 +01:00
Simon Lübeß
e38373dccf
Serialize Mesh and MeshRenderer in scene + fixed Light serialization
2023-01-08 19:31:01 +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ß
c389a77274
EditorContentManager Part 1
2023-01-01 16:53:45 +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ß
6958d27c30
Fixed editor camera for real
2022-09-29 16:39:58 +02:00
Simon Lübeß
8495c6db28
Drag Texture
2022-07-26 08:00:17 +02:00
Simon Lübeß
bff4418b84
Content browser
2022-07-25 17:03:28 +02:00
Simon Lübeß
a80018e80c
Removed redundant Point struct and SceneViewport improvements
...
- Keyboard shortcuts for Gizmo control
- Improved mousepick-blocking
2022-06-02 12:17:57 +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