Преглед на файлове

:tada: Make real clouds

DricomDragon преди 1 година
родител
ревизия
44d0faff7f
променени са 3 файла, в които са добавени 78 реда и са изтрити 16 реда
  1. BIN
      godot/component/sky/air/clouds.png
  2. 34 0
      godot/component/sky/air/clouds.png.import
  3. 44 16
      godot/run/levels/level_1.tscn

BIN
godot/component/sky/air/clouds.png


+ 34 - 0
godot/component/sky/air/clouds.png.import

@@ -0,0 +1,34 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://bmqyhh7rt4lk2"
+path="res://.godot/imported/clouds.png-e52dcea351c62ab68afed520566b8d67.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://component/sky/air/clouds.png"
+dest_files=["res://.godot/imported/clouds.png-e52dcea351c62ab68afed520566b8d67.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/hdr_compression=1
+compress/normal_map=0
+compress/channel_pack=0
+mipmaps/generate=false
+mipmaps/limit=-1
+roughness/mode=0
+roughness/src_normal=""
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/normal_map_invert_y=false
+process/hdr_as_srgb=false
+process/hdr_clamp_exposure=false
+process/size_limit=0
+detect_3d/compress_to=1

+ 44 - 16
godot/run/levels/level_1.tscn

@@ -1,9 +1,9 @@
 [gd_scene load_steps=8 format=3 uid="uid://bmb72w7tf6fu4"]
 
-[ext_resource type="Texture2D" uid="uid://diymsf2qlhkbe" path="res://icon.svg" id="1_3tqy7"]
 [ext_resource type="PackedScene" uid="uid://cqdewtd1yr4cn" path="res://component/props/godot_logo/godot_logo.tscn" id="1_36ls2"]
 [ext_resource type="Texture2D" uid="uid://dnrpwavhjaq1s" path="res://component/sky/ground/ground004.jpg" id="1_e8dj3"]
 [ext_resource type="PackedScene" uid="uid://dlkwtp1gl45r" path="res://component/ships/BiBiShip.tscn" id="2_hw8a6"]
+[ext_resource type="Texture2D" uid="uid://bmqyhh7rt4lk2" path="res://component/sky/air/clouds.png" id="2_kj5ji"]
 [ext_resource type="PackedScene" uid="uid://bi4ilbgyhjrnx" path="res://component/control/keyboard/keyboard_control.tscn" id="3_o4rax"]
 [ext_resource type="Script" path="res://component/control/gamepad/gamepad_control.gd" id="4_vfxyo"]
 [ext_resource type="Script" path="res://component/views/player_camera.gd" id="4_w3h2o"]
@@ -24,29 +24,57 @@ region_enabled = true
 region_rect = Rect2(0, 0, 6400, 6400)
 
 [node name="Clouds" type="ParallaxLayer" parent="ParallaxBackground"]
-modulate = Color(4.13924e-06, 0.747864, 0.749296, 1)
 position = Vector2(3, -3)
 motion_scale = Vector2(0.8, 0.8)
 motion_mirroring = Vector2(10000, 5000)
 
-[node name="Cloud1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
-texture = ExtResource("1_3tqy7")
+[node name="CloudA1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
+position = Vector2(1424, 3022)
+texture = ExtResource("2_kj5ji")
+region_enabled = true
+region_rect = Rect2(2048, 1256, 2048, 2048)
+
+[node name="CloudB1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
+position = Vector2(4990, 2460)
+texture = ExtResource("2_kj5ji")
+region_enabled = true
+region_rect = Rect2(0, 1256, 2048, 2048)
 
-[node name="Cloud2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
-position = Vector2(6226, 921)
-texture = ExtResource("1_3tqy7")
+[node name="CloudC1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
+position = Vector2(4127, 744)
+texture = ExtResource("2_kj5ji")
+region_enabled = true
+region_rect = Rect2(0, 0, 2048, 1200)
 
-[node name="Cloud3" type="Sprite2D" parent="ParallaxBackground/Clouds"]
-position = Vector2(4356, 2913)
-texture = ExtResource("1_3tqy7")
+[node name="CloudD1" type="Sprite2D" parent="ParallaxBackground/Clouds"]
+position = Vector2(3453, 3902)
+texture = ExtResource("2_kj5ji")
+region_enabled = true
+region_rect = Rect2(2048, 0, 2048, 1200)
 
-[node name="Cloud4" type="Sprite2D" parent="ParallaxBackground/Clouds"]
-position = Vector2(1722, 3018)
-texture = ExtResource("1_3tqy7")
+[node name="CloudA2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
+position = Vector2(7555, 1048)
+texture = ExtResource("2_kj5ji")
+region_enabled = true
+region_rect = Rect2(2048, 1256, 2048, 2048)
 
-[node name="Cloud5" type="Sprite2D" parent="ParallaxBackground/Clouds"]
-position = Vector2(8675, 3482)
-texture = ExtResource("1_3tqy7")
+[node name="CloudB2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
+position = Vector2(8479, 3186)
+texture = ExtResource("2_kj5ji")
+region_enabled = true
+region_rect = Rect2(0, 1256, 2048, 2048)
+
+[node name="CloudC2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
+position = Vector2(6394, 3984)
+texture = ExtResource("2_kj5ji")
+region_enabled = true
+region_rect = Rect2(0, 0, 2048, 1200)
+
+[node name="CloudD2" type="Sprite2D" parent="ParallaxBackground/Clouds"]
+position = Vector2(972, 566)
+texture = ExtResource("2_kj5ji")
+region_enabled = true
+region_rect = Rect2(2048, 0, 2048, 1200)
 
 [node name="GodotLogo" parent="." instance=ExtResource("1_36ls2")]