Simon Lübeß
ed756f5847
Fixed scripts OnUpdate not being called in play mode
2023-12-13 14:01:23 +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ß
1238a43896
Start and Stop script runtime for editor scene
2023-12-03 14:06:40 +01:00
Simon Lübeß
b68bad5bda
Keep Entities selected when switching between Play- and Edit-Mode
...
- Fixed the check whether all selected entities have the same parent
2023-11-29 14:16:36 +01:00
Simon Lübeß
d718c6625d
Allow separators in "Create new Asset" dropdown (also changed text to just "Create new")
2023-11-15 16:23:22 +01:00
Simon Lübeß
909012f518
Moved Script Solution (.sln) to project root
...
- Updated vswhere.exe
- Scripts created via Asset browser are now being added to the project
- Fixed Apply not being called for extended Settings
- Correctly wrap New File preview only when line full
- Create Project: Show warning, when target directory already exists
2023-10-27 22:29:10 +02:00
Simon Lübeß
3d8756ec42
Added context menu entry to create C#-Scripts.
...
Allow entering file name before creation
2023-10-19 19:27:01 +02:00
Simon Lübeß
0165279220
Implemented "Open recent Project" menu entry
...
+ Clean up handle -> asset map when chaning Asset or Resource directory
2023-08-21 14:11: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ß
a112fcc64a
Automatic switch between Player <-> Editor Tabs
...
+ Allow Editor to inject into Settings
2023-08-14 22:10:27 +02:00
Simon Lübeß
74b17c8599
2D Polygon Collider
2023-08-13 12:03:06 +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ß
51441f0e70
Fixed memory leak
2023-08-01 23:20:25 +02:00
Simon Lübeß
60725c3588
Universal AssetHandles. Serialize AssetHandle instead of AssetIdentifier
...
A bit unstable
2023-08-01 21:38:54 +02:00
Simon Lübeß
6d7f26b1f4
Added "Create new Folder" to Asset Browser context menu
2023-08-01 16:45:54 +02:00
Simon Lübeß
253dd8087e
Added option to create Materials in Asset Browser
2023-08-01 16:24:31 +02:00
Simon Lübeß
5d8c1b111a
Project user settings, load recent scenes, properly cleanup ScriptEngine when switching scenes
2023-07-31 20:09:56 +02:00
Simon Lübeß
adccb74f44
Editor Layer cleanup
2023-07-31 18:48:36 +02:00
Simon Lübeß
97113b5df6
Start of Create Asset Context Menu
...
+ Asset Hierarchy: Fixed Assets in Folder-Root not being shown
2023-07-31 17:40:05 +02:00
Simon Lübeß
c374d86ec7
Cleanup
2023-07-31 16:40:27 +02:00
Simon Lübeß
0d015b485e
Basic project creation
...
+ Added TreeNode.RemoveChild
+ Added Directory.Copy
+ Path.Combine now replaces alt directory separator
+ Project: Renamed ProjectName to Name
+ Project.Load: Save settings, if file doesn't exist
2023-07-31 16:35:12 +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ß
df67f32399
Start of project system
...
+ added Directory.IsEmpty
2023-07-30 13:23:34 +02:00
Simon Lübeß
75513bea3d
Removed obsolete texture viewer
2023-07-28 21:09:33 +02:00
Simon Lübeß
16c3d7c44d
Updated ImGui
2023-07-28 13:38:59 +02:00
Simon Lübeß
1254d01545
Handle exceptions from C# Scripts + Log window + EditorLogger
...
+ Renamed Platform/DX11/ImGui.bf to .../Dx11ImGui.bf for clarity
+ ImGuiExtension: ImageButtonEx thata takes a TextureViewBinding
+ EditorLogger that logs to the LogWindow
+ Current logger can now be changed
+ Info, Trace, Warning and Error Icons
2023-07-27 21:58:42 +02:00
Simon Lübeß
cc7fb7311f
Added single step for simulation and play mode
...
+ Added ManualStepTime to GameTime
2023-07-20 23:21:21 +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ß
88b393157a
Make sure we always initialize with a scene
2023-07-17 04:00:30 +02:00
Simon Lübeß
28155ec92c
Allow opening a scene on launch
...
+ don't resize on load/new scene
2023-07-17 02:19:49 +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ß
b31d43820a
Support emissive materials
2023-06-28 19:33:39 +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ß
54936d5744
Fixed crash when viewport size is negative
2023-06-24 13:07:07 +02:00
Simon Lübeß
3becc1e25b
fixed Settings-File not being created and start of Recent-Projects-Menu
2023-06-18 16:05:03 +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ß
c164aeecaa
Copy scene when entering play mode
2023-03-18 23:30:57 +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ß
ee30920b56
Crappy hot reloading of textures and Properties editor for textures
2023-01-03 22:21:26 +01:00
Simon Lübeß
c389a77274
EditorContentManager Part 1
2023-01-01 16:53:45 +01:00
Simon Lübeß
d47ac23e1b
Raw Input and some ImGuiExtension changes
2022-11-26 15:24:33 +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