Reworked weapons and projectiles
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bmn3cxk1ajydl"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c3l866fdqt7pf" path="res://game/entities/weapons/launcher/abstract_launcher_weapon.tscn" id="1_d6r67"]
|
||||
[ext_resource type="Script" uid="uid://c3asrkguw01q2" path="res://game/entities/weapons/launcher/player_launcher_weapon.gd" id="2_10o3e"]
|
||||
[ext_resource type="PackedScene" uid="uid://ds0xsi84rp1kb" path="res://game/entities/weapons/launcher/player_launcher_projectile.tscn" id="3_10o3e"]
|
||||
[ext_resource type="Texture2D" uid="uid://6hh66k8s4a1e" path="res://images/weapons.png" id="4_v6ybh"]
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_v6ybh"]
|
||||
lifetime_randomness = 0.5
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 1.0
|
||||
angle_min = -179.99998
|
||||
angle_max = 180.00002
|
||||
inherit_velocity_ratio = 0.5
|
||||
direction = Vector3(-1, 0, 0)
|
||||
spread = 15.0
|
||||
initial_velocity_min = 30.0
|
||||
initial_velocity_max = 50.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_8lwsi"]
|
||||
lifetime_randomness = 0.5
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 1.0
|
||||
angle_min = -179.99998
|
||||
angle_max = 180.00002
|
||||
inherit_velocity_ratio = 0.5
|
||||
direction = Vector3(-1, 0, 0)
|
||||
spread = 15.0
|
||||
initial_velocity_min = 30.0
|
||||
initial_velocity_max = 50.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_u8eh0"]
|
||||
atlas = ExtResource("4_v6ybh")
|
||||
region = Rect2(224, 128, 32, 16)
|
||||
|
||||
[node name="PlayerLauncherWeapon" instance=ExtResource("1_d6r67")]
|
||||
script = ExtResource("2_10o3e")
|
||||
projectile_scene = ExtResource("3_10o3e")
|
||||
|
||||
[node name="LeftParticles" parent="." index="0"]
|
||||
position = Vector2(-4, -3)
|
||||
process_material = SubResource("ParticleProcessMaterial_v6ybh")
|
||||
|
||||
[node name="RightParticles" parent="." index="1"]
|
||||
position = Vector2(-4, 3)
|
||||
process_material = SubResource("ParticleProcessMaterial_8lwsi")
|
||||
|
||||
[node name="Muzzle" parent="." index="3"]
|
||||
position = Vector2(11, -3)
|
||||
|
||||
[node name="SecondMuzzle" parent="." index="4"]
|
||||
position = Vector2(11, 3)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." index="5"]
|
||||
position = Vector2(4, 0)
|
||||
texture = SubResource("AtlasTexture_u8eh0")
|
||||
Reference in New Issue
Block a user