Browse Source

:wrench: Ignore ground zoom

Works very well for ground, but as a side effect, clouds appear bigger
when moving.
DricomDragon 1 năm trước cách đây
mục cha
commit
1aec2a3c41
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      godot/run/levels/level_1.tscn

+ 1 - 0
godot/run/levels/level_1.tscn

@@ -11,6 +11,7 @@
 [node name="Level1" type="Node2D"]
 
 [node name="ParallaxBackground" type="ParallaxBackground" parent="."]
+scroll_ignore_camera_zoom = true
 
 [node name="Ground" type="ParallaxLayer" parent="ParallaxBackground"]
 motion_scale = Vector2(0.2, 0.2)