97 lines
2.6 KiB
Text
97 lines
2.6 KiB
Text
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://sprites/foxleft_0.png" type="Texture" id=1]
|
|
[ext_resource path="res://scripts/pred.gd" type="Script" id=2]
|
|
[ext_resource path="res://other/fart.tres" type="Gradient" id=3]
|
|
[ext_resource path="res://sprites/sprite21_0.png" type="Texture" id=4]
|
|
[ext_resource path="res://other/fart_scale_curve.tres" type="Curve" id=5]
|
|
[ext_resource path="res://other/vomit.tres" type="Gradient" id=6]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
radius = 18.125
|
|
height = 39.75
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 24.6804, 10.1988 )
|
|
|
|
[node name="pred" type="KinematicBody2D"]
|
|
collision_mask = 2
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
offset = Vector2( 0, -10 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
rotation = 1.5708
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Camera" type="Camera2D" parent="."]
|
|
current = true
|
|
limit_left = 0
|
|
limit_bottom = 10000
|
|
editor_draw_limits = true
|
|
|
|
[node name="flipflop" type="Node2D" parent="."]
|
|
__meta__ = {
|
|
"_editor_description_": "this node flips when looking the other direction"
|
|
}
|
|
|
|
[node name="cum" type="CPUParticles2D" parent="flipflop"]
|
|
position = Vector2( 13.4502, 7.90495 )
|
|
emitting = false
|
|
amount = 64
|
|
local_coords = false
|
|
direction = Vector2( -1, 0 )
|
|
spread = 43.36
|
|
initial_velocity = 36.36
|
|
initial_velocity_random = 0.33
|
|
scale_amount = 2.0
|
|
|
|
[node name="fart" type="CPUParticles2D" parent="flipflop"]
|
|
position = Vector2( 30.7941, -4.94648 )
|
|
emitting = false
|
|
amount = 256
|
|
lifetime = 4.0
|
|
lifetime_randomness = 0.1
|
|
local_coords = false
|
|
draw_order = 1
|
|
texture = ExtResource( 4 )
|
|
spread = 30.27
|
|
gravity = Vector2( 0, -9 )
|
|
initial_velocity = 36.36
|
|
initial_velocity_random = 0.33
|
|
scale_amount_curve = ExtResource( 5 )
|
|
color_ramp = ExtResource( 3 )
|
|
hue_variation = 0.09
|
|
hue_variation_random = 0.58
|
|
|
|
[node name="vomit" type="CPUParticles2D" parent="flipflop"]
|
|
position = Vector2( -32.4998, 1.73239 )
|
|
z_index = -1
|
|
emitting = false
|
|
amount = 64
|
|
lifetime_randomness = 0.1
|
|
local_coords = false
|
|
draw_order = 1
|
|
texture = ExtResource( 4 )
|
|
direction = Vector2( -1, 1 )
|
|
spread = 43.59
|
|
gravity = Vector2( 0, 30 )
|
|
initial_velocity = 23.47
|
|
initial_velocity_random = 0.46
|
|
scale_amount = 0.25
|
|
color_ramp = ExtResource( 6 )
|
|
hue_variation = 0.09
|
|
hue_variation_random = 0.58
|
|
|
|
[node name="Collector" type="Area2D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 4
|
|
|
|
[node name="Collision" type="CollisionShape2D" parent="Collector"]
|
|
position = Vector2( 0, 7.90495 )
|
|
shape = SubResource( 2 )
|
|
disabled = true
|
|
|
|
[connection signal="body_entered" from="Collector" to="." method="_on_Collector_body_entered"]
|