Added railgun textures
This commit is contained in:
@@ -1,15 +1,31 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bab3bopsw74cb"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://bab3bopsw74cb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://n3h1e3pj02g0" path="res://game/entities/weapons/railgun/railgun_projectile.gd" id="1_hycpq"]
|
||||
[ext_resource type="PackedScene" uid="uid://cdv5n4t47hr8i" path="res://game/entities/weapons/direct_hit__projectile.tscn" id="1_rfd1j"]
|
||||
[ext_resource type="Script" uid="uid://bhqvk5cnjg5mv" path="res://game/health_system/damage/kinetic_damage.gd" id="3_wbdf3"]
|
||||
[ext_resource type="Texture2D" uid="uid://oj86smpsipw4" path="res://images/projectiles.png" id="4_u82jm"]
|
||||
[ext_resource type="Texture2D" uid="uid://dedca1d30igae" path="res://particle_textures/energy.tres" id="5_whmfh"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_u82jm"]
|
||||
script = ExtResource("3_wbdf3")
|
||||
value = 45
|
||||
metadata/_custom_type_script = "uid://bhqvk5cnjg5mv"
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_yedu2"]
|
||||
lifetime_randomness = 0.5
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 2.0
|
||||
angle_min = -179.99998
|
||||
angle_max = 180.00002
|
||||
inherit_velocity_ratio = 0.2
|
||||
spread = 180.0
|
||||
initial_velocity_max = 50.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
turbulence_enabled = true
|
||||
turbulence_noise_strength = 2.0
|
||||
turbulence_noise_speed_random = 1.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_u82jm"]
|
||||
atlas = ExtResource("4_u82jm")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
@@ -30,11 +46,17 @@ piercing = 1
|
||||
damage = SubResource("Resource_u82jm")
|
||||
speed = 900
|
||||
|
||||
[node name="Sprite2D_Left" type="Sprite2D" parent="." index="0"]
|
||||
[node name="GPUParticles2D" type="GPUParticles2D" parent="." index="0"]
|
||||
amount = 32
|
||||
texture = ExtResource("5_whmfh")
|
||||
lifetime = 0.4
|
||||
process_material = SubResource("ParticleProcessMaterial_yedu2")
|
||||
|
||||
[node name="Sprite2D_Left" type="Sprite2D" parent="." index="1"]
|
||||
texture = SubResource("AtlasTexture_u82jm")
|
||||
|
||||
[node name="Sprite2D_Right" type="Sprite2D" parent="." index="1"]
|
||||
[node name="Sprite2D_Right" type="Sprite2D" parent="." index="2"]
|
||||
texture = SubResource("AtlasTexture_whmfh")
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="2"]
|
||||
[node name="CollisionShape2D" parent="." index="3"]
|
||||
shape = SubResource("CapsuleShape2D_u82jm")
|
||||
|
||||
Reference in New Issue
Block a user