diff options
author | tpart <tpart120@proton.me> | 2024-06-29 18:37:05 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-06-29 18:37:07 +0200 |
commit | 7f5e4311621284f950184cafdc92533a824cad9e (patch) | |
tree | 3a398a5d0fdf1d29e825747ab29cf3dad65fa625 | |
parent | 97b157a8ab9db23876ddc703a292159941ec2c7e (diff) | |
download | hurrycurry-7f5e4311621284f950184cafdc92533a824cad9e.tar hurrycurry-7f5e4311621284f950184cafdc92533a824cad9e.tar.bz2 hurrycurry-7f5e4311621284f950184cafdc92533a824cad9e.tar.zst |
Add star particles
-rw-r--r-- | client/player/star.webp | bin | 0 -> 5818 bytes | |||
-rw-r--r-- | client/player/star.webp.import | 35 | ||||
-rw-r--r-- | client/player/stars.tscn | 35 |
3 files changed, 70 insertions, 0 deletions
diff --git a/client/player/star.webp b/client/player/star.webp Binary files differnew file mode 100644 index 00000000..c1d2e8ff --- /dev/null +++ b/client/player/star.webp diff --git a/client/player/star.webp.import b/client/player/star.webp.import new file mode 100644 index 00000000..7eb2cfbd --- /dev/null +++ b/client/player/star.webp.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b10goh4dsa3b0" +path.s3tc="res://.godot/imported/star.webp-4786407830caaa0c9666a30a1d4a05f7.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://player/star.webp" +dest_files=["res://.godot/imported/star.webp-4786407830caaa0c9666a30a1d4a05f7.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +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=0 diff --git a/client/player/stars.tscn b/client/player/stars.tscn new file mode 100644 index 00000000..e3fcc587 --- /dev/null +++ b/client/player/stars.tscn @@ -0,0 +1,35 @@ +[gd_scene load_steps=6 format=3 uid="uid://yaed1vnhd0aa"] + +[ext_resource type="Texture2D" uid="uid://b10goh4dsa3b0" path="res://player/star.webp" id="1_v8q3r"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_d8uy0"] +transparency = 1 +shading_mode = 0 +vertex_color_use_as_albedo = true +albedo_texture = ExtResource("1_v8q3r") +billboard_mode = 2 +billboard_keep_scale = true + +[sub_resource type="QuadMesh" id="QuadMesh_d0lru"] +material = SubResource("StandardMaterial3D_d8uy0") + +[sub_resource type="Curve" id="Curve_0rju1"] +_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.51927, 1), 0.0, 0.0, 0, 0] +point_count = 2 + +[sub_resource type="Gradient" id="Gradient_lmymu"] +offsets = PackedFloat32Array(0, 0.711828, 1) +colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0) + +[node name="Stars" type="CPUParticles3D"] +amount = 5 +lifetime = 2.0 +explosiveness = 1.0 +mesh = SubResource("QuadMesh_d0lru") +direction = Vector3(0, 1, 0) +spread = 30.0 +gravity = Vector3(0, 0, 0) +initial_velocity_min = 1.0 +initial_velocity_max = 1.5 +scale_amount_curve = SubResource("Curve_0rju1") +color_ramp = SubResource("Gradient_lmymu") |