Simon Lübeß
d357f44a39
Jump to correct line when opening script file from log
2024-03-22 10:05:00 +01:00
Simon Lübeß
d28426478b
Font renderer improvements + component for scripting
2024-03-17 20:29:52 +01:00
Simon Lübeß
84204aed46
No longer crash when selected entity disappears
2024-03-17 20:10:48 +01:00
Simon Lübeß
2dd826fc36
Made entity hierarchy more compact
2024-03-17 18:08:39 +01:00
Simon Lübeß
96609a6c31
FontRenderer: Basic Rich Text processing and lazy text building
2024-03-16 23:35:12 +01:00
Simon Lübeß
e703452b94
Start of text renderer component
...
- UC, LC, IC, RC tags
2024-03-14 22:17:57 +01:00
Simon Lübeß
a87820c7da
Use text height for entity visibility toggle
2024-03-10 15:21:25 +01:00
Simon Lübeß
27c433aba2
Moved play buttons into main menu
2024-03-10 15:16:55 +01:00
Simon Lübeß
72bd152999
Refactor
2024-03-10 13:01:05 +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ß
5ca5404f72
Moved template copying from EditorLayer to Project
2024-03-09 20:53:27 +01:00
Simon Lübeß
9ea27a64e8
Modified template and improved template creation
2024-03-09 20:35:21 +01:00
Simon Lübeß
4e9a6b54f3
Friendship ended with VISUAL STUDIO, Now RIDER is my best friend
2024-03-09 20:33:26 +01:00
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ß
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ß
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ß
d718c6625d
Allow separators in "Create new Asset" dropdown (also changed text to just "Create new")
2023-11-15 16:23:22 +01:00