15bf4aefd0
Ported: Rework how current Camera2D is determined
...
7e2a8afb57
- KoBeWi
and
Fix Camera2D crashes
724d6581d6
- KoBeWi
From godot4.
Also fixed issues with active Camera2D switching.
2023-03-04 21:29:49 +01:00
8aa456b4c4
Ported: Add Vector2/3 linking to more properties
...
- Camera2D.zoom
- CanvasLayer.scale
- ParallaxBackground.scroll_base_scale
- ParallaxLayer.motion_scale
- Polygon2D.texture_scale
- SpatialMaterial.uv1_scale
- SpatialMaterial.uv2_scale
- fire-forge and timothyqiu
0d602ce881
2022-12-22 18:52:47 +01:00
a1865fd1af
Now Camera2Ds handle being current properly, and also more intuituvely.
2022-08-24 18:11:10 +02:00
e2d42db711
Also renamed the files.
2022-08-19 21:24:36 +02:00
04feb63860
Moved Engine and projectSettings.
2022-08-17 15:35:28 +02:00
47358bfaab
Backported: add viewport.get_camera_2d()
...
* there is now a more clear distinction between camera_2d and camera_3d functions in the engine code
* simplified camera2d's exported interface - now everything happens directly with the 'current' variable and make_current and clear_current are no longer exposed- there were some situations where calling one instead of set_current would result in incomplete results
* rebased to current godot master
- verdog
879f84d8f8
- Note that i did not rename the original Camera related methods.
2022-08-12 18:29:04 +02:00
Marcel Admiraal
89737a1ad5
Ensure changes to Camera2D's limits don't affect smoothed_camera_pos
2022-07-30 00:29:44 +02:00
Marcel Admiraal
0d55a30eb1
When Camera2D enters tree, ensure first update is not lost
2022-07-30 00:29:28 +02:00
Marcel Admiraal
e2987f8914
Update camera position when updating camera limit
2022-07-29 20:55:32 +02:00
Haoyu Qiu
18d0362cc0
Fix crash when using Camera2D::set_custom_viewport()
2022-07-25 17:57:41 +02:00
4d7df62b8e
Clang format all files.
2022-03-18 19:00:13 +01:00
73baa5545a
Move lots of includes from the h files to cpp files in files under scene/2d.
2022-03-16 20:29:43 +01:00
49f8e8c398
Added godot with all my currently used engine modules.
2022-03-15 13:29:32 +01:00