Most of prototype! yay

This commit is contained in:
2025-05-01 08:27:30 -05:00
parent 11605c9f17
commit 30bf202118
51 changed files with 1906 additions and 52 deletions

Binary file not shown.

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cnad2jlo5hr1l"
path="res://.godot/imported/emitter.aseprite-f91716bd71a163efdc85e760a80b8f74.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://entities/emitter/emitter.aseprite"
dest_files=["res://.godot/imported/emitter.aseprite-f91716bd71a163efdc85e760a80b8f74.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
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=1

View File

@@ -0,0 +1,10 @@
extends Interactable
func _on_interaction_area_body_entered(body: Player) -> void:
body.interaction_target = self
func _on_interaction_area_body_exited(body: Player) -> void:
body.interaction_target = null
func interact(player: Player):
player.interacting_state = Player_State_Rotation_Interaction.new(self)

View File

@@ -0,0 +1 @@
uid://cxtlguregjv8m

View File

@@ -0,0 +1,50 @@
[gd_scene load_steps=8 format=3 uid="uid://cayxfaqxv0irg"]
[ext_resource type="Script" uid="uid://cxtlguregjv8m" path="res://entities/emitter/emitter.gd" id="1_n2sjg"]
[ext_resource type="Texture2D" uid="uid://cnad2jlo5hr1l" path="res://entities/emitter/emitter.aseprite" id="2_m4shj"]
[ext_resource type="Script" uid="uid://dryjau28sybgd" path="res://common/interactable_body.gd" id="3_n2sjg"]
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_n2sjg"]
size = Vector2(4, 3)
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_6vwrl"]
particle_flag_disable_z = true
spread = 1.0
initial_velocity_min = 275.86
initial_velocity_max = 325.0
gravity = Vector3(0, 0, 0)
[sub_resource type="CircleShape2D" id="CircleShape2D_m4shj"]
radius = 32.0
[sub_resource type="CircleShape2D" id="CircleShape2D_n2sjg"]
radius = 14.0
[node name="Emitter" type="Node2D"]
script = ExtResource("1_n2sjg")
metadata/_custom_type_script = "uid://csbip0oj1uu0j"
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_m4shj")
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
position = Vector2(13, 0)
texture = SubResource("PlaceholderTexture2D_n2sjg")
process_material = SubResource("ParticleProcessMaterial_6vwrl")
[node name="Line2D" type="Line2D" parent="."]
points = PackedVector2Array(0, 0, 300, 0)
width = 3.0
default_color = Color(1, 0.180392, 1, 1)
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_m4shj")
[node name="StaticBody2D" type="StaticBody2D" parent="."]
script = ExtResource("3_n2sjg")
metadata/_custom_type_script = "uid://dryjau28sybgd"
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("CircleShape2D_n2sjg")