Simon Lübeß
8c53dcb9ca
Updated submodule imgui
2026-08-16 22:34:30 +02:00
Simon Lübeß
5577aa6e11
Update Freetype-Submodule
2026-08-16 22:28:56 +02:00
Simon Lübeß
6a60fae5d5
Added missing override
2026-08-16 22:26:42 +02:00
Simon Lübeß
7b82e738eb
Removed extension methods as they are part of corelib now
2026-08-16 22:25:37 +02:00
Simon Lübeß
c81e695981
Fix compile errors due to Beef.Linq update
2026-08-16 22:21:53 +02:00
Simon Lübeß
2a90374b5b
"Fix" warnings
2026-08-16 20:11:36 +02:00
Simon Lübeß
39d78ab4c1
Removed deprecated Application.Get()
2026-08-16 19:51:56 +02:00
Simon Lübeß
836c926a22
Updated Beef.Linq
2026-08-16 19:51:02 +02:00
Simon Lübeß
e451864908
Stop warning when calling SetDebugName again
2026-08-16 19:21:25 +02:00
Simon Lübeß
229629a587
Fixed crash when resizing window
2026-08-16 16:43:15 +02:00
Simon Lübeß
fd2b990a8f
Reuse running Visual Studio instances
2026-08-16 14:30:24 +02:00
Simon Lübeß
29b6f37c2a
Fixed memory leak
2026-08-15 13:52:45 +02:00
Simon Lübeß
188dc4b3b6
Better names for found Rider installs + context menu for copy/open path
2026-08-15 13:52:33 +02:00
Simon Lübeß
62ad8bee35
Auto detect all Visual Studio and Rider installs
2026-08-14 23:34:04 +02:00
Simon Lübeß
f8e533f28d
Almost entirely moved ImGui dependency (and settings) from Engine to Editor
2026-08-09 16:49:54 +02:00
Simon Lübeß
faa3040471
Find Rider installations
2026-08-09 16:14:40 +02:00
Simon Lübeß
05187e6b9f
Locate Visual Studio using vswhere
2026-08-02 17:33:14 +02:00
Simon Lübeß
eaffc1a135
Fixed string deserialization in release builds
2026-08-02 16:28:59 +02:00
Simon Lübeß
ec9fccee12
Don't touch LastOpenedScenes when we didn't save
2026-08-02 15:59:38 +02:00
Simon Lübeß
164384e55e
Made not having a project loaded less crashy
2026-08-02 15:58:02 +02:00
Simon Lübeß
9b14cdddb9
At least don't crash when no project is opened
2026-08-02 12:34:26 +02:00
Simon Lübeß
85b3fd5bc9
Fix release configurations
2026-08-02 12:33:54 +02:00
Simon Lübeß
c56db0f069
Added winget install instructions to readme
2026-08-02 12:04:41 +02:00
Simon Lübeß
8ccbc565ad
Removed unnecessary reflection option
2026-08-02 12:03:59 +02:00
Simon Lübeß
a14d86012a
Finally debugged and fixed cleanup error in Font
2026-08-02 12:00:40 +02:00
Simon Lübeß
8b64afee0c
Cleanup and refactor Font and FontRenderer
2026-08-02 12:00:08 +02:00
Simon Lübeß
344aabae2b
Who thought Point was a good size unit for 3D text?
2026-08-02 11:59:19 +02:00
Simon Lübeß
dec0a004a5
Preprocess and delete glyph shape
2026-08-02 11:58:39 +02:00
Simon Lübeß
4e314d1de2
Commit asset configs for resources without importer
2026-08-02 11:46:17 +02:00
Simon Lübeß
4157477882
Correctly handle errors of File.GetLastWriteTimeUtc
2026-08-01 23:06:29 +02:00
Simon Lübeß
c65fa58940
Save asset configs for file types without importer
2026-08-01 23:06:02 +02:00
Simon Lübeß
b5071e3499
Updated freetype, harfbuzz and msdfgen
2026-08-01 23:04:44 +02:00
Simon Lübeß
2f5baa5f5e
Font rendering rework
...
Handle fonts unscaled
2026-08-01 22:55:35 +02:00
Simon Lübeß
ab39386b27
Show texture dimensions in AsserViewer
...
- fixed color picker for background
2026-07-22 21:25:16 +02:00
Simon Lübeß
3095c8f0bb
Provide build config when building Helper
2026-07-19 16:54:30 +02:00
Simon Lübeß
e4e86bd21d
Fixed initialization of EditorCamera
...
`this = default` overwrote `_cameraRotationSpeed` with 0 thus breaking user input
2026-07-19 14:27:18 +02:00
Simon Lübeß
8382060f8a
Comment out wait for debugger
2026-07-19 14:22:31 +02:00
Simon Lübeß
e076eabfa1
Added ToString to Quaternion
2026-07-19 14:22:02 +02:00
Simon Lübeß
c8fdba6121
Fixed beef workspace build
2026-04-13 21:03:28 +02:00
Simon Lübeß
6935e9daf9
Setup WatchedSources for BuildTool Module "GlitchyEngineHelper"
2026-04-13 20:53:31 +02:00
Simon Lübeß
1e1ec7aaa9
Some changes
...
- Changed ModuleInfo to class, save Length for Timestamp-Hashes
- Obey recursive-flag for WatchedSources
- Verbosely skip up-to-date modules
2026-04-13 20:48:21 +02:00
Simon Lübeß
6bec99ab06
Adhere to ExcludedSubpaths while scanning directory for change
2026-04-13 20:05:41 +02:00
Simon Lübeß
aad44dd835
Simple unnecessary build prevention
2026-04-13 19:58:55 +02:00
Simon Lübeß
28ad9298af
Removed DirectXTK dependency
2026-04-12 22:10:39 +02:00
Simon Lübeß
86977213ff
Updated msdfgen
2026-04-12 14:28:26 +02:00
Simon Lübeß
4c20cca585
Build msdfgen with BuildTool
2026-04-12 14:02:54 +02:00
Simon Lübeß
4c855819c9
Added FreeType to BuildTool
2026-04-12 12:05:55 +02:00
Simon Lübeß
aabcd5f9b2
Build Box2D with BuildTool
2026-04-11 17:28:04 +02:00
Simon Lübeß
3fd5452146
Fixed debug builds for ScriptCore and GEHelper
2026-04-11 09:39:13 +02:00
Simon Lübeß
10e2294f9c
BuildTool: Stop after when Module failed
2026-04-11 09:39:13 +02:00
Simon Lübeß
bca4281d84
Fixed ScriptGlue function discovery and slighty automated extension assignment
2026-04-11 09:38:43 +02:00
Simon Lübeß
28a9242023
Fixed compiler bugs
...
Stuff happens when you don't work on a project for half a year!
2026-04-11 09:35:45 +02:00
Simon Lübeß
1b8cc93834
Added All-Target to BuildTool
2026-04-10 22:02:13 +02:00
Simon Lübeß
1eeab94575
Start of buildtool
2025-10-23 11:09:48 +02:00
Simon Lübeß
419ed7c9d2
Fixed uninitialized struct
2025-10-22 20:00:04 +02:00
Simon Lübeß
986ffeade0
Moved submodule NetHostBeef
2025-08-24 16:59:50 +02:00
Simon Lübeß
c94ffbef64
Made release buildable
2025-08-24 16:54:26 +02:00
Simon Lübeß
7df651103b
Custom columns for benchmarking
2025-08-17 03:01:41 +02:00
Simon Lübeß
8f51d1c626
Basic benchmarking
2025-08-17 00:26:16 +02:00
Simon Lübeß
fca126c960
Start of test and benchmark
2025-08-11 22:09:54 +02:00
Simon Lübeß
4992511112
No longer add scripts to csproj
2025-08-11 22:09:00 +02:00
Simon Lübeß
b94b2afc55
Dev settings for using ScriptCore as either dll or csproj
2025-08-09 23:40:31 +02:00
Simon Lübeß
d002dfe25e
Automatically set ScriptCore.dll reference in Visual Studio Solution/Project
2025-08-09 19:18:49 +02:00
Simon Lübeß
b4f41fc218
Ignore generated files
2025-08-09 10:59:09 +02:00
Simon Lübeß
ac0f4dade6
Updated Template for new dotnet runtime
...
- Added Submodule 'Xml-Beef'
- Use .slnx as solution-file
- Automatically set correct path to ScriptCore in Project files
2025-08-09 01:13:05 +02:00
Simon Lübeß
52cbf9dcf4
Disable circle rendering
2025-08-08 19:12:42 +02:00
Simon Lübeß
e57c1c876f
Removed unnecessary null terminator
2025-08-08 19:10:40 +02:00
Simon Lübeß
3f83c200f2
Secured struct layout
2025-08-08 19:09:59 +02:00
Simon Lübeß
74243cd285
Added Entity event OnCollisionEnter2D
2025-08-08 19:09:34 +02:00
Simon Lübeß
bf03e99e4a
Improved style checker
2025-08-08 19:03:31 +02:00
Simon Lübeß
d156618453
Fixed calling engine functions from scripts
...
- Removed mono references in generator
- Implemented StringView type in C#
2025-08-08 19:03:09 +02:00
Simon Lübeß
042ae83a0f
Setup ScriptCore to also function as analyzer
2025-08-03 12:01:22 +02:00
Simon Lübeß
cc38236184
Try catch in C# Glue Functions called by engine, removed test ThrowException method
2025-08-03 12:00:35 +02:00
Simon Lübeß
184b92e95c
StyleChecker works, tests dont
2025-08-03 11:58:27 +02:00
Simon Lübeß
41dacf72b6
Implement test code analyzer
2025-08-01 21:43:22 +02:00
Simon Lübeß
c01ccf571e
Profiling for starting play mode, fixed unnecessary font loading
2025-07-30 19:00:22 +02:00
Simon Lübeß
ed644b5b41
Better engine exception for scripting
2025-07-30 18:58:26 +02:00
Simon Lübeß
72e87ee9ad
Extending ScriptGlue now possible
2025-07-27 17:43:00 +02:00
Simon Lübeß
566d39d928
Fixed memory leak
2025-07-27 16:43:34 +02:00
Simon Lübeß
89bb4f4430
Removed C# code generation from beef-side script glue
2025-07-27 16:43:12 +02:00
Simon Lübeß
08846a0c0b
Added EngineResult glue type, some cleanup
2025-07-26 21:03:10 +02:00
Simon Lübeß
c41425ad36
Include Beef-files in ScriptCore project
2025-07-18 12:41:33 +02:00
Simon Lübeß
28311165ad
ScriptEngine work and cleanup
2025-07-18 12:40:44 +02:00
Simon Lübeß
271286fb7e
Remove mono from Glue functions
2025-07-17 20:07:19 +02:00
Simon Lübeß
f77b153512
Fixed DLL-Import for ImGui.NET
2025-07-17 15:13:21 +02:00
Simon Lübeß
f7bcff5337
Script glue works!
2025-07-17 15:07:06 +02:00
Simon Lübeß
0a53ff48f9
More generating script glue
2025-07-17 10:16:58 +02:00
Simon Lübeß
edfcfd3b20
Start of using CoreCLR and automatic scriptglue generation
2025-07-14 22:14:41 +02:00
Simon Lübeß
063cbfa415
Fixed assets leaking memory
2025-07-11 12:54:04 +02:00
Simon Lübeß
311deb5bc0
Fixed Assets being registered for two IDs, getting Asset for Id 0 now returns null.
2025-07-11 12:28:09 +02:00
Simon Lübeß
c2d330fc8f
Handle loading error and placeholder shaders
2025-07-10 14:59:37 +02:00
Simon Lübeß
1b63c922da
Asset browser: Copy, cut, paste
2025-07-10 13:31:27 +02:00
Simon Lübeß
39a825634a
Path.FindFreePath: Fixed bug when filename is stringview into target string
2025-07-10 13:29:32 +02:00
Simon Lübeß
ecfe838ad4
Added basic central popup service and way to highlight settings.
2025-07-08 19:35:40 +02:00
Simon Lübeß
081f7b4a7e
Asset Browser: Defer navigation to next frame, show history when right clicking forward/backward button
2025-07-06 19:36:58 +02:00
Simon Lübeß
5f5192b0f4
Fast navigation in "address bar"
2025-07-06 18:52:59 +02:00
Simon Lübeß
3e9c9e8202
Asset Browser: Selection rectangle works with scrolling
2025-07-06 15:15:21 +02:00
Simon Lübeß
1e614eb944
Asset Browser: Handle navigation hotkeys only when directory is hovered
2025-07-06 14:14:39 +02:00
Simon Lübeß
1c97a5e9c4
Asset Browser: No longer show parent directory entry, navigate forward/backword with XButtons
2025-07-06 12:55:09 +02:00
Simon Lübeß
4b91116b51
Asset Browser: Navigation abstraction, show current path
2025-07-06 12:47:17 +02:00
Simon Lübeß
941cc8b767
ImGui: Added typed and scoped style vars
2025-07-06 12:44:59 +02:00
Simon Lübeß
88f6acb336
Selection Rectangle improvements
2025-07-05 22:36:35 +02:00
Simon Lübeß
736c8ce205
Improved entry placement, word wrapping for file names
2025-07-04 10:45:42 +02:00
Simon Lübeß
5cffe34620
Fixed clear selection when navigating or clicking background
2025-07-04 10:44:51 +02:00
Simon Lübeß
f3b4fbd628
Spread empty space between directory entries, better parent directory handling, fixed id collision
2025-07-04 01:03:51 +02:00
Simon Lübeß
e3c7057dce
Basic rectangle selection in content browser
2025-07-04 00:13:33 +02:00
Simon Lübeß
b00119b41e
Generate ToString for vectors, generate Boolean-Opeartors for boolVectors
2025-07-04 00:13:02 +02:00
Simon Lübeß
9dc6b585bd
Use StringView for Path operations
2025-07-04 00:12:19 +02:00
Simon Lübeß
1b46ff779a
Remove sleep from delete task
2025-07-03 11:02:30 +02:00
Simon Lübeß
c931451f10
Delete hotkey, delte files in background, Alt Up to go back a folder, basic multi select files
2025-06-30 23:14:03 +02:00
Simon Lübeß
300a2f1a8a
Refactored (unified) rendering of directory items
2025-06-29 22:22:44 +02:00
Simon Lübeß
e9644018ff
Show directores before files in asset browser
2025-06-29 22:09:34 +02:00
Simon Lübeß
173942114f
The functional remains of drop source
2025-06-29 21:40:55 +02:00
Simon Lübeß
39c9109919
Implemented base class for Com Interface implementations
2025-06-26 23:39:05 +02:00
Simon Lübeß
2cc8889ac1
Refactored DragDrop
2025-06-26 22:35:38 +02:00
Simon Lübeß
5fb8401a1a
Renamed property
2025-06-26 19:29:19 +02:00
Simon Lübeß
6ed5f6d943
Added copy filename option to content browser context menu
2025-06-26 18:00:08 +02:00
Simon Lübeß
95ccb597d6
Fixed copying with multiple conflict handling flags,
...
made canceling and pausing of tasks more robust
2025-06-26 17:51:32 +02:00
Simon Lübeß
05671649b4
Added String.SetF
2025-06-26 17:50:04 +02:00
Simon Lübeß
50bcfa2caf
Correctly copy directory hierarchy
2025-06-26 12:55:55 +02:00
Simon Lübeß
108e24eb38
advanced async copy of files
2025-06-26 10:16:39 +02:00
Simon Lübeß
bfd1754d14
Fixed memory leak
2025-06-22 20:15:04 +02:00
Simon Lübeß
6af2e49387
Basic copy for drag'n'drop
2025-06-20 21:51:46 +02:00
Simon Lübeß
68745f0515
Retrieve filenames from drop event
2025-06-17 18:08:19 +02:00
Simon Lübeß
60482059a4
Test handle Windows Explorer drag'n'drop in ImGui
2025-06-17 16:46:05 +02:00
Simon Lübeß
9b6bb2b8d8
Made Vectors CRepr
2025-06-17 14:43:26 +02:00
Simon Lübeß
07faafd28d
Basic drag & drop
2025-06-17 14:43:06 +02:00
Simon Lübeß
2c0b000afc
Improved Texel Grid for Texture Viewer
2025-04-18 14:46:34 +02:00
Simon Lübeß
9d0fb99e3d
Fixed mouse picking after gizmo usage
...
(and discovered more gizmo bugs...)
2025-03-29 15:13:08 +01:00
Simon Lübeß
400045b005
Allow custom resolutions for game window
2025-03-29 15:03:25 +01:00
Simon Lübeß
571bf98be2
Fixed data cycle
2025-03-23 17:46:55 +01:00
Simon Lübeß
c34f585bbf
Fixed temporary fix
2025-03-22 23:41:28 +01:00
Simon Lübeß
5e50d75eb9
Handle EngineBuffers, Preview Names and variable editor types for materials
2025-03-22 23:40:43 +01:00
Simon Lübeß
77a7a04637
Fixed missing semicolons
2025-03-19 21:15:37 +01:00
Simon Lübeß
6d50208700
Start of material editor
2025-03-03 20:29:35 +01:00
Simon Lübeß
10e8b3c282
Simplified serialization/deserialization of EngineObjects + added support for Assets (actually any EngineObject!)
2025-03-01 00:48:31 +01:00
Simon Lübeß
b5088329f5
Texture inheritance for materials, also script access
2025-03-01 00:03:38 +01:00
Simon Lübeß
824c19c0b2
Show texel border and more swizzle options
2025-02-24 23:00:46 +01:00
Simon Lübeß
0236130df1
Fixed crashes due to wrong use of append allocations
2025-02-24 23:00:09 +01:00
Simon Lübeß
28121d1b42
Added component-wise min and max (cmin and cmax)
2025-02-16 01:04:21 +01:00
Simon Lübeß
bb52f4c068
Fixes and improvements for Texture Vierwer
...
- Fixed bug where non-square Textures are render wrong
- Use center of preview area as 0,0
- Reset and Fit to View buttons
2025-02-16 01:04:04 +01:00
Simon Lübeß
49c3e93e08
Manage all Assets with ContentManager
2025-02-16 01:02:41 +01:00
Simon Lübeß
25e1c53a08
Allow resetting material variable
2025-02-14 15:34:33 +01:00
Simon Lübeß
24295731f3
Start of inheriting Materials, create material instance for getMaterial from scripts
2025-02-14 12:39:35 +01:00
Simon Lübeß
aaed4199d3
Interact with Materials from scripts
2025-02-14 11:54:07 +01:00
Simon Lübeß
e5437c6ff6
Some fixes, improvements for asset drop target
2025-02-14 11:38:39 +01:00
Simon Lübeß
688ebad278
Fixed 2d camera projection for texture viewer
2025-02-11 23:10:05 +01:00
Simon Lübeß
83b12efcff
Fixed out of bounds access
2025-02-11 23:09:44 +01:00
Simon Lübeß
7a306cac69
Separate handling for hlsl and fx files
2025-02-11 23:07:04 +01:00
Simon Lübeß
06b981e88a
Support materials in 2D Quad Renderer!
...
- Lost Circle rendering along the way
- Cleaned up 2D shaders
2025-02-11 14:02:16 +01:00
Simon Lübeß
76087d6ba4
Materials kind of working and used in some places
...
- Also Texture viewer fixes
2025-02-09 01:39:35 +01:00
Simon Lübeß
acfb052137
New material loading pipeline almost working
2025-01-31 13:18:49 +01:00
Simon Lübeß
2f0505241f
Append allocation and generics fixes
2025-01-31 13:17:12 +01:00
Simon Lübeß
577cca5886
Start of new materials, disable async asset loading
2024-11-30 16:21:00 +01:00
Simon Lübeß
cf1f2a9a7b
Emit parameterless constructor for vectors
2024-11-30 16:20:29 +01:00
Simon Lübeß
bcf75bf8cb
Engine barely starts again
2024-11-21 18:16:41 +01:00
Simon Lübeß
ad73abd4ea
Fixed memory leak when deleting Effect
2024-08-24 20:09:22 +02:00
Simon Lübeß
b98de9835d
Only hold on to vertex input layout shader code
2024-08-23 23:29:43 +02:00
Simon Lübeß
d788853dd3
Cleaned up Shader usings
2024-08-23 23:01:31 +02:00
Simon Lübeß
d8b3b137dd
Pass VertexShader to VertexLayout, don't reassign layout
2024-08-23 23:00:10 +02:00
Simon Lübeß
ff1c6db222
Removed old shader loading stuff
2024-08-22 23:42:16 +02:00
Simon Lübeß
73a6cc0854
Use blocking load method for shaders
2024-08-22 23:25:17 +02:00
Simon Lübeß
66e62f42ec
First working effects with new pipeline
2024-08-22 00:34:20 +02:00
Simon Lübeß
7b7a3dc645
Started rewriting shader compilation/processing
2024-08-18 23:30:47 +02:00
Simon Lübeß
f3e68bd8d8
Remove obsolete EffectLibrary
2024-08-18 22:54:46 +02:00
Simon Lübeß
c908f5a0e7
A little bit better number formatting
2024-06-27 20:50:26 +02:00
Simon Lübeß
b96f195afb
Clear log on play option
2024-06-23 18:58:40 +02:00
Simon Lübeß
bbbbe833df
Changed number format in component editor
2024-06-23 18:42:31 +02:00
Simon Lübeß
c6eb705977
Drag component window
2024-06-23 18:31:53 +02:00
Simon Lübeß
454ec59951
Use icon buttons for save component and context menu, right click context menu
2024-06-23 17:15:21 +02:00
Simon Lübeß
1b130a4bce
Basic save component button
2024-06-23 00:27:20 +02:00
Simon Lübeß
cd434d64f9
Better asset processor selection, process subassets
2024-06-13 15:44:27 +02:00
Simon Lübeß
36e98311c6
TextureAsset properties, start of better asset pipeline detection
2024-06-12 16:51:52 +02:00
Simon Lübeß
b3dac4a338
Show name of selected object in property window title
2024-06-09 17:12:56 +02:00
Simon Lübeß
c8be6eca5c
Show error in Properties window, deselect invalid objects in Inspector window
2024-06-09 17:12:42 +02:00
Simon Lübeß
2d5e6a9278
Properties window
2024-06-09 01:44:58 +02:00
Simon Lübeß
f61d1bc644
Inspector window to combine asset properties and components editor
2024-06-09 01:16:21 +02:00
Simon Lübeß
ace51b396d
Fixed crash when assets gets queued for reloading twice
2024-06-09 00:29:15 +02:00
Simon Lübeß
86afa234e7
Texture processor cleanup, new asset properties config UI
2024-06-08 17:03:21 +02:00
Simon Lübeß
8972e607fd
Asset Placeholders
2024-06-05 13:54:46 +02:00
Simon Lübeß
ff0ac74d12
Moved texture loader from editor to engine
2024-06-03 00:59:01 +02:00
Simon Lübeß
1b38a41dfc
Fix dds and texture cube import
2024-06-03 00:46:55 +02:00
Simon Lübeß
108b31399a
Use asset pipeline for blocking asset loading, remove old texture loader
2024-06-03 00:46:23 +02:00
Simon Lübeß
b2806d9460
Reprocess, load and hot swap changed assets using new asset pipeline
2024-06-02 00:39:22 +02:00
Simon Lübeß
9e7e7f0d76
Asset (de)compression
2024-05-20 16:10:55 +02:00
Simon Lübeß
ffe8954b8d
Load pngs from cache
2024-05-20 13:35:37 +02:00
Simon Lübeß
f0fc67db35
Removed compiler warnings for Runtime.NotImplemented
2024-05-20 13:35:00 +02:00
Simon Lübeß
e5139ee3e8
Fixed DepthStencilTarget
2024-05-20 13:34:41 +02:00
Simon Lübeß
1a43ff2971
Convert texture asset and save to cache
2024-05-20 01:08:18 +02:00
Simon Lübeß
2725801db8
Start of asset management 2.0
2024-05-19 01:35:52 +02:00
Simon Lübeß
989ad4a5bd
Use dedicated AssetIdentifier instead of string
2024-05-19 01:06:02 +02:00
Simon Lübeß
1fc3b70a50
Fixed memory leak in TextRendererComponent
2024-05-12 19:32:31 +02:00
Simon Lübeß
8c4880f92f
Fixed AddComponent for components with Copy function
2024-05-12 19:32:06 +02:00
Simon Lübeß
045281e881
Updated submodule
...
box2D, freetype and imgui
2024-04-20 22:30:17 +02:00
Simon Lübeß
bb7bc41e62
Kind of prevent creating invalid colliders sometimes
2024-04-15 12:35:56 +02:00
Simon Lübeß
d1fc33cb6d
ScriptCore: Marked EditorFlags as falgs
2024-04-15 00:02:08 +02:00
Simon Lübeß
b65bdb84ae
ScriptCore: Added Math.remap
2024-04-14 23:57:12 +02:00
Simon Lübeß
f30bcb2f89
Slightly improved text renderer
2024-04-14 23:56:09 +02:00
Simon Lübeß
4d0617aff7
Fixed text box losing the last letter
2024-04-13 23:45:04 +02:00
Simon Lübeß
a3de5ddc9c
Serialization: Support sharing object references
2024-04-13 00:50:09 +02:00
Simon Lübeß
949ab4ebb0
ScriptEngine: Serialize static fields
2024-04-13 00:10:35 +02:00
Simon Lübeß
df13aa8596
Refactored Scene serialization
2024-04-12 19:36:01 +02:00
Simon Lübeß
d81471419d
Refactored script instance serialization and now the refactoring is finally finished...
2024-04-10 14:42:07 +02:00
Simon Lübeß
95262d67d7
Fixed anoying access violation in font desctructor by leaking memory 🤷
2024-04-10 13:51:15 +02:00
Simon Lübeß
9640b153f6
Fixed compile error in some method I'm not sure why, but it wasn't used 🤷
2024-04-10 13:50:40 +02:00
Simon Lübeß
f05cf721e8
Almost done refactoring ScriptEngine
2024-04-10 13:50:12 +02:00
Simon Lübeß
777f52ab49
ScriptEngine refactoring
2024-03-31 12:36:22 +02:00
Simon Lübeß
abcacc84a9
Refactored ScriptEngine
2024-03-31 11:55:39 +02:00
Simon Lübeß
1279dc0a66
Implemented Copy for physics components
2024-03-28 22:40:53 +01:00
Simon Lübeß
9cee44f4d2
ScriptCore: Fixed error when deserializing list of strings
2024-03-22 10:15:24 +01:00
Simon Lübeß
c6c47d0c0e
ScriptCore: Implemented Pick-Method and ThreadSafeRandom
2024-03-22 10:14:38 +01:00
Simon Lübeß
f8b6c50cda
ScriptCore: Type.GetSimpleName and GetPrettyName
2024-03-22 10:13:16 +01:00
Simon Lübeß
94fc620662
EntityEditor: Refactored type dropdown
2024-03-22 10:12:55 +01:00
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ß
da59fd87f2
Removed sandbox project from workspace
2024-03-17 20:30:51 +01:00
Simon Lübeß
d28426478b
Font renderer improvements + component for scripting
2024-03-17 20:29:52 +01:00
Simon Lübeß
930d289565
Improved copying of components
2024-03-17 20:28:41 +01:00
Simon Lübeß
a2c7bf7d06
Ensure generating unique Entity IDs
2024-03-17 20:25:38 +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ß
f9ea705e77
Enum extension for SetFlag and ClearFlag
2024-03-16 23:34:10 +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ß
fc475eb468
Save and copy editor flags with scene. Replaced EditorComponent with DontSafe-flag
2024-03-10 13:11:53 +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ß
09624e4e59
ScriptCore: Added NumberFormatAttribute
2024-03-09 01:00:59 +01:00
Simon Lübeß
5dbe1d7e50
ScriptCore: Color structs
2024-03-02 14:19:24 +01:00
Simon Lübeß
ba246dd638
ScriptCore: Fixed some nullable warnings
2024-03-02 14:19:02 +01:00
Simon Lübeß
caaa7646ef
ScriptCore: matrix generator
2024-03-02 13:54:34 +01:00
Simon Lübeß
0a8d83ffb6
Changed Transform Update order
2024-02-26 13:47:29 +01:00
Simon Lübeß
19ee9bee89
Tooltips for Script Editor
2024-02-26 13:46:32 +01:00
Simon Lübeß
aa29207e72
Show ImGui DemoWindow in EditorLayer
2024-02-26 13:40:00 +01:00
Simon Lübeß
0a822dcd79
ScriptCore: Added Transform.WorldTransform
2024-02-19 21:39:07 +01:00
Simon Lübeß
1ca9746921
Fixed crash in Logger
2024-02-19 21:38:35 +01:00
Simon Lübeß
f5f32eecb2
Vector documentation
2024-02-19 18:17:45 +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ß
886c4a71dd
Editor: Changed color for ImGui MenuBars
2024-02-17 23:32:47 +01:00
Simon Lübeß
86b09c173b
Print pretty names and support LabelAttribute for enum cases
2024-02-17 23:32:21 +01:00
Simon Lübeß
a07ea3276c
ScriptCore: Added LabelAttribute
2024-02-17 23:06:55 +01:00
Simon Lübeß
3c0302b06c
Editor: Show pretty script field names
2024-02-17 22:53:58 +01:00
Simon Lübeß
59aaec572b
Render 2D with depth, reverse depth of camera projection
...
dirty fix in Renderer...
2024-02-16 17:31:32 +01:00
Simon Lübeß
0321bd91c4
3D Renderer: inverted depth buffer
2024-02-16 16:14:14 +01:00
Simon Lübeß
2ab4a7d70b
Set debug names for directx textures and views in render target group
2024-02-16 16:07:10 +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ß
09f7dfce90
FloatX to Numerics.VectorX converision operators
2024-01-30 23:36:35 +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ß
bae8b84d35
ScriptCore: Added some Random functions
2024-01-27 19:52:42 +01:00
Simon Lübeß
394ec2b9b2
ScriptCore: Added TryGetComponent for entities
...
also added NullableAttributes for better static null analysis
2024-01-27 19:47:30 +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ß
d4d6cc8e38
Fixed OnCollisionEnter/Leave callbacks
2024-01-26 12:41:37 +01:00
Simon Lübeß
2399196a3a
Fixed Collision2D using wrong entities for rigidbodies
2024-01-25 23:36:29 +01:00
Simon Lübeß
4538c38fd7
ScriptGlue error handling
2024-01-25 23:35:56 +01:00
Simon Lübeß
525bb050ef
ScriptEngine cleanup
2024-01-25 23:35:40 +01:00
Simon Lübeß
d8e4e8d028
ScriptCore: Added Parent property to Transform
2024-01-25 22:29:11 +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ß
7f40ae038a
Removed Atan2 from script glue
2024-01-20 21:24:43 +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ß
c906fc9667
Properly destroy script instances
...
Now without memory leaks!
2024-01-18 21:29:11 +01:00
Simon Lübeß
9befd9e910
ScriptCore: Added trigonometric functions to Math
...
I don't know why it claims I changed the entire file...
2024-01-16 13:32:46 +01:00
Simon Lübeß
60b45828c2
ScriptGlue: Added Camera component and throwing mono exceptions from beef
2024-01-15 01:22:52 +01:00
Simon Lübeß
ceb4241216
ScriptGlue: Added Log.Exception
...
- Also pushed missing List Editor fix
2024-01-15 01:21:56 +01:00
Simon Lübeß
49db3a28c8
Fixed deserialization of generic types
2024-01-15 01:18:13 +01:00
Simon Lübeß
19d70c94e6
Added UUID.Zero
2024-01-15 01:16:30 +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ß
55b4be05c2
ScriptCore: Properly use nullable
2024-01-12 00:17:40 +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ß
7cdc398494
Added basic decimal editor
2024-01-11 22:55:18 +01:00
Simon Lübeß
99a12a118c
Fixed Script data for entity copying
2024-01-09 13:41:54 +01:00
Simon Lübeß
b93e081e0a
Fixed URL of Submodule Box2D
2024-01-08 14:37:14 +01:00
Simon Lübeß
86139f870c
ScriptCore: Cleanup and refactoring
...
A bit of nullable stuff
2024-01-07 23:56:44 +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ß
9a09a1d878
ScriptCore: Escape sequence for char editor
2024-01-06 13:17:23 +01:00
Simon Lübeß
31e7edcc9c
ScriptCore: Open newly created dictionary entry
2024-01-06 13:16:36 +01:00
Simon Lübeß
5d9973a791
ScriptCore: Add Entry for dictionaries
2024-01-06 13:12:50 +01:00
Simon Lübeß
13baf2f4bc
ScriptCore: Show Custom Editor
...
Implemented basic Dictionary editor
2024-01-05 15:46:54 +01:00
Simon Lübeß
9da675e4bb
Use delegates for custom serializers
2024-01-05 14:34:11 +01:00
Simon Lübeß
a5e767df01
Enabled nullable for ScriptCore
2024-01-05 14:33:50 +01:00
Simon Lübeß
3de861110e
Custom Serializers
...
- Dictionary serializer
2024-01-05 13:37:58 +01:00
Simon Lübeß
16f4dd349b
Serialize and Deserialize Lists and 1D-Arrays
2024-01-01 13:03:34 +01:00
Simon Lübeß
c111fff32b
ScriptCore: Added extension Type.IsAssignableTo
2024-01-01 13:02:50 +01:00
Simon Lübeß
19fb969718
ScriptCore: Added custom debug display for UUID
2024-01-01 13:02:34 +01:00
Simon Lübeß
e5f2da66a9
ScriptCore Fixed CreateInstanceSafe(Type type, params object[] args)
2024-01-01 13:02:15 +01:00
Simon Lübeß
418aa71241
ScriptCore: Fixed adding element to arrays
2023-12-31 17:22:04 +01:00
Simon Lübeß
beb696ee5d
Added basic ArrayEditor
2023-12-31 17:10:17 +01:00
Simon Lübeß
ed3884e30e
ScriptCore: Made creation of class instance safer
2023-12-31 17:05:27 +01:00
Simon Lübeß
bd72a67d29
Fixed List add/remove element buttons not working
2023-12-31 17:01:23 +01:00
Simon Lübeß
9e222daeb2
ScriptCore: Fixed deserialization of null values
2023-12-28 23:05:49 +01:00
Simon Lübeß
34ddfc11f7
Update Submodule DirectX
2023-12-28 22:56:29 +01:00
Simon Lübeß
5051829753
Split up, clean up and internalize EntitySerializer
2023-12-28 22:50:24 +01:00
Simon Lübeß
2fc45a50e0
ScriptCore: Fixed component and entity reference serialization
2023-12-28 22:40:59 +01:00
Simon Lübeß
2e82f24fd7
Initialize ScriptGlue whenever ScriptEngine loads assemblies
2023-12-26 02:01:14 +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ß
4fa6384544
Fixed ScriptCore post build script to enable hot reloading for ScriptCore
2023-12-26 00:42:09 +01:00
Simon Lübeß
2f86f751a4
Serialize Enums (and maybe Entitiy/Component refs)
2023-12-25 21:46:19 +01:00
Simon Lübeß
215e1f6500
Catch Activator exceptions
2023-12-25 20:25:55 +01:00
Simon Lübeß
acefbb58bd
Serialize/Deserialize simple classes
2023-12-25 20:08:48 +01:00
Simon Lübeß
7bd69c162f
Fixed serialization of null-strings
2023-12-25 18:58:06 +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ß
424e995fae
ScriptCore: Made trivial pointer stuff complicated to fix some warnings
2023-12-18 01:44:44 +01:00
Simon Lübeß
4b30fc1a69
ScriptCore: Fixed nullable warning
2023-12-18 01:43:23 +01:00
Simon Lübeß
203e8c4ddb
ScriptCore: Generate GetHashCode for Vectors
...
Fixes warnings
2023-12-18 01:43:02 +01:00
Simon Lübeß
945a0e5603
Fixed Half
2023-12-17 19:23:19 +01:00
Simon Lübeß
3a3778651d
ScriptCore: Moved Physics2D into Physics namespace
2023-12-17 18:47:29 +01:00
Simon Lübeß
6a87d1ac09
ScriptCore: Use engine implementation of half to no longer rely on Half-Package
2023-12-17 18:47:07 +01:00
Simon Lübeß
64f7896c15
Updated ImGui to 1.90.1
2023-12-17 02:22:04 +01:00
Simon Lübeß
89e4e4ef17
Start of entity serialization
2023-12-15 14:53:31 +01:00
Simon Lübeß
b884ee8303
Moved Components to their respective namespaces
2023-12-15 14:53:10 +01:00
Simon Lübeß
66281ebddb
Added icon for editor
2023-12-15 14:52:19 +01:00
Simon Lübeß
a129156641
Documentation
2023-12-13 14:45:33 +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ß
4a2635a8c3
ScriptCore: Moved Component + Doc
2023-12-13 14:00:27 +01:00
Simon Lübeß
105ff57206
Merge branch 'main' of github.com:aharabada/glitchy-engine-beef
2023-12-12 13:38:47 +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
aharabada
4ed3dcf96f
Update README.md
2023-12-12 02:34:06 +01:00
Simon Lübeß
13cb043cf4
Removed TODOs related to native script component (which was removed)
2023-12-10 12:52:49 +01:00
Simon Lübeß
bedbc696c3
ScriptCore: Added UUID.CreateNew
2023-12-10 12:50:11 +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ß
5852e11ccb
Start of edit mode scripts
...
- Initialize script instances in edit mode
- Run OnCreate and OnUpdate for Entities with RunInEditMode-Attribute
2023-12-02 00:28:04 +01:00
Simon Lübeß
23b38a7a31
Removed references to nonexistent files/folders
2023-12-01 23:52:16 +01:00
Simon Lübeß
dc551fb85c
Remove native script component
2023-12-01 23:51:53 +01:00
Simon Lübeß
df6b522741
Improved postbuild script for ScriptCore: Automatically create target directory
2023-12-01 23:45:02 +01:00
Simon Lübeß
8f93e1e0e5
Ignore ScriptCore build output
2023-12-01 23:22:41 +01:00
Simon Lübeß
48cdcee8a8
Fixed null pointer exception in ShowScriptEditor when script component has no instance
2023-12-01 23:14:51 +01:00
Simon Lübeß
270e34b983
Fixed list of struct drag and drop, added context menu to remove list entries
2023-12-01 23:14:19 +01:00
Simon Lübeß
df446188b6
Add support for strings and BoolX in script engine, show strings as textfields in editor
2023-12-01 23:13:30 +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ß
0257b93c7b
Move List elements via Drag and Drop
2023-11-22 19:28:02 +01:00
Simon Lübeß
872a400966
Scripts: More range attributes for fields
...
- Added Minimum- and Maximum attributes
- Documentation for Min, Max and Range
- EntityEditor: Refactoring + Range Attributes
2023-11-22 01:59:57 +01:00
Simon Lübeß
ffe86a18cf
Scripts: First implementation of Range- and Readonly-Attributes + added support for all primitive types
2023-11-22 00:57:18 +01:00
Simon Lübeß
881bb8ee51
Scriptengine: Support char-type
2023-11-22 00:55:07 +01:00
Simon Lübeß
05350d4768
Renamed EditfloatX to EditFloatX
2023-11-22 00:54:43 +01:00
Simon Lübeß
8127884b50
Improved List editor and added Enum editor, fixed changed fields not updating
2023-11-18 18:06:13 +01:00
Simon Lübeß
18867fd208
Scripting: VectorGeneratorgenerate Equals methods
2023-11-18 18:03:14 +01:00
Simon Lübeß
849a8582f6
Scripting: Added Log functions to print objects
2023-11-18 18:02:37 +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ß
060d1ae6fc
Scripting: Implemented Equals and GetHashCode for UUID
2023-11-18 16:45:46 +01:00
Simon Lübeß
24365ec477
Call correct UUID constructor for Entities, fixed crash and weirdness when Scripts have fields that are classes
...
Let's not talk about the fact that this was a one line fix all along...
2023-11-18 02:05:55 +01:00
Simon Lübeß
214889470f
Scene: Set ScriptEngine Context (Scene) when copying entities
...
Fixes invalid access when constructors throw exceptions
2023-11-18 02:00:11 +01:00
Simon Lübeß
2a4eac814b
ScriptGlue: Changed signature of Entity_GetScriptInstance
2023-11-18 01:59:10 +01:00
Simon Lübeß
1a92f4aec1
Started reworking entity initialisation
2023-11-18 01:04:12 +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ß
d2972d1b03
Updated submodule "gltf"
2023-11-15 16:25:12 +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ß
b41eaad788
Disposable Rigidbody2D
2023-10-28 21:48:56 +02: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ß
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ß
ba54d48dfe
Fixed referencing entities and components that are not the script owners entity
2023-09-16 22:14:52 +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ß
ff54eb738e
UUID: Removed empty constructor, added static Create-Function
2023-09-13 13:14:54 +02:00
Simon Lübeß
370eaf9bc7
Skip CMake compiler testing
2023-09-13 01:02:13 +02:00
Simon Lübeß
5af174ecee
ScriptCore: atan2
2023-09-05 23:15:48 +02:00
Simon Lübeß
7bffd01401
Rigidbody2D Get/Set Linear and Angular Velocity
2023-09-05 23:15:33 +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ß
2f58f0e142
Renamed RigidBody2D to Rigidbody2D
...
+ Math.normalize(Quaternion)
+ Position and Rotation properties for Rigidbody2D
+ use In, Out on beef side in ScriptGlue
2023-09-03 19:42:50 +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ß
3affb8a32f
Scripting: Added Set and GetPosition to Rigidbody2D
...
+ Vectors: Hide swizzles in Debugger + Generate ToString
2023-08-21 13:20:12 +02:00
Simon Lübeß
d3c19dd8da
2D Polygon Collider editor with Gizmos
...
+ Added Handles class
2023-08-21 13:18:51 +02:00
Simon Lübeß
377997f903
Fixed mouse wrapping to wrong position when window is moved
2023-08-14 23:56:43 +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ß
f71e851ab5
Push Loggers earlyer to hopefully avoid race condition
...
+ Fix null check in EditorLogger
2023-08-14 22:09:35 +02:00
Simon Lübeß
040e87d57f
Fixed Selection and Deletion in Entity Hierarchy Window
2023-08-14 14:32:58 +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ß
987246a806
Asset Drag'n'Drop preview
2023-08-02 14:59:35 +02:00
Simon Lübeß
f654a4f379
Fixed AssetHierarchy not updating + Drag'n'drop Files in Asset Browser
2023-08-02 13:48:06 +02:00
Simon Lübeß
92334d8150
Hide obsolete Application.Get()
2023-08-02 00:08:30 +02:00
Simon Lübeß
0101f546a5
Use InvokeOnMainThread for asset tree updates
2023-08-02 00:08:17 +02:00
Simon Lübeß
6c4ac923c6
Asset renaming + AssetHierarchy: major refactoring for file tree construction
...
+ AssetFile: Added "AssetConfigPath" Property
+ Less crashy, more cleaner
2023-08-01 23:56:52 +02:00
Simon Lübeß
51441f0e70
Fixed memory leak
2023-08-01 23:20:25 +02:00
Simon Lübeß
d2600c7517
Fixed Race-Condition in SamplerStateManager
2023-08-01 22:50:09 +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ß
b1f89a345f
Deletion of Assets and Directories
2023-08-01 16:45:33 +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ß
e8a5594540
Allow changing Effect of Materials
...
+ TextureDimension Property for Texture
2023-08-01 13:28:04 +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ß
3298053d9d
Fixed Asset Drag'n'Drop
2023-07-31 20:07:12 +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ß
803fd7f8ba
Fixed crash when ScriptComponent has no Instance in Play Mode
2023-07-31 16:36:02 +02:00
Simon Lübeß
11a57f5285
Fixed ComponentEditWindow showing component editor after it was deleted
2023-07-31 16:35:38 +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ß
17e4a6a589
Updated Beef.Linq
2023-07-30 20:32:19 +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ß
20dae92be7
Fixed Assets having scrollbars in content browser
2023-07-30 13:55:50 +02:00
Simon Lübeß
df67f32399
Start of project system
...
+ added Directory.IsEmpty
2023-07-30 13:23:34 +02:00
Simon Lübeß
14a802d057
Added new line to EditorLogger
2023-07-30 13:21:33 +02:00
Simon Lübeß
12d6df3edf
Fixed crash when AssetViewer has size of 0 (RTFM)
2023-07-29 18:54:45 +02:00
Simon Lübeß
2838449186
Ignore MonoDebugger.log
2023-07-28 21:15:23 +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ß
7ae069baf6
Fixed loading UI font
2023-07-28 12:26:15 +02:00
Simon Lübeß
00dc3faa19
Failed to show and edit script sctruct
...
+ SizeInBytes for MonoFields
2023-07-28 11:48:01 +02:00
Simon Lübeß
f39acdadb3
Show enum fields in Edit mode
2023-07-28 00:07:10 +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ß
0bc517842f
Allow changing logger
2023-07-27 00:42:42 +02:00
Simon Lübeß
3e63281508
Fixed mono debugging...
2023-07-26 22:56:43 +02:00
Simon Lübeß
ef486b7082
Basic entity highlighting
2023-07-25 19:37:13 +02:00
Simon Lübeß
81a61d5a90
Drag'n'drop for components
...
+ Added CreateInstance to ScriptClass
+ Added CreateComponentInstance to ScriptInstance
2023-07-25 16:37:41 +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