Simon Lübeß
aa29207e72
Show ImGui DemoWindow in EditorLayer
2024-02-26 13:40:00 +01:00
Simon Lübeß
1ca9746921
Fixed crash in Logger
2024-02-19 21:38:35 +01:00
Simon Lübeß
b84ce5e482
File filter for open and save scene
2024-02-18 00:51:53 +01:00
Simon Lübeß
1340b06af5
Basic asset thumbnails
2024-02-18 00:48:09 +01:00
Simon Lübeß
3b584f2c78
Editor: Show name of script class in script component header
2024-02-17 23:43:39 +01:00
Simon Lübeß
aba7448fe6
Improved collapsing region for PolygonCollider2D vertices
2024-01-30 23:57:07 +01:00
Simon Lübeß
4830fd289e
ComponentWindow finalized
...
ScriptCore:
- ActivatorExtension: Fixed creation of default value or null class
- ImGuiExtension: added DragUIntX / DoubleX and CheckboxX
2024-01-30 23:40:58 +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ß
3815b70f06
Content Browser: Context menu item to copy path and identifier of assets
2024-01-25 22:28:02 +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ß
02be6d8eb7
Log: Also log filename and line number of caller
2024-01-20 21:23:34 +01:00
Simon Lübeß
55eef017e7
AssetBrowser: Bad way to open scripts in Visual Studio
2024-01-20 21:23:01 +01:00
Simon Lübeß
04a0cecf3c
Fixed script play mode info
2024-01-18 21:41:18 +01:00
Simon Lübeß
ba68eb7428
Editor: Show name of open scene in window title
2024-01-12 15:41:56 +01:00
Simon Lübeß
827f3bb564
EntityHierarchyWindow: Dragging entites no longer selects them
2024-01-12 15:32:21 +01:00
Simon Lübeß
6c910ab03b
Editor: Prevent saving while in not in edit mode
2024-01-12 00:31:10 +01:00
Simon Lübeß
3d0c010139
EntityHierarchyWindow: Fixed right click deselecting entities
2024-01-11 23:36:00 +01:00
Simon Lübeß
91cef7ad4b
Added checkbox to enable and disable polygon collider vertex handles
2024-01-11 22:55:40 +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ß
20814a61b6
Fixed memory leak in AssetFile
2023-12-25 16:30:58 +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ß
a6f68a59d6
Moved basic ScriptEngine classes into separate object
2023-12-22 19:11:40 +01:00
Simon Lübeß
64f7896c15
Updated ImGui to 1.90.1
2023-12-17 02:22:04 +01:00
Simon Lübeß
66281ebddb
Added icon for editor
2023-12-15 14:52:19 +01:00
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ß
aaa48158c3
Removed script editor from beef side
2023-12-02 00:40:17 +01:00
Simon Lübeß
8f93e1e0e5
Ignore ScriptCore build output
2023-12-01 23:22:41 +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ß
05350d4768
Renamed EditfloatX to EditFloatX
2023-11-22 00:54:43 +01:00
Simon Lübeß
f28eabf807
Fixed mono not finding assemblies like linq, etc.
2023-11-18 17:56:09 +01:00
Simon Lübeß
02a2ccb6f9
Copy ScriptCore dependencies to output, EntityEditor: Start of lists
2023-11-16 18:32:13 +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ß
6f1467046d
Tried EntityEditor in C#
2023-11-10 12:41:58 +01:00
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ß
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ß
bad7b08046
EditorContentManager: Fixed asset reloading
...
(thats why unit tests exist... or at least types...)
2023-09-29 18:56:37 +02:00
Simon Lübeß
d32bc6c475
Properties Window: Combined "Save"- and "Apply"-Buttons into one "Save"-Button
2023-09-29 18:51:21 +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ß
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ß
d3c19dd8da
2D Polygon Collider editor with Gizmos
...
+ Added Handles class
2023-08-21 13:18:51 +02:00