mirror of
				https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
				synced 2025-10-26 09:20:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [gd_scene load_steps=5 format=3 uid="uid://b7560x2o4qeuo"]
 | |
| 
 | |
| [ext_resource type="Script" uid="uid://bw7ada2n2vmww" path="res://Scripts/Parts/WaterCurrentArea.gd" id="1_5b2n0"]
 | |
| [ext_resource type="Texture2D" uid="uid://b7h6b0yqyi2kh" path="res://Assets/Sprites/Particles/Bubble.png" id="1_sh54q"]
 | |
| 
 | |
| [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ssveo"]
 | |
| particle_flag_disable_z = true
 | |
| emission_shape = 3
 | |
| emission_box_extents = Vector3(32, 8, 1)
 | |
| direction = Vector3(0, 1, 0)
 | |
| spread = 0.0
 | |
| initial_velocity_min = 50.0
 | |
| initial_velocity_max = 50.0
 | |
| gravity = Vector3(0, 98, 0)
 | |
| 
 | |
| [sub_resource type="RectangleShape2D" id="RectangleShape2D_5den3"]
 | |
| size = Vector2(80, 306)
 | |
| 
 | |
| [node name="WaterCurrentArea" type="Node2D"]
 | |
| script = ExtResource("1_5b2n0")
 | |
| 
 | |
| [node name="Particles" type="GPUParticles2D" parent="."]
 | |
| visibility_layer = 2
 | |
| amount = 32
 | |
| texture = ExtResource("1_sh54q")
 | |
| lifetime = 5.0
 | |
| preprocess = 5.0
 | |
| randomness = 1.0
 | |
| process_material = SubResource("ParticleProcessMaterial_ssveo")
 | |
| 
 | |
| [node name="Hitbox" type="Area2D" parent="."]
 | |
| 
 | |
| [node name="Shape" type="CollisionShape2D" parent="Hitbox"]
 | |
| position = Vector2(0, 143)
 | |
| shape = SubResource("RectangleShape2D_5den3")
 | 
