1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

119 Commits

Author SHA1 Message Date
A Thousand Ships
a872b54a3b Fix 2D builds (again) 2025-10-10 20:44:50 +02:00
Thaddeus Crews
3b04c8464c Merge pull request #107273 from DexterFstone/add-game-speed-controls
Add game speed controls to the embedded game window
2025-10-06 09:06:24 -05:00
DexterFstone
7ddce8ab26 Add game speed controls to the embedded game window 2025-10-05 11:13:15 +05:30
Thaddeus Crews
f6aa5ba23c Merge pull request #97210 from AleksLitynski/object-snapshot-debugger
Add an ObjectDB Profiling Tool
2025-10-03 12:01:11 -05:00
Thaddeus Crews
38af23a654 Merge pull request #89409 from aaronfranke/server-folders
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
Aaron Franke
e2dd60b5f8 Group together 2D camera override functions 2025-10-02 13:21:44 -07:00
Mounir Tohami
d9af8e0acc Fix Camera2D editor override and 2D debug templates. 2025-10-02 13:52:29 +03:00
Aaron Franke
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Aaron Franke
9fbf5808a0 Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Thaddeus Crews
d86123870b Merge pull request #52285 from rxlecky/camera-override-cleanup
Clean up and simplify camera override API
2025-09-30 18:35:11 -05:00
Thaddeus Crews
21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
A Thousand Ships
bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Lukas Tenbrink
8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02:00
kobewi
d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Lukas Tenbrink
abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
Yufeng Ying
5d66b0b41a Replace unneeded Vector. 2025-09-16 15:04:13 +08:00
yotam-frid
b01b84e3a1 Fix single-object inspect command regression 2025-09-01 20:28:39 +02:00
rxlecky
02e1919514 Cleanup and simplify camera override API
- Harmonise the camera override 2D and 3D APIs
- Switch to using Camera2D/3D nodes to provide override functionality. This makes for simpler code, gets rid of much of copy-pasted camera code and makes code that relies on current viewport camera such as VisibleOnScreenNotifiers and object picking work out of the box.
- Make camera override code only accesible within DEBUG_ENABLED builds
2025-08-31 15:34:46 +02:00
Thaddeus Crews
098214b64c Merge pull request #108297 from YeldhamDev/inverse_sel_fix
Fix remote deselection not working when selection limit is reached
2025-08-11 09:55:24 -05:00
WhalesState
5eee6d22a0 Fix remaining physics and navigation disabling issues. 2025-07-12 17:12:42 +03:00
Aleksander Litynski
78f1543e35 Add an ObjectDB Profiling Tool
A new tab is added to the debugger that can help profile a game's memory usage.

Specifically, this lets you save a snapshot of all the objects in a running
game's ObjectDB to disk. It then lets you view the snapshot and diff two
snapshots against each other. This is meant to work similarly to Chrome's
heap snapshot tool or Unity's memory profiler.
2025-07-08 16:39:24 +02:00
Michael Alexsander
efc2ecc04c Fix remote deselection not working when selection limit is reached 2025-07-04 20:39:21 -03:00
Pāvels Nadtočajevs
43b41092a0 Add support for taking embedded window screenshots. 2025-06-09 11:40:36 +03:00
Fabio Alessandrelli
f36499f9c5 Editor: Explicit parse_message handlers
Using custom macros for defining and registering message handlers hurts
readability and navigability.

This commit simplifies the ParseMessageFunc signature, expands the
macros, and streamlines initialization.
2025-06-03 13:24:58 +02:00
Thaddeus Crews
75d118fba1 Merge pull request #105034 from YeldhamDev/fix_remote_error
Fix error spam when inspecting remote nodes outside the tree
2025-05-08 07:19:35 -05:00
Thaddeus Crews
b7d4426fff Merge pull request #104269 from lawnjelly/fti_scene_tree4
Physics Interpolation - Move 3D FTI to `SceneTree`
2025-04-28 10:01:34 -05:00
lawnjelly
ae04a3a5dd Physics Interpolation - Move 3D FTI to SceneTree
Moves 3D interpolation from server to the client code (`SceneTree`).
Complete rework of 3D physics interpolation, but using the same user API.
2025-04-26 14:13:30 +01:00
Gustavo Jaruga Cruz
bf18021462 Add Embed Game Window hotkeys support and pause/next frame shortcuts 2025-04-25 02:36:00 -03:00
Thaddeus Crews
1f787b63a5 Merge pull request #104895 from stuartcarnie/scene_debugger_handlers
Editor: Refactor `SceneDebugger::parse_message` into handler functions
2025-04-24 09:09:32 -05:00
Thaddeus Crews
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Michael Alexsander
e1e5242fa9 Fix error spam when inspecting remote nodes outside the tree 2025-04-04 19:22:32 -03:00
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Stuart Carnie
2e99565bcb Editor: Refactor parse_message into handler functions
Move the individual message handlers to separate functions, to make it
easier to follow and add additional message handlers. The function
is also more efficient as it only performs a single hash lookup for
the handler and then dispatches to the member function.

Similar to #104425
2025-04-02 08:39:40 +11:00
Thaddeus Crews
8f6bb119f4 Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
Rémi Verschelde
e8bc75f056 Merge pull request #103373 from YeldhamDev/build_remove_physics
Allow to compile templates without physics servers
2025-03-28 17:30:03 +01:00
Michael Alexsander
5ad414d046 Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
kobewi
bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
kobewi
75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
Michael Alexsander
d01d40490f Fix regressions regarding multiple remote object selection 2025-03-24 18:07:12 -03:00
Malcolm Anderson
6858607e74 Add "Mute Audio" button to Game view in editor
Update servers/audio_server.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Apply suggestions from code review

Co-authored-by: Adam Scott <ascott.ca@gmail.com>

Fix a few lines for new member names

Add command-line argument `--debug-mute-audio`, and pass it to game if started with mute enabled

Apply suggestions from code review

Co-authored-by: arkology <43543909+arkology@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Fix icon for svgo
2025-03-19 08:20:17 -07:00
Anish Mishra
7a5267dfad Fix build errors when building with disable_3d=yes 2025-03-15 01:51:46 +05:30
Jayden Sipe
6c586d20df Fix game view visual streaking when selecting nodes 2025-03-13 17:58:22 -04:00
Michael Alexsander
186d8259d5 Fix wrong canvas camera override panning in the runtime debugger 2025-03-12 12:36:19 -03:00
Michael Alexsander
5c66129e62 Allow to select multiple remote nodes at runtime 2025-03-11 12:35:41 -03:00
Michael Alexsander
b7f823c4c7 Make Game view follow more editor settings 2025-03-06 23:08:34 -03:00
Giganzo
cedcc2444e Add changeable freelook speed in Game Window 2025-02-10 17:18:52 +01:00
Michael Alexsander
4c32d27e8e Fix runtime crash with 3D selection with no camera 2025-02-02 13:58:38 -03:00
Eric Cosky
226f7aee20 Added check to prevent exception during remote debugging 2025-01-20 15:11:55 -08:00
aryan-11825114
2e4eb59e56 Fix camera override when there is no camera in scene tree 2025-01-18 14:38:05 +05:30
Hilderin
055b418e4d Fix Selection Game View 2025-01-10 09:53:17 -05:00