brand new start
This commit is contained in:
parent
a41ca5669b
commit
f15f38bfc4
464 changed files with 5 additions and 20007 deletions
|
|
@ -1,23 +0,0 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://pf8sq0bk3epn"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b2hrv0aqbui7u" path="res://scenes/projectiles/pea.tscn" id="1_iyfw1"]
|
||||
[ext_resource type="Texture2D" uid="uid://c68mrfs4wb81x" path="res://assets/sprites/atlases/atlas2.png" id="2_12o6v"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_h74iy"]
|
||||
atlas = ExtResource("2_12o6v")
|
||||
region = Rect2(24, 88, 7, 13)
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_iyfw1"]
|
||||
radius = 6.0
|
||||
height = 24.0
|
||||
|
||||
[node name="CucumberProjectile" instance=ExtResource("1_iyfw1")]
|
||||
_speed = 5.0
|
||||
_damage = 25
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
rotation = -1.5708
|
||||
texture = SubResource("AtlasTexture_h74iy")
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="1"]
|
||||
shape = SubResource("CapsuleShape2D_iyfw1")
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://c1ig40gtdcb60"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://pf8sq0bk3epn" path="res://scenes/projectiles/cucumber_projectile_part.tscn" id="1_3auks"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_3auks"]
|
||||
resource_name = "cucumber"
|
||||
script/source = "extends Node2D
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
#get_child(0).reparent(get_parent())
|
||||
#get_child(0).reparent(get_parent())
|
||||
#queue_free()
|
||||
"
|
||||
|
||||
[node name="CucumberProjectileScene" type="Node2D"]
|
||||
script = SubResource("GDScript_3auks")
|
||||
|
||||
[node name="CucumberProjectile" parent="." instance=ExtResource("1_3auks")]
|
||||
rotation = 1.5708
|
||||
|
||||
[node name="CucumberProjectile2" parent="." instance=ExtResource("1_3auks")]
|
||||
rotation = 4.71239
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://c1ig40gtdcb60"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://pf8sq0bk3epn" path="res://scenes/projectiles/cucumber_projectile.tscn" id="1_3auks"]
|
||||
[ext_resource type="Script" uid="uid://j6nq8w2n8532" path="res://scripts/projectiles/CompoundProjectile.cs" id="1_pmbxx"]
|
||||
|
||||
[node name="CucumberProjectileScene" type="Node2D"]
|
||||
script = ExtResource("1_pmbxx")
|
||||
|
||||
[node name="CucumberProjectile" parent="." instance=ExtResource("1_3auks")]
|
||||
rotation = 1.5708
|
||||
|
||||
[node name="CucumberProjectile2" parent="." instance=ExtResource("1_3auks")]
|
||||
rotation = 4.71239
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://b2hrv0aqbui7u"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxlwvwy3hj56x" path="res://scripts/projectiles/LinearProjectile.cs" id="1_3kc4s"]
|
||||
[ext_resource type="Texture2D" uid="uid://dq0mul65hevtt" path="res://assets/sprites/plants/pea.tres" id="2_26q5x"]
|
||||
[ext_resource type="PackedScene" uid="uid://1d33w4ubtury" path="res://scenes/particles/pea_particles.tscn" id="2_osqrk"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ix1sk"]
|
||||
radius = 6.0
|
||||
|
||||
[node name="Pea" type="Area2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 8
|
||||
script = ExtResource("1_3kc4s")
|
||||
_speed = 3.0
|
||||
_damage = 10
|
||||
particles = ExtResource("2_osqrk")
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_26q5x")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_ix1sk")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 15.0
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="OnAreaEntered"]
|
||||
[connection signal="timeout" from="Timer" to="." method="queue_free"]
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://b45wmmcie6yeg"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b2hrv0aqbui7u" path="res://scenes/projectiles/pea.tscn" id="1_6vktd"]
|
||||
|
||||
[node name="RepeaterProjectile" type="Node2D"]
|
||||
|
||||
[node name="Pea" parent="." instance=ExtResource("1_6vktd")]
|
||||
|
||||
[node name="Pea2" parent="." instance=ExtResource("1_6vktd")]
|
||||
position = Vector2(-21, 0)
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://domeukw4ucmyr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxlwvwy3hj56x" path="res://scripts/projectiles/LinearProjectile.cs" id="1_fkydi"]
|
||||
[ext_resource type="Resource" uid="uid://7uj0oe656jfx" path="res://assets/effects/SnowSlow.tres" id="2_fn62x"]
|
||||
[ext_resource type="Texture2D" uid="uid://dn4l67snkx5mr" path="res://assets/sprites/plants/snowpea_projectile.tres" id="2_xt8td"]
|
||||
[ext_resource type="PackedScene" uid="uid://cijchi3f01q2t" path="res://scenes/particles/snow_pea_particles.tscn" id="3_t6hp0"]
|
||||
[ext_resource type="Texture2D" uid="uid://dejgsyw4f2crg" path="res://assets/sprites/particles/snowpea_flake1.tres" id="5_1u1j3"]
|
||||
[ext_resource type="Material" uid="uid://bflocbxbpv73j" path="res://assets/sprites/particles/snowflake.tres" id="6_pcdfd"]
|
||||
[ext_resource type="Texture2D" uid="uid://deiu2jr26meq" path="res://assets/sprites/particles/snowpea_flake2.tres" id="7_xke8y"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ix1sk"]
|
||||
radius = 6.0
|
||||
|
||||
[node name="Snowpea" type="Area2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 8
|
||||
script = ExtResource("1_fkydi")
|
||||
_speed = 3.0
|
||||
_damage = 10
|
||||
_impactEffect = ExtResource("2_fn62x")
|
||||
particles = ExtResource("3_t6hp0")
|
||||
|
||||
[node name="Sprite" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_xt8td")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_ix1sk")
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 15.0
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[node name="Particles1" type="GPUParticles2D" parent="."]
|
||||
position = Vector2(-5, 0)
|
||||
amount = 1
|
||||
texture = ExtResource("5_1u1j3")
|
||||
process_material = ExtResource("6_pcdfd")
|
||||
|
||||
[node name="Particles2" type="GPUParticles2D" parent="."]
|
||||
position = Vector2(5, 0)
|
||||
emitting = false
|
||||
amount = 1
|
||||
texture = ExtResource("7_xke8y")
|
||||
process_material = ExtResource("6_pcdfd")
|
||||
|
||||
[node name="Timer" type="Timer" parent="Particles2"]
|
||||
wait_time = 0.2
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[connection signal="area_entered" from="." to="." method="OnAreaEntered"]
|
||||
[connection signal="timeout" from="Timer" to="." method="queue_free"]
|
||||
[connection signal="timeout" from="Particles2/Timer" to="Particles2" method="set_emitting" binds= [true]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue