Fixed platform shader

This commit is contained in:
2026-06-12 01:20:45 +03:00
parent 0c7e0f7c74
commit e72e17f7ca
12 changed files with 92 additions and 84 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func _ready() -> void:
func rebuild_platform() -> void:
var shape := collision.shape as RectangleShape2D
shape.size = Vector2(platform_width, TILE_SIZE)
shape.size.x = platform_width
sub_viewport.size = Vector2(platform_width, TILE_SIZE)
platform_rect.size.x = platform_width